plasTeX 3.0 — A Python Framework for Processing LaTeX Documents

6.3.7 Command Objects

class Command()

The Command class is a subclass of Macro. This is the class that should be subclassed when creating Python based macros that correspond to LaTeX commands.

For more information on the Command class’ API, see the Macro class.