{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
- What's the ToC ................................................ 1
- 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 table-of-contents 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: tocloft, titletoc, tocbasic and minitoc. Also the memoir class provides out-of-the-box macros to customize such Lists, therefore without need of the former listed packages. The KOMA-Script classes (koma-script) uses package tocbasic to customize such Lists. etoc is similar to minitoc but uses a different strategy and does not support other ToC like content such as LoF and LoT.