63 lines
1.2 KiB
TeX
63 lines
1.2 KiB
TeX
\DocumentMetadata{testphase = {phase-III,math,firstaid}}
|
|
\documentclass{article}
|
|
|
|
\usepackage[T1]{fontenc} % encoding
|
|
\renewcommand{\familydefault}{\sfdefault} % sans-serif font
|
|
|
|
% Langages
|
|
\usepackage[french]{babel}
|
|
\frenchsetup{SmallCapsFigTabCaptions=false}
|
|
\usepackage{csquotes}
|
|
\MakeOuterQuote{"}
|
|
|
|
% Add \extra info to title
|
|
\makeatletter
|
|
\providecommand{\extra}[1]{
|
|
\apptocmd{\@author}{
|
|
\end{tabular}
|
|
\par\vspace*{0.7em}
|
|
\begin{tabular}[t]{c}
|
|
#1}{}{}
|
|
}
|
|
\makeatother
|
|
|
|
% Change page dimensions
|
|
% \usepackage[
|
|
% a4paper,
|
|
% left=20mm,
|
|
% top=20mm,
|
|
% ]{geometry}
|
|
|
|
% Code integration
|
|
% \usepackage{minted}
|
|
% \usemintedstyle{emacs}
|
|
|
|
% Metadatas
|
|
\def\docTitle{TITLE}
|
|
\def\docAuthor{YOU}
|
|
\def\authorMail{mailto:place@holder.com}
|
|
\def\docSubject{SUBJECT}
|
|
\def\docLocation{LOCATION}
|
|
|
|
\usepackage[
|
|
pdfauthor={\docAuthor}, % author metadata
|
|
pdftitle={\docTitle}, % title metadata
|
|
pdfsubject={\docSubject}, % subject metadata
|
|
hidelinks, % clickable links in table of contents
|
|
]{hyperref}
|
|
|
|
\title{\docTitle}
|
|
\author{\href{\authorMail}{\docAuthor}}
|
|
\extra{\docSubject~$\cdot$ \docLocation}
|
|
\date{}
|
|
|
|
\begin{document}
|
|
\maketitle
|
|
\flushbottom
|
|
\tableofcontents
|
|
\clearpage
|
|
|
|
\section{SECTION}
|
|
Hello, world!
|
|
|
|
\end{document}
|