CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/xnewcommand

README
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.    

Download the contents of this package in one zip archive (260.6k).

xnewcommand – Define \global and \protected commands with \newcommand

The package provides the means of defining \global and (e-) \protected commands, within the framework of 's standard \newcommand.

Packagexnewcommand
Version1.2
LicensesThe Project Public License
MaintainerJosselin Noirel
Contained inTeX Live as xnewcommand
MiKTeX as xnewcommand
TopicsDefining Macro
...
Guest Book Sitemap Contact Contact Author