Posts tagged ‘section levels’

Get more section levels in Latex

Sometimes you need more section levels in your Latex document. With little effort you can get up to 5 section levels (the equivalent of a \subsubsubsubsection command), just include the following command in the preamble:

1
\setcounter{secnumdepth}{5}

To get the fourth and fifth levels use \paragraph and \subparagraph respectively. The sectioning hierarchy remains as follows:

1
2
3
4
5
\section{First level}
\subsection{Second level}
\subsubsection{Third level}
\paragraph{Fourth level}
\subparagraph{Fifth level}