letltxmacro – Let assignment for LaTeX macros
TeX’s \let assignment does not work for LaTeX macros with optional arguments or for macros that are defined as robust macros by \DeclareRobustCommand. This package defines \LetLtxMacro that also takes care of the involved internal macros.
The package is part of the oberdiek bundle.
|License||The LaTeX Project Public License 1.3|
|Contained in||TeX Live as oberdiek|
|MiKTeX as oberdiek|
alternative ways of defining macros
Maybe you are interested in the following packages as well.
- inlinedef: Inline expansions within definitions
- optparams: Macros with multiple optional parameters
- xnewcommand: Define \global and \protected commands with \newcommand
- flags: Setting and clearing of flags in bit fields