Source code for pyexlatex.models.control.setcounter

from pyexlatex.models.item import MultiOptionSimpleItem


[docs]class SetCounter(MultiOptionSimpleItem): name = 'setcounter'
[docs] def __init__(self, set_for: str, value: int): self.set_for = set_for self.value = value super().__init__(self.name, set_for, str(value))