default – Provide default parameters for TeX macros
The command \setdefault defines default values for the arguments of an existing macro; the macro, thus adjusted, is called with square brackets around arguments which are overriding the default. (This is the same scheme as is used in LaTeX.)
|Contained in||TeX Live as genmisc|
Maybe you are interested in the following packages as well.
- inlinedef: Inline expansions within definitions
- xoptarg: Expandable macros that take an optional argument
- laps: Zero-width boxes for annotations, etc
- xfp: Interface to the LaTeX3 floating point unit