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
- compare: Compare two strings
- gobble: More gobble macros for PlainTeX and LaTeX
- gates: Support for writing modular and customisable code