xnewcommand – Define \global and \protected commands with \newcommand
The package provides the means of defining \global and (e-TeX) \protected commands, within the framework of LaTeX's standard \newcommand.
The LaTeX Project Public License
|Contained in||TeX Live as xnewcommand|
|MiKTeX as xnewcommand|
alternative ways of defining macros
Download the contents of this package in one zip archive (260.6k).
Maybe you are interested in the following packages as well.
- optparams: Macros with multiple optional parameters
- xoptarg: Expandable macros that take an optional argument
- xparse: A generic document command parser
- dvisvgm-def: Colour and Graphics support for dvisvgm