[texhax] \newcommand*

Lars Madsen daleif at imf.au.dk
Fri Mar 18 17:10:09 CET 2005


Michael Barr :

> While trying to figure out how the toc works, I came on some macros
> defined with \newcommand*.  I find nothing about it in the Latex Companion
> (1994 version at least).  How does it differ from \newcommand?
>

\newcommand \sim \long\def

whereas

\newcommand* \sim \def

the *-ed version saves memory


-- 

/daleif

``You cannot help men permanently by doing for them 
what they could and should do for themselves. ''
  -- Abraham Lincoln



More information about the texhax mailing list