[OS X TeX] Exercises in ToC without number
André Bellaïche
abellaic at math.jussieu.fr
Thu Jul 13 08:44:51 EDT 2006
Le 13 juil. 06 à 13:36, Matthias Damm a écrit :
>
> Am 12.07.2006 um 20:44 schrieb Alain Schremmer:
>
>> 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?
>
> If you are using Koma-Script, you can also use the \addsec command,
> which does exactly what you need.
>
> Best regards,
> Matthias
\section*{Exercises}
\addcontentsline{toc}{section}{Exercises}
should work.
André Bellaïche------------------------- 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 MacOSX-TeX
mailing list