Source code for pyexlatex.models.format.text.italics

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


[docs]class Italics(TextAreaMixin, SimpleItem): """ Italicizes text. """ name = 'textit'
[docs] def __init__(self, contents, **kwargs): super().__init__(self.name, contents, **kwargs)