diff --git a/main.pdf b/main.pdf index 5376d0e..860b7f4 100644 Binary files a/main.pdf and b/main.pdf differ diff --git a/main.tex b/main.tex index 5225bbc..18925bd 100644 --- a/main.tex +++ b/main.tex @@ -1,30 +1,74 @@ -\documentclass[a4paper, 11pt]{article} +\documentclass[a4paper,11pt]{article} +\setlength{\headheight}{14.5pt} +\addtolength{\topmargin}{-2.5pt} +% Language and encoding settings \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} -\usepackage{geometry} \usepackage[french]{babel} + +% Set size and margins +\usepackage[a4paper,top=2cm,bottom=2cm,left=3cm,right=3cm,marginparwidth=1.75cm]{geometry} + +% Useful packages +\usepackage{amsmath} \usepackage{graphicx} \usepackage{verbatim} +\usepackage{parskip} + +% Titling +\usepackage{titling} + \renewcommand\maketitlehooka{\null\mbox{}\vfill} + \renewcommand\maketitlehookb{\vfill\null} + +% Enable links +\usepackage[colorlinks=true,allcolors=black]{hyperref} + \hypersetup{urlcolor=red} +% Multifiles +\usepackage[subpreambles=true]{standalone} +\usepackage{import} + +% Paging +\usepackage{fancyhdr} + \pagestyle{fancy} + \fancyhead[L]{SAE 2.02} + \fancyhead[C]{Exploration algorithmique d'un problème} + \fancyhead[R]{2023} + \fancyfoot[L]{\bsc{Agostinho} Alexandre} + \fancyfoot[C]{\thepage} + \fancyfoot[R]{\leftmark} + \renewcommand{\headrulewidth}{0.4pt} + \renewcommand{\footrulewidth}{0.4pt} + +% Title \title{% - \begin{minipage} - \linewidth% - \centering\bfseries\sffamily - SAE 2.02 - \vskip3pt - \large Exploration algorithmique d’un problème - \end{minipage} + \begin{minipage} + \linewidth% + \centering\bfseries + SAE 2.02 + \vskip3pt + \large Exploration algorithmique d’un problème + \end{minipage} } -\author{\bsc{Agostinho} \and Alexandre} \date{\today} +\author{\bsc{Agostinho} Alexandre} + \begin{document} + % Title page + \begin{titlingpage} \maketitle - \newpage + \end{titlingpage} + \newpage + + % Table of contents page + \tableofcontents + \newpage - \tableofcontents - \newpage + % Other pages (sections) + \import{sections/}{partie1} + \import{sections/}{partie2} \end{document} \ No newline at end of file diff --git a/sections/partie1.tex b/sections/partie1.tex index 11cc6e7..7d98449 100644 --- a/sections/partie1.tex +++ b/sections/partie1.tex @@ -1 +1,11 @@ % Section Partie 1 - SAE 2.02 + +\documentclass[class=article, crop=false]{standalone} + + +\begin{document} + +\section{Partie 1} + Ceci est la partie 1 de la SAE.% + +\end{document} \ No newline at end of file diff --git a/sections/partie2.tex b/sections/partie2.tex index dbf7548..a7841f0 100644 --- a/sections/partie2.tex +++ b/sections/partie2.tex @@ -1 +1,11 @@ -% Section Partie 2 - SAE 2.02 \ No newline at end of file +% Section Partie 2 - SAE 2.02 + +\documentclass[class=article, crop=false]{standalone} + + +\begin{document} + +\section{Partie 2} + Ceci est la partie 2 de la SAE.% + +\end{document} \ No newline at end of file