0

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.

3

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}

enter image description here

3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.