pyexlatex.models.control package

Subpackages

Submodules

pyexlatex.models.control.and_ module

class pyexlatex.models.control.and_.And[source]

Bases: pyexlatex.models.item.NoOptionsNoContentsItem

Used internally for writing multiple institutions.

__init__()[source]
name = 'and'

pyexlatex.models.control.extrafloats module

class pyexlatex.models.control.extrafloats.ExtraFloats(num_extra=1000)[source]

Bases: pyexlatex.models.item.SimpleItem

__init__(num_extra=1000)[source]
name = 'extrafloats'

pyexlatex.models.control.filecontents module

class pyexlatex.models.control.filecontents.FileContents(contents, filename)[source]

Bases: pyexlatex.models.item.Item

__init__(contents, filename)[source]
name = 'filecontents'

pyexlatex.models.control.group module

class pyexlatex.models.control.group.Group(contents)[source]

Bases: pyexlatex.models.template.Template

Groups together latex items so that “global” commands will only affect the items in a group

__init__(contents)[source]

pyexlatex.models.control.maxdeadcycles module

class pyexlatex.models.control.maxdeadcycles.MaxDeadCycles(num_cycles=200)[source]

Bases: pyexlatex.models.item.EqualsItem

__init__(num_cycles=200)[source]
name = 'maxdeadcycles'

pyexlatex.models.control.mode module

class pyexlatex.models.control.mode.Mode(mode_type='presentation', contents=None)[source]

Bases: pyexlatex.models.item.ItemBase, mixins.repr.ReprMixin

__init__(mode_type='presentation', contents=None)[source]
name = 'mode'
repr_cols: List[str] = ['mode_type', 'contents']

pyexlatex.models.control.newcounter module

class pyexlatex.models.control.newcounter.NewCounter(counter_name, **kwargs)[source]

Bases: pyexlatex.models.item.SimpleItem

__init__(counter_name, **kwargs)[source]
name = 'newcounter'

pyexlatex.models.control.newpage module

class pyexlatex.models.control.newpage.PageBreak[source]

Bases: pyexlatex.models.item.NoOptionsNoContentsItem

Adds a break point where a new page should be started.

__init__()[source]
name = 'newpage'

pyexlatex.models.control.setcounter module

class pyexlatex.models.control.setcounter.SetCounter(set_for, value)[source]

Bases: pyexlatex.models.item.MultiOptionSimpleItem

__init__(set_for, value)[source]
name = 'setcounter'

pyexlatex.models.control.setlength module

class pyexlatex.models.control.setlength.SetLength(set_for, value)[source]

Bases: pyexlatex.models.item.MultiOptionSimpleItem

__init__(set_for, value)[source]
name = 'setlength'

pyexlatex.models.control.value module

class pyexlatex.models.control.value.Value(of, **kwargs)[source]

Bases: pyexlatex.models.item.SimpleItem

__init__(of, **kwargs)[source]
name = 'value'