Specify depth of table of contents.
| Type & position: | switch, main part |
| Syntax: | !depth <value> |
| Description: | This switch, used in conjunction with a command to output a table of contents, specifies the depth of the generated table. The example below show how to generate a table of contents containing only the chapter names. |
| Example: | !tableofcontents !depth 1 |
| Exists since: | Release 6 Patchlevel 2 |
| See also: | !tableofcontents, !toc, !use_auto_subtocs, !use_compressed_tocs, !subtoc, !subsubtoc, !subsubsubtoc |