Skip to content

Table of Contents

Table of contents can be printed by:

\begin{document}
    \tableofcontents
\end{document}

Depth

depth_value included sections
1 sections
2 subsections
3 subsubsections
4 paragraphs
5 subparagraphs
% preamble area
\setcounter{tocdepth}{value} % setting depth value

Pasted image 20240403001311.png

depth value set to \(3\).

\usepackage{setspace}

\begin{document}
    \doublespacing
    \tableofcontents
    \singlespacing
\end{document}

Pasted image 20240403001254.png

Spacing within sections.