L-System/rapport/main.tex
2021-04-17 01:12:28 +02:00

217 lines
4.1 KiB
TeX

\documentclass[
headsepline=on,
footsepline=on,
twoside=off,
abstract=on,
DIV=10
]{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage[english, french]{babel}
\usepackage{multirow}
\usepackage[dvipsnames]{xcolor}
\usepackage[allbordercolors=white]{hyperref}
\usepackage{mdframed}
\usepackage{pgfplotstable}
\usepackage{tikz-3dplot}
\usepackage[OT1]{fontenc}
\usepackage{lipsum}
\usepackage{amsmath}
\usepackage{lscape} % permet de faire des pages en mode paysage
\usepackage{algorithmicx}
\usepackage[noend]{algpseudocode}
\usepackage{listings}
\hyphenpenalty 10000
\definecolor{link}{HTML}{4169E1}
\usepackage[bottom=2cm,footskip=8mm]{geometry}
%%% Commandes de mise page propre au projet:
\newcommand{\button}[1]{\textit{\fbox{#1}}}
\newcommand{\classe}[1]{\textit{\textbf{#1}}}
\newmdenv[
rightline=false,
topline=false,
bottomline=false,
backgroundcolor=BurntOrange!5,
fontcolor=BrickRed,
linecolor=Red,
linewidth=1pt]{problemenv}
\newcommand{\problem}[1]{
\begin{problemenv}
\sffamily
#1
\end{problemenv}
}
\newmdenv[
rightline=false,
topline=false,
bottomline=false,
backgroundcolor=ForestGreen!5,
fontcolor=OliveGreen,
linecolor=Green,
linewidth=1pt]{resultenv}
\newcommand{\result}[1]{
\begin{resultenv}
\sffamily
#1
\end{resultenv}
}
\newmdenv[
rightline=false,
topline=false,
bottomline=false,
backgroundcolor=Cyan!5,
fontcolor=Blue,
linecolor=NavyBlue,
linewidth=1pt]{infoenv}
\newcommand{\info}[1]{
\begin{infoenv}
\sffamily
#1
\end{infoenv}
}
\newcommand{\img}[1]{
\begin{figure}[H]
\centering
\includegraphics[width=0.8\textwidth]{#1}
\end{figure}
}
\newcommand{\imgwlegend}[2]{
\begin{figure}[H]
\centering
\includegraphics[width=0.8\textwidth]{#1}
\caption{#2}
\end{figure}
}
% Gestion d'abstracts multiples
\newenvironment{abstractpage}
{\cleardoublepage\vspace*{\fill}\thispagestyle{empty}}
{\vfill\cleardoublepage}
\renewenvironment{abstract}[1]
{\bigskip\selectlanguage{#1}%
\begin{center}\bfseries\abstractname\end{center}}
{\par\bigskip}
% Gestion des keywords
\newcommand{\keywords}{\sffamily\textit{Keywords : }\bfseries}
%Page style
\pagestyle{headings}
\pagenumbering{arabic}
%Title page
\titlehead{
\includegraphics[width=0.25\textwidth]{pics/LOGO-UNICAEN_V-2.1-N.png}
\hfill
%\includegraphics[width=0.25\textwidth]{pics/}
}
\subject{
\small
Université de Caen Normandie\\
UFR des Sciences\\
Département Informatique\\
\hfill\\
2ème année de licence d'informatique
}
\title{
\hrulefill
%\hrulefill
\vfill\\
\Huge \bfseries \\L-Systeme
}
\subtitle{
Conception logicielle\\
\hfill
\\
\hrulefill
\hfill\\
{\normalfont Rapport de projet}
}
\author{
\small
\hfill\\
Antonin \bsc{Boyon}\\
Thomas \bsc{Lalong}\\
Quentin \bsc{Legot}\\
Arthur \bsc{Page}
}
\date{}
\newcommand{\placeholderwarning}{
\problem{CECI EST UN PLACEHOLDER. À REMPLACER AVEC LES DONNÉES INDIQUÉES.}
}
\makeglossary
%redaction guide -> https://docs.google.com/document/d/1YfxGWD0GbRxs-OLxRxoA8Sg8OuVYTSKK8HX1ScFYlFA
\begin{document}
\maketitle
\pagenumbering{Roman}
\tableofcontents
\listoffigures
\clearpage
%\begin{abstractpage}
% \begin{abstract}{french}
% \lipsum[1]
% \end{abstract}
%
% \begin{abstract}{english}
% \lipsum[1]
% \end{abstract}
% \hfill\\
% %\keywords{test lol boup incroyable rassuré}
%\end{abstractpage}
\pagenumbering{arabic}
\info{Placeholder info}
\problem{Placeholder problem}
\result{Placeholder result}
\input{chapters/chapitre1.tex}
\input{chapters/chapitre2.tex}
\input{chapters/chapitre3.tex}
\input{chapters/chapitre4.tex}
\input{chapters/chapitre5.tex}
\input{chapters/chapitre6.tex}
%\input{chapters/validation.tex}
%\input{chapters/conclusion.tex}
\cleardoublepage
\pagebreak
\pagenumbering{roman}
\chapter{Annexes}
\section{Remerciement}
Triss Jacquiot pour le modèle de rapport bien plus beau que l'original
\addcontentsline{toc}{section}{6.2\quad{}Bibliographie}
\begin{thebibliography}{}
\bibitem{ano05}
A. Nonymous et al.\ 2005
\bibitem{oe04}
A.N. Other \& S.O.M. Ebody 2004
\end{thebibliography}
\end{document}