39

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?
43

This post is community wiki, everybody is invited to edit.

Packages

  • tocloft: provides many features for customizing the ToC and the and the ability to create new "Lists of ..."
  • titletoc: a companion for titlesec
  • tocbasic: offers basic features for managing table of contents and similar lists, for package authors and class writers, is part of the KOMA-Script bundle
  • tocstyle: provides many ways of customizing the ToC and such lists, still in development, is part of the KOMA-Script bundle
  • minitoc: for adding mini-tables-of-contents (minitocs) at the beginning of every chapter, part or section
  • tocbibind: can be used to add the ToC and/or bibliography and/or the index etc. to the table of contents
  • tocvsec2: gives control over section numbering and/or the entries in the table of contents on a section by section basis
  • etoc: (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.

Style gallery

Click on an image to go to the source code and the explanation.

Pretty Table of Contents

Adding a per-chapter image along with group of entries in ToC

List sections of chapter at beginning of that chapter

Changing color and bullets in Beamer's table of contents

Table of Contents with additional description of entries

All sections of a chapter in a single paragraph

TOC table with bullets between entries and page number

Table of contents with TikZ

Table of contents with TikZ

Table of contents with etoc

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.