patch – Patch loaded packages, etc
The package defines macros that allow patching of existing commands, specifying those parts of the existing macro to be replaced, along with the replacements. Thus it provides more sophisticated manipulation than a package like patchcmd, which only permits modification by adding commands at the beginning or end of an existing definition.
The package is distributed in a relative of LaTeX doc format: it will run unmodified, though it benefits from docstrip treatment.
The LaTeX Project Public License
|Contained in||TeX Live as patch|
support for development of (La)TeX macros
Maybe you are interested in the following packages as well.
- balancedquotes: Code balanced quotes according to document language
- laps: Zero-width boxes for annotations, etc
- fenixpar: One-shot changes to token registers such as \everypar
- multiexpand: Variations on the primitive command \expandafter