diff --git a/hdr.tex b/hdr.tex index 66b27b3..1cb8022 100644 --- a/hdr.tex +++ b/hdr.tex @@ -84,6 +84,10 @@ \graphicspath{{pics/}} \usetikzlibrary{calc} +\newif\ifentiredoc +\entiredoctrue % Use this if you want to compile the entire document. +%\entiredocfalse % Use this if you only want the CV. + \begin{document} \pagestyle{fancy} @@ -95,6 +99,8 @@ \fancyhead[LO,RE]{\textcolor{Prune}{\textsl{\leftmark}}} \renewcommand{\headrule}{{\color{Prune}\hrule}} +\ifentiredoc + \newgeometry{left=6cm,bottom=2cm,top=1cm,right=1cm} \setlength{\headheight}{14.89998pt} \input{title-page} @@ -103,17 +109,25 @@ \setlength{\headheight}{14.89998pt} \input{abstracts} +\fi + \newgeometry{top=2cm, bottom=2cm, left=2cm, right=2cm} \setlength{\headheight}{14.89998pt} +\ifentiredoc \tableofcontents \changelocaltocdepth{0} +\fi + \input{cv} +\ifentiredoc + \changelocaltocdepth{2} +\fi \end{document} %%% Local Variables: