init-projects/latex/document/document.tex
2024-02-06 16:51:07 +01:00

45 lines
1 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}
% \usepackage[ % change page dimensions
% a4paper,
% left=20mm,
% top=20mm,
% ]{geometry}
% \usepackage{minted} % code integration
% \usemintedstyle{emacs}
\newcommand{\settitle}{TITLE}
\newcommand{\setauthor}{YOU}
\newcommand{\setsubject}{SUBJECT}
\newcommand{\setlocation}{LOCATION}
\newcommand{\setmail}{mailto:place@holder.com}
\usepackage[
pdfauthor={\setauthor}, % author metadata
pdftitle={\settitle}, % title metadata
pdfsubject={\setsubject}, % subject metadata
hidelinks, % clickable nks in table of contents
]{hyperref}
\title{\settitle}
\author{\href{\setmail}{\setauthor}\\\setsubject~$\cdot$ \setlocation}
\date{}
\begin{document}
\maketitle
\flushbottom
\tableofcontents
\clearpage
\section{SECTION}
Hello, world!
\end{document}