diff --git a/latex/book/book.tex b/latex/book/book.tex index f7f9235..0879755 100644 --- a/latex/book/book.tex +++ b/latex/book/book.tex @@ -5,11 +5,12 @@ \usepackage[subpreambles=true]{standalone} \usepackage{import} -\usepackage[T1]{fontenc} % encoding -\renewcommand{\familydefault}{\sfdefault} % sans-serif font -\usepackage[nopatch=footnote]{microtype} % better font looking +% Font +\usepackage[T1]{fontenc} +\renewcommand{\familydefault}{\sfdefault} +\usepackage[nopatch=footnote]{microtype} -% Langages +% Languages \usepackage[french]{babel} \frenchsetup{SmallCapsFigTabCaptions=false} \usepackage{csquotes} @@ -46,18 +47,18 @@ % Dependencies \usepackage[ - pdfauthor={\docAuthor}, - pdftitle={\docTitle}, + pdfauthor={\docAuthor}, % author metadata + pdftitle={\docTitle}, % title metadata pdfsubject={\docSubject}, % subject metadata - hidelinks, + hidelinks, % clickable links in table of contents ]{hyperref} - \title{\docTitle} \author{\docAuthor} \extra{\docSubject~$\cdot$ \docLocation} \date{} + \begin{document} \maketitle \flushbottom diff --git a/latex/book/sections/section1.tex b/latex/book/sections/section1.tex index b478586..1031af5 100644 --- a/latex/book/sections/section1.tex +++ b/latex/book/sections/section1.tex @@ -4,6 +4,7 @@ % \usepackage{minted} % \usemintedstyle{emacs} + \begin{document} Here is the first section. diff --git a/latex/book/sections/section2.tex b/latex/book/sections/section2.tex index 3d0e73b..f908688 100644 --- a/latex/book/sections/section2.tex +++ b/latex/book/sections/section2.tex @@ -4,6 +4,7 @@ % \usepackage{minted} % \usemintedstyle{emacs} + \begin{document} Here is the second section. diff --git a/latex/book/sections/section3.tex b/latex/book/sections/section3.tex index 8fd1b24..21eecf0 100644 --- a/latex/book/sections/section3.tex +++ b/latex/book/sections/section3.tex @@ -4,6 +4,7 @@ % \usepackage{minted} % \usemintedstyle{emacs} + \begin{document} Here is the third section. diff --git a/latex/document/document.tex b/latex/document/document.tex index bf4d571..3acfb8b 100644 --- a/latex/document/document.tex +++ b/latex/document/document.tex @@ -1,11 +1,12 @@ \DocumentMetadata{testphase = {phase-III,math,firstaid}} \documentclass[a4paper]{article} -\usepackage[T1]{fontenc} % encoding -\renewcommand{\familydefault}{\sfdefault} % sans-serif font -\usepackage[nopatch=footnote]{microtype} % better font looking +% Font +\usepackage[T1]{fontenc} +\renewcommand{\familydefault}{\sfdefault} +\usepackage[nopatch=footnote]{microtype} -% Langages +% Languages \usepackage[french]{babel} \frenchsetup{SmallCapsFigTabCaptions=false} \usepackage{csquotes} @@ -52,6 +53,7 @@ \extra{\docSubject~$\cdot$ \docLocation} \date{} + \begin{document} \maketitle \flushbottom diff --git a/latex/presentation/slides.tex b/latex/presentation/slides.tex index 973866b..d5b0aa6 100644 --- a/latex/presentation/slides.tex +++ b/latex/presentation/slides.tex @@ -6,14 +6,15 @@ \author{YOU} \date{} -\begin{document} +\begin{document} \maketitle \begin{frame}[t,plain]{\contentsname} \tableofcontents \end{frame} + \section{SECTION} \begin{frame}{TITLE} Hello, world! @@ -25,5 +26,4 @@ \end{center} \end{frame} - \end{document} diff --git a/latex/presentation/slides_advanced.tex b/latex/presentation/slides_advanced.tex index aea1cb2..7e49b10 100644 --- a/latex/presentation/slides_advanced.tex +++ b/latex/presentation/slides_advanced.tex @@ -7,8 +7,8 @@ \institute{SUBJECT $\cdot$ LOCATION} \date{} -\begin{document} +\begin{document} \maketitle \section[FIRST SECTION]{SECTION} % title and subtitle reversed @@ -37,6 +37,7 @@ \end{center} \end{frame} + \appendix \begin{frame}{Sources} \begin{itemize}\begin{multicols}{2}