# namedef – TeX definitions with named parameters

This package provides a prefix \named to be used in 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.

      \def\SayHello#1{Hello, #1!}


but with namedef you can replace #1 by, say, #[person]:

      \named\def\SayHello#[person]{Hello, #[person]!}


and \named will figure out the numbering of the parameters for you.

 Sources /macros/generic/namedef Documentation README.mdPackage documentation Bug tracker https://github.com/PhelypeOleinik/namedef/issues Repository https://github.com/PhelypeOleinik/namedef Version 1.0 2020-06-20 Licenses The LaTeX Project Public License 1.3c Copyright 2019–2020 Phelype Oleinik Maintainer Phelype Oleinik Contained in TeX Live as namedefMiKTeX as namedef Topics Experimental LaTeX3Generic MacrosDefining Macro

## Announcements

Here you can see a respective diagram in newer browsers.

more

## Suggestions

Maybe you are interested in the following packages as well.

more