{table-of-contents} is about the creation or modification of the Table of Contents or similar listings like List of Figures and List of Tables as well as custom lists. Popular packages are {tocloft}, {titletoc}, {tocbasic}, {minitoc} and {etoc}.

Contents

  1. What's the ToC ................................................ 1
  2. How to ToC ..................................................... 2
    • Customizing the ToC ......................................... 3

What's the ToC

The Table of Contents, usually shortened as just ToC, is a list of all document divisions (usually just the numbered ones but this can be ovrerriden) used in the current document.

How to ToC

In LaTeX, the ToC it's generated by the \tableofcontents command. Its default format is defined by the class being used although such format can be customized. The tag is about creation and/or modification of not just the ToC but also similar lists like List of Figures (LoF) and List of Tables (LoT) which are lists of the all numbered captioned float types in the document, so all floats can have its own list.

Customizin the ToC

Popular packages for formattin the ToC are: , , and . Also the class provides out-of-the-box macros to customize such Lists, therefore without need of the former listed packages. The KOMA-Script classes () uses package to customize such Lists. is similar to but uses a different strategy and does not support other ToC like content such as LoF and LoT.

history | excerpt history