99 lines
2.4 KiB
TeX
99 lines
2.4 KiB
TeX
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
% Copy in your template with your latex document!
|
|
|
|
\documentclass[french, a4paper, 12pt]{article}
|
|
|
|
% You should have an imports section
|
|
\usepackage[xetex]{geometry}
|
|
\usepackage[pdfusetitle]{hyperref}
|
|
\usepackage{fontspec}
|
|
\usepackage{polyglossia}
|
|
\usepackage{csquotes}
|
|
\usepackage{amsmath, amssymb, amsbsy}
|
|
\usepackage[sfdefault, semibold]{inter}
|
|
\usepackage{titlesec}
|
|
\usepackage{titling}
|
|
\usepackage{xcolor}
|
|
\usepackage{enumitem}
|
|
\usepackage{unicode-math}
|
|
\usepackage{fancyhdr}
|
|
\usepackage{lastpage}
|
|
\usepackage[useregional]{datetime2}
|
|
\usepackage{parskip}
|
|
\usepackage{authblk}
|
|
\usepackage[bottom,multiple,norule,marginal]{footmisc}
|
|
|
|
[- IMPORTS -]
|
|
|
|
\setdefaultlanguage{french}
|
|
\MakeOuterQuote{"}
|
|
|
|
\geometry{
|
|
a4paper,
|
|
margin=3cm,
|
|
}
|
|
|
|
\pretitle{\Huge\interextrabold}
|
|
\posttitle{\par}
|
|
\preauthor{}
|
|
\renewcommand\Authfont{\normalsize\interlight}
|
|
\renewcommand\Affilfont{\large\bfseries}
|
|
\postauthor{\par}
|
|
\predate{\large}
|
|
\postdate{\par}
|
|
|
|
\titleformat*{\subparagraph}{\bfseries}
|
|
\titleformat*{\paragraph}{\bfseries}
|
|
\titleformat*{\subsubsection}{\large\bfseries}
|
|
\titleformat*{\subsection}{\Large\bfseries}
|
|
\titleformat*{\section}{\LARGE\bfseries}
|
|
\titleformat{\chapter}[display]{\interlight\LARGE\bfseries}
|
|
{\chaptertitlename~\thechapter}{12pt}{\interlight\Huge}
|
|
|
|
|
|
\definecolor{customblue}{RGB}{0,102,204}
|
|
|
|
\hypersetup{
|
|
allcolors=customblue,
|
|
colorlinks=true,
|
|
}
|
|
|
|
\setlist[itemize]{nosep}
|
|
|
|
|
|
\title{[-doc.title-]}
|
|
[#- for author in doc.authors -#]
|
|
\author{[-author.name-]}
|
|
[# endfor #]
|
|
|
|
[# for affiliation in doc.affiliations #]\affil{[-affiliation.value.name-]}[# endfor #]
|
|
[#- if doc.date -#]
|
|
\DTMsavedate{articleDate}{[-doc.date.year-]-[-doc.date.month-]-[-doc.date.day-]}
|
|
\date{\DTMusedate{articleDate}}
|
|
[# endif #]
|
|
|
|
\hypersetup{
|
|
pdftitle = {[-doc.title-]},
|
|
pdfauthor = {[-- doc.authors|join(",", "name") --]},
|
|
}
|
|
|
|
\definecolor{dim}{HTML}{666666}
|
|
\pagestyle{fancy}
|
|
\fancyhf{}
|
|
\fancyhead[C]{\color{dim}\interlight [-doc.title-]}
|
|
\fancyfoot[C]{\color{dim}\interlight Page \textbf{\thepage} sur \textbf{\pageref*{LastPage}}}
|
|
\renewcommand{\footnotelayout}{\color{dim}}
|
|
\renewcommand{\headrulewidth}{0pt}
|
|
\renewcommand{\footrulewidth}{0pt}
|
|
|
|
\fancypagestyle{plain}{%
|
|
\fancyhf{}
|
|
\fancyfoot[C]{\color{dim}\interlight Page \textbf{\thepage} sur \textbf{\pageref*{LastPage}}}
|
|
}
|
|
|
|
\begin{document}
|
|
|
|
\maketitle
|
|
|
|
[-CONTENT-]
|
|
\end{document}
|