Texinfo provides several ways to define new commands (in all cases, it’s not recommended to try redefining existing commands):
Incidentally, these macros have nothing to do with the
command, which is for documenting macros in the subject area of the
manual (see Def Cmd Template).
Most generally of all (not just for defining new commands), it is
possible to invoke any external macro processor and have Texinfo
#line directives for error reporting.
If you want to do simple text substitution,
@value is the simplest approach (see @set @clear @value).
|• Defining Macros:||Defining and undefining new commands.|
|• Invoking Macros:||Using a macro, once you’ve defined it.|
|• Macro Details:||Limitations of Texinfo macros.|
|• @alias:||Command aliases.|
|• @definfoenclose:||Customized highlighting.|
|• External Macro Processors:|