In my document I have several chapters with sections and subsections. In the generated contents table, it would look like
1. Chapter
1.1 Section
1.1.1 Subsection
1.1.2 Subsection
2. Chapter
2.1 Section
2.1.1 Subsection
How can I specify, that the contents table only shows up to the sections level and excludes everything deeper (subsection, etc.).
So that it looks like:
1. Chapter
1.1 Section
2. Chapter
2.1 Section
\setcounter{tocdepth}{1}
in the preamble -- this will fix the toc level down to sections only (1 means section)