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.
- gobble: More gobble macros for PlainTeX and LaTeX
- dowith: Apply a command to a list of items
- multiexpand: Variations on the primitive command \expandafter
- plainpkg: A minimal method for making generic packages