Source code for pyexlatex.models.format.paragraph.justifying
from pyexlatex.models.item import NoOptionsNoContentsItem
[docs]class Justifying(NoOptionsNoContentsItem):
"""
Returns paragraph to the default of justifying text on both left and right. Useful if paragraph is currently
ragged or sloppy, which occurs when using NoLineBreak.
"""
name = 'justifying'
[docs] def __init__(self, **kwargs):
self.add_package('ragged2e')
super().__init__(self.name, **kwargs)