\xcenteredsection -> \xstyledsection.

This commit is contained in:
Sergiu Ivanov 2015-05-21 18:15:55 +02:00
parent b3a8017cc6
commit 9b6f4db8f1
3 changed files with 6 additions and 6 deletions

View file

@ -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}
}

2
cv.tex
View file

@ -1,4 +1,4 @@
\xcenteredsection{Curriculum Vitæ}
\xstyledsection{Curriculum Vitæ}{\centerline{Curriculum Vitæ}}
\subsection*{Données personnelles}

View file

@ -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}