<reponame>whoopnip/py-ex-latex
from pyexlatex.models.section.base import TextAreaMixin
from pyexlatex.models.item import SimpleItem


class Italics(TextAreaMixin, SimpleItem):
    """
    Italicizes text.
    """
    name = 'textit'

    def __init__(self, contents, **kwargs):
        super().__init__(self.name, contents, **kwargs)

from pyexlatex.models.section.base import TextAreaMixin
from pyexlatex.models.item import SimpleItem


class Italics(TextAreaMixin, SimpleItem):
    """
    Italicizes text.
    """
    name = 'textit'

    def __init__(self, contents, **kwargs):
        super().__init__(self.name, contents, **kwargs)
Italicizes text.