0

I would like to add unnumbered subsubsection in my TOC but I still want them to be indented so they are not on the same x-Position as the subsections. This is what I am using in my header:

\setcounter{tocdepth}{3}
\setcounter{secnumdepth}{2}

Is there a simple option I can change to get the desired Result

0

1 Answer 1

1

Indent can be managed with tocloft package:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{tocloft}
\setlength{\cftsubsubsecindent}{2cm}

\setcounter{tocdepth}{3}
\setcounter{secnumdepth}{2}

\begin{document}

\tableofcontents
\section{A section}
\subsection{A subsection}
\subsubsection{A subsubsection}

\end{document}
1
  • Thanks for the answer it worked. I am using the \documentclass[a4paper,12pt,twoside]{scrbook}
    – Janosch
    Oct 24, 2022 at 14:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .