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.
- laps: Zero-width boxes for annotations, etc
- multido: A loop facility for Generic TeX
- multiexpand: Variations on the primitive command \expandafter
- commado: Expandable iteration on comma-separated and filename lists