# How can I number sections below subsection in LaTeX?

I want to make sections in LaTeX.

For a document with chapter divisions, one has

• 1.1 = section
• 1.1.1 = subsection
• 1.1.1.1 = subsubsection

What do I have to use to make lower-level sections be numbered as 1.1.1.1.1?

• Are you writing an scientific work? If yes perhaps you rethink your document structure? If my students need so much numbered headings I ask them to rethink the structure. It is better not to have these deep numbers. Aug 30 '13 at 11:24

You have to insert \setcounter{secnumdepth}{5} to your document preamble and then the command \paragraph{title} is the equivalent of what you mean by \subsubsubsection{title}.

But in my opinion is not a good idea to have numbered paragraphs nor numbered subsubsections. It makes the text much less readable.

\documentclass{report}
\setcounter{secnumdepth}{5} % seting level of numbering (default for "report" is 3). With ''-1'' you have non number also for chapters
\begin{document}
\chapter{chapter title (depth 0)}
\section{section title (depth 1)}
\subsection{subsection title (depth 2)}
\subsubsection{subsubsection title (depth 3)}
\paragraph{paragraph title (depth 4)}
\subparagraph{Subparagraph title (depth 5)} % last existing level
\end{document}


• I agree it does not suit the guidelines of a well presented book, but it is absolutely mandatory for the technical documentation were I work :) so thank you ! :)
– yota
May 18 '20 at 20:14
• Many thanks for the answer. It works in the main document, but the numbering does not appear in the table of content? is it possible to make it appear in the table of content (and therefore in the "side pane" of evince) as well?
– ecjb
Nov 8 '20 at 16:02