Shorthand and Macro Expansion

Shorthands and macros can be expanded as follows.

{NAME}

the expansion of the shorthand “NAME” as defined in the define section (see section sec:top-level-configuration).

{MACRO ARG0 ARG1}

expands the macro MACRO and passes ARG0 and ARG1 as 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.