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.
|Licenses||The LaTeX Project Public License 1.3|
|Copyright||2008, 2010 Heiko Oberdiek|
|Contained in||TeX Live as oberdiek|
MiKTeX as oberdiek
Maybe you are interested in the following packages as well.
- ltxnew: A simple means of creating commands
- xoptarg: Expandable macros that take an optional argument
- getoptk: Define macros with sophisticated options
- eolgrab: Catch arguments delimited by end of line