Table of contents
How to add a table of contents to your deliverable.
Examples
Follow along with the out-of-the-box example code below.
A table of contents makes it easy for readers to navigate your deliverable. It automatically lists the chapters, sections, and subsections, allowing the reader to find key information quickly. In t0, adding a table of contents is fast, professional, and helps structure your work.
Table of Contents
Word
In Microsoft Word, you would manually create a table of contents by applying heading styles and inserting a table.
This requires constant updating whenever the document structure changes.
t0 Prompt
Here are example prompts to generate a table of contents:
Add a table of contents after the title page.
Include sections and chapters automatically.
Format the table of contents to match professional reporting standards.
LaTeX
The LaTeX code to generate a table of contents looks as follows:
Command | Mandatory Argument | Optional Argument | Description |
---|---|---|---|
\tableofcontents | (none) | (none) | Automatically generates a table of contents based on the deliverable structure. |
The \tableofcontents
command is fully supported in the report
, article
, and beamer
document classes. In beamer
, it is often customized to display the table of contents on a slide rather than a separate page.