Shorthand and Macro Expansion¶
Shorthands and macros can be expanded as follows.
- {NAME}
the expansion of the shorthand “NAME” as defined in the
definesection (see section sec:top-level-configuration).
- {MACRO ARG0 ARG1}
expands the macro
MACROand passesARG0andARG1as argments.
Note
The brackets for pattern substituion and the brackets required for framing
a command are not the same–both need to be specified. E.g. to reverse
what has been defined as PATTERN it needs to to be written:
\R{{PATTERN}}
which reads from inside to outside: expand the pattern definition, then reverse expanded pattern.