Fix subsubsection numbering

This commit is contained in:
2024-07-05 17:53:30 +02:00
parent 8c9643f9bc
commit ae2f99f394

View File

@@ -26,9 +26,11 @@
\titleformat{\chapter}[display]{\normalfont\Large\sffamily\bfseries}{\chaptertitlename\ \thechapter}{20pt}{\Huge} \titleformat{\chapter}[display]{\normalfont\Large\sffamily\bfseries}{\chaptertitlename\ \thechapter}{20pt}{\Huge}
\titleformat{\section}{\normalfont\large\sffamily\bfseries}{\thesection}{1em}{} \titleformat{\section}{\normalfont\large\sffamily\bfseries}{\thesection}{1em}{}
\titleformat{\subsection}{\normalfont\normalsize\sffamily\bfseries}{\thesubsection}{1em}{} \titleformat{\subsection}{\normalfont\normalsize\sffamily\bfseries}{\thesubsection}{1em}{}
\titleformat{\subsubsection}[runin]{\normalfont\normalsize\sffamily\mdseries}{\thesubsubsection}{1em}{} \titleformat{\subsubsection}{\normalfont\normalsize\sffamily\mdseries}{\thesubsubsection}{1em}{}
\titleformat{\paragraph}[runin]{\normalfont\normalsize\sffamily\bfseries}{\theparagraph}{1em}{} \titleformat{\paragraph}[runin]{\normalfont\normalsize\sffamily\bfseries}{\theparagraph}{1em}{}
\setcounter{secnumdepth}{3} % Number subsubsections
% Headers % Headers
\usepackage{emptypage} % Remove headers and footers on empty pages \usepackage{emptypage} % Remove headers and footers on empty pages
\usepackage{etoolbox} % Patching commands \usepackage{etoolbox} % Patching commands