[texhax] \newcommand*

Sorin Marti mas at semafor.ch
Fri Mar 18 16:57:36 CET 2005


Michael Barr wrote:

>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?
>
>_______________________________________________
>  
>
This causes that this item is not numbered in the toc.
You also can do that, with \section*

\section{Foo}

will print something like: 1. Foo

\section*{Foo}

will print: Foo


Sincerely
   Sorin



More information about the texhax mailing list