Commit 9a9fecc4 authored by Dorchies David's avatar Dorchies David
Browse files

Améliorations du rapport ONEMA

parent 9c9af3a6
No related merge requests found
Showing with 33 additions and 10 deletions
+33 -10
...@@ -19,12 +19,14 @@ ...@@ -19,12 +19,14 @@
\usepackage[hidelinks,breaklinks]{hyperref} \usepackage[hidelinks,breaklinks]{hyperref}
\usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry} \usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry}
%\usepackage{lmodern}
\usepackage{listings}
% Superposition d'image pour la page de titre % Superposition d'image pour la page de garde
\usepackage[percent]{overpic} \usepackage[percent]{overpic}
% Avoir la possibilité de ne pas avoir de césure sur un bloc de texte (pour le tire en page de garde) http://tex.stackexchange.com/a/5003
% @example \nohyphens{(text block)}
\usepackage{hyphenat}
% pour fixer l'emplacement des figures % pour fixer l'emplacement des figures
% \begin{figure}[H] % \begin{figure}[H]
% Voir http://tex.stackexchange.com/a/8633 % Voir http://tex.stackexchange.com/a/8633
...@@ -75,3 +77,7 @@ ...@@ -75,3 +77,7 @@
\ifodd\value{page}\hbox{}\vspace*{\fill}\thispagestyle{empty}\newpage\fi \ifodd\value{page}\hbox{}\vspace*{\fill}\thispagestyle{empty}\newpage\fi
} }
% Todo notes
\usepackage{todonotes}
\setlength{\marginparwidth}{1.6cm}
%\let\marginpar\oldmarginpar
\ No newline at end of file
...@@ -5,8 +5,12 @@ ...@@ -5,8 +5,12 @@
% @date Jan 2017 % @date Jan 2017
%******************************************************************************* %*******************************************************************************
% Le rapport ONEMA est basé sur le préambule commun pour les rapports en français
\input{rapport_francais/preambule_rapport_francais}
% Définition de la police du document http://stackoverflow.com/q/877597 % Définition de la police du document http://stackoverflow.com/q/877597
\usepackage{mathtime} \usepackage{times}
\renewcommand{\familydefault}{\sfdefault} \renewcommand{\familydefault}{\sfdefault}
\urlstyle{sf} % font of url links http://tex.stackexchange.com/a/668 \urlstyle{sf} % font of url links http://tex.stackexchange.com/a/668
...@@ -36,7 +40,7 @@ ...@@ -36,7 +40,7 @@
% Format des titres utilisés dans le préambule du rapport (Auteurs, résumé...) % Format des titres utilisés dans le préambule du rapport (Auteurs, résumé...)
\newcommand{\titrepreambule}[1]{ \newcommand{\titrepreambule}[1]{
\vspace{2\baselineskip} \vspace{2\baselineskip}
{\Large\color{titreColor}\scshape{#1}} {\sffamily\Large\color{titreColor}\scshape{#1}}
\vspace{\baselineskip}} \vspace{\baselineskip}}
% Définition des entêtes et pieds de page % Définition des entêtes et pieds de page
...@@ -47,6 +51,17 @@ ...@@ -47,6 +51,17 @@
\usepackage{etoolbox} \usepackage{etoolbox}
\patchcmd{\chapter}{\thispagestyle{plain}}{\thispagestyle{fancy}}{}{} \patchcmd{\chapter}{\thispagestyle{plain}}{\thispagestyle{fancy}}{}{}
% Replace hyphen by bullet in list
\usepackage{enumitem}
% Table's definition
% http://www.xm1math.net/doculatex/tableaux.html
\usepackage{array,multirow,makecell}
\setcellgapes{1pt}
\makegapedcells
\newcolumntype{R}[1]{>{\raggedleft\arraybackslash }b{#1}}
\newcolumntype{L}[1]{>{\raggedright\arraybackslash }b{#1}}
\newcolumntype{C}[1]{>{\centering\arraybackslash }b{#1}}
% Page de N à M % Page de N à M
% @example \cfoot{\thepage\ sur \pageref{LastPage}} % @example \cfoot{\thepage\ sur \pageref{LastPage}}
......
...@@ -21,10 +21,10 @@ ...@@ -21,10 +21,10 @@
% Bandeau latéral gauche % Bandeau latéral gauche
\begin{overpic}[width=16cm,height=20cm,keepaspectratio]{rapport_onema/bandeau_gauche} \begin{overpic}[width=10cm,height=20cm,keepaspectratio]{rapport_onema/bandeau_gauche}
% Titre du document % Titre du document
\put(25,50){ \put(25,50){
\begin{minipage}[c][20cm]{\textwidth} \begin{minipage}[c][20cm]{12cm}
% Programme % Programme
\vspace*{1cm} \vspace*{1cm}
{\footnotesize\programme} {\footnotesize\programme}
...@@ -32,7 +32,9 @@ ...@@ -32,7 +32,9 @@
% Titre % Titre
\vspace*{2cm} \vspace*{2cm}
\vfill \vfill
\textcolor{titreColor}{\huge\bfseries\sffamily\titre{}}\\ \begin{flushleft}
\textcolor{titreColor}{\huge\bfseries\sffamily\nohyphens\titre{}}
\end{flushleft}
% sous-titre du document % sous-titre du document
\vfill \vfill
...@@ -45,12 +47,12 @@ ...@@ -45,12 +47,12 @@
% Auteur % Auteur
\vspace*{1cm} \vspace*{1cm}
\vfill \vfill
\textcolor{titreColor}{\large\sffamily\auteur{}}\\ \textcolor{titreColor}{\large\sffamily\auteur{}}
% positionnement % positionnement
% Date % Date
\vfill \vfill
\textcolor{titreColor}{\large\sffamily\dateValidation{}}\\ \textcolor{titreColor}{\large\sffamily\dateValidation{}}
\vspace*{4cm} \vspace*{4cm}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment