namedef – TeX definitions with named parameters
This package provides a prefix \named to be used in TeX definitions so that parameters can be identified by their name rather than by number, giving parameters a semantic rather than syntactic meaning, making it easy to understand long definitions.
A usual definition reads:
but with namedef you can replace #1 by, say, #[person]:
and \named will figure out the numbering of the parameters for you.
|Licenses||The LaTeX Project Public License 1.3c|
|Copyright||2019–2020 Phelype Oleinik|
|Contained in||TeX Live as namedef|
MiKTeX as namedef
Download the contents of this package in one zip archive (630.2k).
Maybe you are interested in the following packages as well.
- advice: Extend commands and environments
- cdcmd: Expandable conditional commands for LaTeX
- pdftexcmds: LuaTeX support for pdfTeX utility functions
- ltxcmds: Some LaTeX kernel commands for general use