[OS X TeX] Exercises in ToC without number

Gary L. Gray gray at engr.psu.edu
Wed Jul 12 20:53:23 CEST 2006


On Jul 12, 2006, at 2:44 PM, Alain Schremmer wrote:

> I would like "Exercises" at the end of each chapter not to be  
> section-numbered but "Exercises" to appear in the table of contents.
>
> If I use
>
>    \section*{Exercises}
>
> Exercises are indeed not section-numbered but then neither do they  
> appear in the table of contents.
>
> Is there a way that I can have my cake and eat it too?

\addcontentsline{toc}{section}{Exercises}

-- Gary
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list