init-projects/latex/document/document.tex

67 lines
1.3 KiB
TeX
Raw Normal View History

2024-04-21 10:27:00 +02:00
\DocumentMetadata{testphase = {phase-III,math,firstaid}}
2024-04-25 12:10:50 +02:00
\documentclass[a4paper]{article}
2023-10-03 12:08:51 +02:00
2024-05-07 12:51:45 +02:00
% Font
\usepackage[T1]{fontenc}
\renewcommand{\familydefault}{\sfdefault}
\usepackage[nopatch=footnote]{microtype}
2023-10-03 12:08:51 +02:00
2024-05-07 12:51:45 +02:00
% Languages
2024-04-20 15:25:46 +02:00
\usepackage[french]{babel}
2023-10-03 12:08:51 +02:00
\frenchsetup{SmallCapsFigTabCaptions=false}
2024-04-21 10:32:49 +02:00
\usepackage{csquotes}
\MakeOuterQuote{"}
2023-10-03 12:08:51 +02:00
% Add \extra info to title
\makeatletter
\providecommand{\extra}[1]{
\apptocmd{\@author}{
\end{tabular}
\par\vspace*{0.7em}
\begin{tabular}[t]{c}
#1}{}{}
}
\makeatother
2024-04-20 15:25:46 +02:00
% Change page dimensions
% \usepackage[
2024-02-01 15:27:23 +01:00
% a4paper,
% left=20mm,
% top=20mm,
% ]{geometry}
2024-04-20 15:25:46 +02:00
% Code integration
% \usepackage{minted}
2024-02-01 15:27:23 +01:00
% \usemintedstyle{emacs}
2024-04-20 15:25:46 +02:00
% Metadatas
\def\docTitle{TITLE}
\def\docAuthor{YOU}
\def\authorMail{mailto:place@holder.com}
\def\docSubject{SUBJECT}
\def\docLocation{LOCATION}
2023-10-03 12:08:51 +02:00
2024-01-12 01:58:21 +01:00
\usepackage[
2024-04-20 15:25:46 +02:00
pdfauthor={\docAuthor}, % author metadata
pdftitle={\docTitle}, % title metadata
pdfsubject={\docSubject}, % subject metadata
hidelinks, % clickable links in table of contents
2024-01-12 01:58:21 +01:00
]{hyperref}
2024-04-20 15:25:46 +02:00
\title{\docTitle}
\author{\href{\authorMail}{\docAuthor}}
\extra{\docSubject~$\cdot$ \docLocation}
2023-10-03 12:08:51 +02:00
\date{}
2024-05-07 12:51:45 +02:00
2023-10-03 12:08:51 +02:00
\begin{document}
\maketitle
\flushbottom
2023-10-03 12:08:51 +02:00
\tableofcontents
\clearpage
\section{SECTION}
Hello, world!
\end{document}