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.
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.
- footnotehyper: hyperref aware footnote.sty
- pdftexcmds: LuaTeX support for pdfTeX utility functions
- withargs: Ephemeral macro use
- authoraftertitle: Make author, etc., available after \maketitle