xoptarg – Expandable macros that take an optional argument
Commands that take an optional argument are not ordinarily expandable; this package allows such commands to be expandable provided that they have at least one mandatory argument.
|License||The LaTeX Project Public License|
|Contained in||TeX Live as xoptarg|
|MiKTeX as xoptarg|
alternative ways of defining macros
Download the contents of this package in one zip archive (362.2k).
Maybe you are interested in the following packages as well.
- xnewcommand: Define \global and \protected commands with \newcommand
- letltxmacro: Let assignment for LaTeX macros
- dvisvgm-def: Colour and Graphics support for dvisvgm
- pdftex-def: Colour and Graphics support for pdfTeX