\documentclass[a4paper,11pt]{article} \setlength{\headheight}{14.5pt} \addtolength{\topmargin}{-2.5pt} % Language and encoding settings \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \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\vfill} \renewcommand\maketitlehookb{\vfill\null} % Enable links \usepackage[colorlinks=true,allcolors=black]{hyperref} \hypersetup{urlcolor=red} % Code style % \usepackage{minted} % 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 \includegraphics[width=0.8\textwidth]{images/iut-logo.png} \newline \vskip100pt \bfseries SAE 2.02 \vskip3pt \large Exploration algorithmique d’un problème \end{minipage} } \date{\today} \author{\bsc{Agostinho} Alexandre} \begin{document} % Title page \begin{titlingpage} \maketitle \end{titlingpage} \newpage % Table of contents page \tableofcontents \newpage % Other pages (sections) \import{sections/}{partie1} \import{sections/}{partie2} \end{document}