|
|
\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{mathtools}
|
|
|
\usepackage{graphicx}
|
|
|
\usepackage[export]{adjustbox}
|
|
|
\usepackage{verbatim}
|
|
|
\usepackage{parskip}
|
|
|
% \usepackage{svg}
|
|
|
\usepackage{pdfpages}
|
|
|
|
|
|
% Titling
|
|
|
\usepackage{titling}
|
|
|
% \renewcommand\maketitlehooka{\null\vfill}
|
|
|
\renewcommand\maketitlehookb{\vfill\null}
|
|
|
|
|
|
% Enable links
|
|
|
% \usepackage{bookmark}
|
|
|
% \hypersetup{urlcolor=white}
|
|
|
\usepackage[colorlinks=true,allcolors=black]{hyperref}
|
|
|
\hypersetup{urlcolor=red}
|
|
|
|
|
|
% Code style
|
|
|
\usepackage{xcolor}
|
|
|
\usepackage{listings}
|
|
|
\definecolor{codegreen}{rgb}{0,0.6,0}
|
|
|
\definecolor{codegray}{rgb}{0.5,0.5,0.5}
|
|
|
\definecolor{codepurple}{rgb}{0.58,0,0.82}
|
|
|
\definecolor{backcolour}{rgb}{0.95,0.95,0.92}
|
|
|
\lstdefinestyle{mystyle}{
|
|
|
backgroundcolor=\color{backcolour},
|
|
|
commentstyle=\color{codegreen},
|
|
|
keywordstyle=\color{magenta},
|
|
|
numberstyle=\tiny\color{codegray},
|
|
|
stringstyle=\color{codepurple},
|
|
|
basicstyle=\ttfamily\footnotesize,
|
|
|
breakatwhitespace=false,
|
|
|
breaklines=true,
|
|
|
captionpos=b,
|
|
|
keepspaces=true,
|
|
|
numbers=left,
|
|
|
numbersep=5pt,
|
|
|
showspaces=false,
|
|
|
showstringspaces=false,
|
|
|
showtabs=false,
|
|
|
tabsize=2
|
|
|
}
|
|
|
\lstset{style=mystyle}
|
|
|
|
|
|
% 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
|
|
|
\includegraphics[width=0.5\linewidth,valign=c]{images/IUT_Clt.png}
|
|
|
\hskip50pt
|
|
|
\includegraphics[width=0.25\linewidth,valign=c]{images/logo-dep-inf.pdf}\\[6ex]
|
|
|
\vskip140pt
|
|
|
SAE 2.02
|
|
|
\vskip10pt
|
|
|
\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
|
|
|
|
|
|
% Intro
|
|
|
\import{sections/}{intro}
|
|
|
\newpage
|
|
|
|
|
|
% Other pages (sections)
|
|
|
\import{sections/}{partie1}
|
|
|
\newpage
|
|
|
|
|
|
\import{sections/}{partie2}
|
|
|
\newpage
|
|
|
|
|
|
% Conclu
|
|
|
\import{sections/}{concl}
|
|
|
|
|
|
\end{document} |