patchcmd – Change the definition of an existing command
The package provides a command \patchcommand that can be used to add material at the beginning and/or the end of the replacement text of an existing macro. It works for macros with any number of normal arguments, including those that were defined with \DeclareRobustCommand.
|License||The LaTeX Project Public License|
|Maintainer||Michael J. Downes†
|Contained in||TeX Live as patchcmd|
|MiKTeX as patchcmd|
support for development of (La)TeX macros
Download the contents of this package in one zip archive (134.8k).
Maybe you are interested in the following packages as well.
- ifmtarg: If-then-else command for processing potentially empty arguments
- totcount: Find the last value of a counter
- suffix: Define commands with suffixes
- arraysort: Sort arrays (or portions of them)