46170cd670
Using \xsection{\centerline{ }} also centers the corresponding line in the table of contents.
33 lines
861 B
TeX
33 lines
861 B
TeX
\NeedsTeXFormat{LaTeX2e}
|
|
\ProvidesPackage{candidature}[2015/05/14 Le style des dossiers de scolobb]
|
|
\typeout{Le style des dossiers do scolobb}
|
|
|
|
\usepackage{fontspec}
|
|
\usepackage[french]{babel}
|
|
\usepackage[backend=biber]{biblatex}
|
|
\usepackage[
|
|
text={154mm,253mm},
|
|
top=20mm,
|
|
left=25mm,
|
|
twoside
|
|
]{geometry}
|
|
\usepackage{setspace}
|
|
|
|
\setsansfont{Linux Biolinum}
|
|
\setmainfont{Linux Libertine}
|
|
|
|
% A thick horizontal rule filling all page width.
|
|
\def\thickhrule{\leavevmode\leaders\hrule height 1.5pt\hfill\kern\z@}
|
|
|
|
% Set up an unnumbered section appearing in the table of contents.
|
|
\newcommand{\xsection}[1]{
|
|
\section*{#1}
|
|
\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}}
|
|
\addcontentsline{toc}{section}{#1}
|
|
}
|