From fdb04f52a42a920278a4bb4ab208928c590b486c Mon Sep 17 00:00:00 2001 From: Sergiu Ivanov Date: Thu, 1 Feb 2024 17:05:05 +0100 Subject: [PATCH] Modify the CV heading, the headers, and section numbers for standalone CV. --- cv.tex | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/cv.tex b/cv.tex index 98c1684..674a128 100644 --- a/cv.tex +++ b/cv.tex @@ -1,6 +1,12 @@ \newcommand{\cvsecrule}{\vspace{-3mm}{\color{Prune}\hrule}\medskip} -\chapter[CV]{Sergiu Ivanov \enspace — \enspace CV} +\ifentiredoc + \chapter[CV]{Sergiu Ivanov \enspace — \enspace CV} +\else + \chapter*{Sergiu Ivanov \enspace — \enspace CV} + \fancyhead[OL,ER]{\textcolor{Prune}{\textsl{Sergiu \textsc{Ivanov}}}} + \counterwithout{section}{chapter} +\fi \vspace{-7mm} @@ -919,6 +925,11 @@ I carry out this work in collaboration with Damien \textsc{Regnault}. \end{tabularx} } +\ifentiredoc +\else + \counterwithin{section}{chapter} +\fi + %%% Local Variables: %%% TeX-engine: luatex %%% TeX-master: "hdr"