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