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.
- pdftexcmds: LuaTeX support for pdfTeX utility functions
- witharrows: “Aligned” math environments with arrows for comments
- langcode: Simple language-dependent settings based on language codes
- hologo: A collection of logos with bookmark support