Print table of contents.
Type & position: | command, main part |
Syntax: | !tableofcontents !depth <value> |
Description: | Generates a full table of contents with specific commands of
the destination format. I recommend to use this command right after
using !begin_document maketitle. You can influence the depth of the table with
the switch behind the command. The example shows how to print a table
of contents that contains only the chapters. |
Example: | !tableofcontents !depth 1 |
See also: | Tables of contents, !use_short_tocs, !toc, !depth |