Don't show the sections of the CV on the ToC.

This commit is contained in:
Sergiu Ivanov 2024-01-30 18:20:41 +01:00
parent 6337c0dc51
commit 7f5a7c2fd7

10
hdr.tex
View file

@ -76,6 +76,11 @@
\titleformat{\subsection}{\large\normalfont\bfseries\color{Prune}}{\thesubsection \hspace{1ex}}{1ex}{}
\titleformat{\subsubsection}{\normalsize\normalfont\bfseries\color{Prune}}{}{1ex}{}
\newcommand{\changelocaltocdepth}[1]{%
\addtocontents{toc}{\protect\setcounter{tocdepth}{#1}}%
\setcounter{tocdepth}{#1}%
}
\graphicspath{{pics/}}
\usetikzlibrary{calc}
@ -100,7 +105,12 @@
\tableofcontents
\changelocaltocdepth{0}
\input{cv}
\changelocaltocdepth{2}
\end{document}
%%% Local Variables: