Directory tex-archive/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.
Files
| Name | Size | Date | Notes |
|---|---|---|---|
README |
539 | 2007-04-23 05:32:00 | |
xnewcommand.pdf |
275079 | 2007-04-23 05:34:00 | |
xnewcommand.sty |
470 | 2007-04-23 05:32:00 | |
xnewcommand.tex |
3848 | 2007-04-23 05:32:00 |
Download the complete
contents of this directory in one zip archive
(260.6k).
xnewcommand – Define \global and \protected commands with \newcommand
The package provides the means of defining \global and (e-TeX) \protected commands, within the framework of LaTeX's standard \newcommand.
| Documentation |
Package documentation Readme |
| Version | 1.2 |
| License | The LaTeX Project Public License |
| Maintainer | Josselin Noirel |
| Contained in | TeXLive as xnewcommand |
| MiKTeX as xnewcommand | |
| Topics |
alternative ways of defining macros |
