The patchcmd 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 author is Michael J. Downes.
License: pd Version: 1.03 Catalogued: 2007-01-12