pyexlatex.models.lists package

Submodules

pyexlatex.models.lists.base module

class pyexlatex.models.lists.base.ListBase(items, overlay=None, vertical_fill=False, **kwargs)[source]

Bases: pyexlatex.models.section.base.TextAreaMixin, pyexlatex.models.lists.base.VerticalFillMixin, pyexlatex.models.item.Item, mixins.repr.ReprMixin

__init__(items, overlay=None, vertical_fill=False, **kwargs)[source]
name = 'list'
repr_cols: List[str] = ['contents']
class pyexlatex.models.lists.base.VerticalFillMixin[source]

Bases: object

vertical_fill = False
vertically_space_content(items)[source]
pyexlatex.models.lists.base.can_be_included_directly_in_list(item)[source]
Return type

bool

pyexlatex.models.lists.item module

class pyexlatex.models.lists.item.ListItem(contents, overlay=None)[source]

Bases: pyexlatex.models.section.base.TextAreaMixin, pyexlatex.models.item.NoBracesItem, mixins.repr.ReprMixin

__init__(contents, overlay=None)[source]
name = 'item'
repr_cols: List[str] = ['contents']

pyexlatex.models.lists.ordered module

class pyexlatex.models.lists.ordered.OrderedList(items, initial_number=1, **kwargs)[source]

Bases: pyexlatex.models.lists.base.ListBase

Numbered, ordered items.

__init__(items, initial_number=1, **kwargs)[source]
is_ListBase = True
name = 'enumerate'

pyexlatex.models.lists.unordered module

class pyexlatex.models.lists.unordered.UnorderedList(items, overlay=None, vertical_fill=False, **kwargs)[source]

Bases: pyexlatex.models.lists.base.ListBase

Bullet point items.

is_ListBase = True
name = 'itemize'