Don't show the sections of the CV on the ToC.
This commit is contained in:
parent
6337c0dc51
commit
7f5a7c2fd7
1 changed files with 10 additions and 0 deletions
10
hdr.tex
10
hdr.tex
|
@ -76,6 +76,11 @@
|
||||||
\titleformat{\subsection}{\large\normalfont\bfseries\color{Prune}}{\thesubsection \hspace{1ex}}{1ex}{}
|
\titleformat{\subsection}{\large\normalfont\bfseries\color{Prune}}{\thesubsection \hspace{1ex}}{1ex}{}
|
||||||
\titleformat{\subsubsection}{\normalsize\normalfont\bfseries\color{Prune}}{}{1ex}{}
|
\titleformat{\subsubsection}{\normalsize\normalfont\bfseries\color{Prune}}{}{1ex}{}
|
||||||
|
|
||||||
|
\newcommand{\changelocaltocdepth}[1]{%
|
||||||
|
\addtocontents{toc}{\protect\setcounter{tocdepth}{#1}}%
|
||||||
|
\setcounter{tocdepth}{#1}%
|
||||||
|
}
|
||||||
|
|
||||||
\graphicspath{{pics/}}
|
\graphicspath{{pics/}}
|
||||||
\usetikzlibrary{calc}
|
\usetikzlibrary{calc}
|
||||||
|
|
||||||
|
@ -100,7 +105,12 @@
|
||||||
|
|
||||||
\tableofcontents
|
\tableofcontents
|
||||||
|
|
||||||
|
\changelocaltocdepth{0}
|
||||||
|
|
||||||
\input{cv}
|
\input{cv}
|
||||||
|
|
||||||
|
\changelocaltocdepth{2}
|
||||||
|
|
||||||
\end{document}
|
\end{document}
|
||||||
|
|
||||||
%%% Local Variables:
|
%%% Local Variables:
|
||||||
|
|
Loading…
Reference in a new issue