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
|1994 David Kastrup
|TeX Live as patch
Maybe you are interested in the following packages as well.
- balancedquotes: Code balanced quotes according to document language
- commado: Expandable iteration on comma-separated and filename lists
- gobble: More gobble macros for PlainTeX and LaTeX
- gates: Support for writing modular and customisable code