[OS X TeX] Modification of the TOC

Christian Burk maillists at gmx.de
Mon Jan 22 14:06:57 EST 2007

Am 22.01.2007 um 20:00 schrieb Adam M. Goldstein:

> On Jan 22, 2007, at 1:36 PM, Christian Burk wrote:
>> Hello,
>> at the moment my TOC is modified with the following code:
>> -------
>> \usepackage [dotinlabels]{titletoc}
>> 	\titlecontents {chapter} [6pc] %
>> 		{\addvspace{1pc}\scshape}
>> 		{\contentslabel[\textsc{\chaptername}\ \thecontentslabel]{6pc}}
>> 		{\hspace{-4pc}}{\hfill\contentspage}
>> 		[\addvspace{2pt}]
>> -------
>> With this modofication I get the word "Chapter" in front of all  
>> chapters in the TOC. After including an appendix unfortunately  
>> this also gets the word "Chapter" in the TOC, but it should be  
>> have "Appendix" in front of it. Now it locks like the following...
>> Chapter 1 BlaBla...............1 (This is a real chapter)
>> Chapter A DuDa.................2 (This is an appendix and should  
>> have "Appendix" instead of "Chapter")
>> How could I modify the TOC to get "Appendix" in front of appendics?
> there is an \appendix command which, I believe, changes "chapter"  
> to "appendix" and creates corresponding TOC entries.

Before I use \include {app_a_dampmodel} I already use \appendix. This  
causes that _inside_ the document the headline is "Appendix A ..."  
but only in the TOC the word "Appendix" is replaced by "Chapter".


------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/

More information about the MacOSX-TeX mailing list