init-projects/latex/document/document.tex

58 lines
1.2 KiB
TeX
Raw Normal View History

\DocumentMetadata{testphase = {phase-III,math}}
2023-10-03 12:08:51 +02:00
\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
2024-02-01 15:27:23 +01:00
% \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}
2023-10-03 12:08:51 +02:00
2024-01-12 01:58:21 +01:00
\usepackage[
pdfauthor={\myauthor}, % author metadata
pdftitle={\mytitle}, % title metadata
pdfsubject={\mysubject}, % subject metadata
2024-04-18 18:13:35 +02:00
hidelinks, % clickable links in table of contents
2024-01-12 01:58:21 +01:00
]{hyperref}
\title{\mytitle}
\author{\href{\mymail}{\myauthor}}
\extra{\mysubject~$\cdot$ \mylocation}
2023-10-03 12:08:51 +02:00
\date{}
\begin{document}
\maketitle
\flushbottom
2023-10-03 12:08:51 +02:00
\tableofcontents
\clearpage
\section{SECTION}
Hello, world!
\end{document}