chapters heading in table of contents

1 view
Skip to first unread message

Da Zing

unread,
Aug 28, 2007, 12:13:04 PM8/28/07
to LaTeX Users Group
Hello,

In the table of contents of my document, the entry for each chapter
appears as

" _chapter number_ _chapter title_"

but I need it to say

"Chapter _chapter number_ _chapter title_"

In other words, I need to insert the word Chapter (or Appendix) before
each chapter number (or appendix letter).

I know one way of doing this which involves removing certain lines
from the LaTeX file, editing the .toc file, and running it again. But
this can be tedious, and prone to error, especially if the chapters
change.

Is there a way to do this directly using LaTeX commands?

Randy.

minnolina

unread,
Sep 8, 2007, 5:38:47 AM9/8/07
to LaTeX Users Group


See the package titletoc. From readme:


Titletoc package
~~~~~~~~~~~~~~~~
For toc entries formatting, providing the possibility of changing
the format in the middle of a document, grouping the entries
in a single paragraph, pretty free-forms entries, partial tocs, etc.

The titletoc.sty file is not part of the titlesec package; it's
an independent package, but it's described in titlesec.tex.

Reply all
Reply to author
Forward
0 new messages