The Koma-script class scrreprt does not provide numbering of \subsubsection. I would like to have, if possible, \subsubsection available like \subsection. I have found a solution but the question is asking more advanced formatting which is not what I want.
1 Answer
In the KOMA classes, the counter secnumdepth controls the level down to which the headings are numbered. The default for scrreprt is \subsectionnumdepth, i.e. \subsection is the lowest level that still gets a number, and all levels below don't. The solution is thus to set the value of secnumdepth to \subsubsectionnumdepth.
Minimal example:
\documentclass{scrreprt} \setcounter{secnumdepth}{\subsubsectionnumdepth} \begin{document} \chapter{My chapter} \section{A section} \subsection{The subsection} \subsubsection{New subsubsection} \end{document} - Thank you very much.benibilme– benibilme2019-12-21 12:57:22 +00:00Commented Dec 21, 2019 at 12:57
- Is is possible to add \subsubsubsection? I have tried the same idea but did not work.benibilme– benibilme2020-01-11 18:46:43 +00:00Commented Jan 11, 2020 at 18:46
- @user1155710 see here: tex.stackexchange.com/a/356574/103046Tiuri– Tiuri2020-01-13 08:21:45 +00:00Commented Jan 13, 2020 at 8:21
