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

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


[docs]class Underline(TextAreaMixin, SimpleItem): """ Adds an underline to text. """ name = 'underline'
[docs] def __init__(self, contents, **kwargs): super().__init__(self.name, contents, **kwargs)