diff --git a/candidature.sty b/candidature.sty index a54eae6..b8b8e54 100644 --- a/candidature.sty +++ b/candidature.sty @@ -25,9 +25,9 @@ \addcontentsline{toc}{section}{#1} } -% Set up an unnumbered section, with a centred title, appearing in the -% table of contents. -\newcommand{\xcenteredsection}[1]{ - \section*{\centerline{#1}} +% Set up an unnumbered section with a plain title appearing in the +% table of contents, and a different title appearing in the text. +\newcommand{\xstyledsection}[2]{ + \section*{#2} \addcontentsline{toc}{section}{#1} } diff --git a/cv.tex b/cv.tex index 606f342..74e9b4b 100644 --- a/cv.tex +++ b/cv.tex @@ -1,4 +1,4 @@ -\xcenteredsection{Curriculum Vitæ} +\xstyledsection{Curriculum Vitæ}{\centerline{Curriculum Vitæ}} \subsection*{Données personnelles} diff --git a/motivation.tex b/motivation.tex index 5ffbb40..17a1ee6 100644 --- a/motivation.tex +++ b/motivation.tex @@ -1,6 +1,6 @@ \newgeometry{text={154mm,253mm},top=25mm,centering} -\xcenteredsection{Lettre de motivation} +\xstyledsection{Lettre de motivation}{\centerline{Lettre de motivation}} \thispagestyle{empty} \vspace{13mm}