Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/xnewcommand

For most purposes, the features of \newcommand suffice. Nonetheless,
\newcommand lacks some interesting features like the ability to make
definition global or to use the \protected prefix supplied by
e-TEX. This--surprisingly small--package makes possible to pass an
optional argument \newcommand so that is becomes possible to use the
\global and \protected prefixes.

This material is subject to the LaTeX Project Public License.
See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html
for the details of that license.    

Down­load the con­tents of this pack­age in one zip archive (260.6k).

xnew­com­mand – De­fine \global and \pro­tected com­mands with \new­com­mand

The pack­age pro­vides the means of defin­ing \global and (e-) \pro­tected com­mands, within the frame­work of 's stan­dard \new­com­mand.

Li­cense The Project Public Li­cense
Main­tainerJos­selin Noirel
Con­tained inTeX Live as xnew­com­mand
MiKTeX as xnew­com­mand
Topics al­ter­na­tive ways of defin­ing macros
Guest Book Sitemap Contact Contact Author