Announcements for namedef
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.
|Copyright||2019–2020 Phelype Oleinik|