What various packages, example code, or examples of existing documents with available source code are available to assist one in:
- Changing the style and formating of a table of contents?
- Building a new design for the table of contents from scratch?
What various packages, example code, or examples of existing documents with available source code are available to assist one in:
This post is community wiki, everybody is invited to edit.
tocloft: provides many features for customizing the ToC and the and the ability to create new "Lists of ..."titletoc: a companion for titlesectocbasic: offers basic features for managing table of contents and similar lists, for package authors and class writers, is part of the KOMA-Script bundletocstyle: provides many ways of customizing the ToC and such lists, still in development, is part of the KOMA-Script bundleminitoc: for adding mini-tables-of-contents (minitocs) at the beginning of every chapter, part or sectiontocbibind: can be used to add the ToC and/or bibliography
and/or the index etc. to the table of contentstocvsec2: gives control over section numbering and/or the entries in the table of contents on a section by section basisetoc: (released a year after OP) claims a different approach than other toc packages. Instead of customizing an initial layout, you define "line-styles" for each toc level toc and can inject code for transitions between levels. The memoir class provides features which are very similar to the capabilities of tocloft and tocbibind.
Click on an image to go to the source code and the explanation.
titletocpackage might get you started :) – cmhughes Dec 17 '11 at 05:02tocloftpackage is a good start to learn. Thentitletocpackage. – Leo Liu Dec 17 '11 at 05:18