Source code for pyexlatex.models.commands.renewcommand

from pyexlatex.models.item import MultiOptionSimpleItem


[docs]class ReNewCommand(MultiOptionSimpleItem): name = 'renewcommand'
[docs] def __init__(self, command_name: str, command_definition: str): super().__init__(self.name, rf'\{command_name}', command_definition)