Commit 9849d227 authored by Dorchies David's avatar Dorchies David
Browse files

feat: debug presentation for inrae

- title page is still in Irstea style

Refs #3
parent a07fd497
1 merge request!3Resolve "Inrae-ification beamer"
Pipeline #17443 passed with stage
in 16 seconds
Showing with 70 additions and 27 deletions
+70 -27
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
\begin{center} \begin{center}
Un graphique redimensionné à la largeur de la ligne : Un graphique redimensionné à la largeur de la ligne :
\resizebox{\linewidth}{!}{% \resizebox{\linewidth}{!}{%
\includegraphics{presentation_inrae/logo_inrae_rvb.png} \includegraphics{rapport_inrae/logo_inrae_couv_haut.png}
} }
\end{center} \end{center}
......
...@@ -2,35 +2,35 @@ ...@@ -2,35 +2,35 @@
% Settings % Settings
%\setbeamercolor{headline}{fg=tabutter,bg=black} %\setbeamercolor{headline}{fg=tabutter,bg=black}
%\setbeamercolor{headline}{fg=irsteaDark,bg=white} %\setbeamercolor{headline}{fg=inraeDark,bg=white}
\setbeamercolor{headline}{fg=black,bg=white} \setbeamercolor{headline}{fg=black,bg=white}
%\setbeamercolor{headline}{fg=black,bg=gris!8} %\setbeamercolor{headline}{fg=black,bg=inraeDarkGrey!8}
\setbeamercolor{footline}{fg=irsteaDark, bg=white} \setbeamercolor{footline}{fg=inraeDark, bg=white}
\setbeamerfont{footline}{size=\large,series=\tt} \setbeamerfont{footline}{size=\large,series=\tt}
\setbeamercolor{separation line}{bg=white} \setbeamercolor{separation line}{bg=white}
\setbeamercolor{title in headline}{fg=gris} \setbeamercolor{title in headline}{fg=inraeDarkGrey}
\setbeamercolor{author in headline}{fg=irstea} \setbeamercolor{author in headline}{fg=inrae}
\setbeamercolor{institute in headline}{fg=irsteaLightGrey} \setbeamercolor{institute in headline}{fg=inraeLightGrey}
\setbeamercolor{frametitle}{fg=gris} \setbeamercolor{frametitle}{fg=inraeDarkGrey}
\setbeamercolor{framesubtitle}{fg=irstea} \setbeamercolor{framesubtitle}{fg=inrae}
\setbeamercolor{author in head/foot}{fg=irstea, bg=white} \setbeamercolor{author in head/foot}{fg=inrae, bg=white}
\setbeamercolor{title in head/foot}{fg=irstea, bg=white} \setbeamercolor{title in head/foot}{fg=inrae, bg=white}
\setbeamercolor*{normal text}{fg=irsteaDark, bg=white} \setbeamercolor*{normal text}{fg=inraeDark, bg=white}
%\setbeamercolor*{block body}{bg=white,fg=black} %\setbeamercolor*{block body}{bg=white,fg=black}
\setbeamercolor*{block body}{bg=gris!10,fg=black} \setbeamercolor*{block body}{bg=inraeDarkGrey!10,fg=black}
%\setbeamercolor*{block title}{fg=bleufonce,bg=white} %\setbeamercolor*{block title}{fg=inraeDarker,bg=white}
\setbeamercolor*{block title}{fg=bleufonce,bg=gris!22} \setbeamercolor*{block title}{fg=inraeDarker,bg=inraeDarkGrey!22}
\setbeamerfont{block title}{size=\large,series=\bf} \setbeamerfont{block title}{size=\large,series=\bf}
\setbeamercolor{upper separation line head}{fg=white} \setbeamercolor{upper separation line head}{fg=white}
\setbeamercolor*{block title alerted}{fg=ta3scarletred,bg=gris!22} \setbeamercolor*{block title alerted}{fg=ta3scarletred,bg=inraeDarkGrey!22}
\setbeamercolor*{block body alerted}{bg=gris!10,fg=black} \setbeamercolor*{block body alerted}{bg=inraeDarkGrey!10,fg=black}
\setbeamercolor*{example body}{fg=prairie,bg=white} \setbeamercolor*{example body}{fg=inraeGreen,bg=white}
\setbeamercolor*{example text}{fg=prairie,bg=white} \setbeamercolor*{example text}{fg=inraeGreen,bg=white}
\setbeamercolor*{example title}{bg=irstea,fg=white} \setbeamercolor*{example title}{bg=inrae,fg=white}
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
% Title page % Title page
\defbeamertemplate*{title page}{INRAE}[1][] \defbeamertemplate*{title page}{INRAE}[1][]
{ {
%\fbox{ %\fbox{
\begin{overpic}[width=4cm,height=4cm,keepaspectratio]{presentation_inrae/CouvCadreirsteaDarkGH} \begin{overpic}[width=4cm,height=4cm,keepaspectratio]{presentation_inrae/CouvCadreMarineGH}
\put(0,3){ \put(0,3){
\hspace{0.08\linewidth} \hspace{0.08\linewidth}
%\fbox{ %\fbox{
...@@ -17,25 +17,25 @@ ...@@ -17,25 +17,25 @@
} }
\end{overpic} \end{overpic}
%} %}
\hspace*{0.4\linewidth} \hspace*{0.4\linewidth}
%\fbox{ %\fbox{
\begin{minipage}[t][3cm][c]{0.6\linewidth} \begin{minipage}[t][3cm][c]{0.6\linewidth}
\begin{flushleft} \begin{flushleft}
\usebeamercolor{author in headline}{\color{fg}\large{\insertauthor}\\[1ex]} \usebeamercolor{author in headline}{\color{fg}\large{\insertauthor}\\[1ex]}
\usebeamercolor{institute in headline}{\color{fg}\large{\insertdate}\\[1ex]} \usebeamercolor{institute in headline}{\color{fg}\large{\insertdate}\\[1ex]}
\end{flushleft} \end{flushleft}
\end{minipage} \end{minipage}
%} %}
%\fbox{ %\fbox{
\begin{minipage}[t][1.6cm][c]{0.49\linewidth} \begin{minipage}[t][1.6cm][c]{0.49\linewidth}
\includegraphics[height=1.5cm,keepaspectratio]{presentation_inrae/logo_inrae_rvb} \includegraphics[width=2.5cm,keepaspectratio]{rapport_inrae/logo_inrae_couv_haut.png}
\end{minipage} \end{minipage}
\begin{minipage}[t][1.6cm][c]{0.49\linewidth} \begin{minipage}[t][1.6cm][c]{0.49\linewidth}
\begin{flushright} \begin{flushright}
\includegraphics[height=1cm,keepaspectratio]{\logopartenaire} \includegraphics[height=1cm,keepaspectratio]{\logopartenaire}
\end{flushright} \end{flushright}
\end{minipage} \end{minipage}
%} %}
} }
......
...@@ -21,13 +21,13 @@ ...@@ -21,13 +21,13 @@
\usecolortheme{INRAE} \usecolortheme{INRAE}
\setbeamertemplate{navigation symbols}{} \setbeamertemplate{navigation symbols}{}
\setbeamertemplate{blocks}[rounded][shadow=true] \setbeamertemplate{blocks}[rounded][shadow=true]
\setbeamertemplate{footline}[frame number] \setbeamertemplate{footline}[frame number]
\setbeamertemplate{section in toc shaded}[default][45] \setbeamertemplate{section in toc shaded}[default][45]
\setbeamerfont{footline}{size=\fontsize{9}{11}\selectfont} %https://tex.stackexchange.com/a/26899/124910 \setbeamerfont{footline}{size=\fontsize{9}{11}\selectfont} %https://tex.stackexchange.com/a/26899/124910
\setbeamercolor{section in toc}{fg=irsteaDark} \setbeamercolor{section in toc}{fg=inraeDark}
\setbeamercolor{subsection in toc}{fg=irstea} \setbeamercolor{subsection in toc}{fg=inrae}
\setbeamercolor{itemize item}{fg=irstea} \setbeamercolor{itemize item}{fg=inrae}
\setbeamercolor{enumerate item}{fg=irstea} \setbeamercolor{enumerate item}{fg=inrae}
\mode<all> \mode<all>
\ No newline at end of file
...@@ -55,9 +55,9 @@ ...@@ -55,9 +55,9 @@
\useasboundingbox(0,0) rectangle(\the\paperwidth,1.2); \useasboundingbox(0,0) rectangle(\the\paperwidth,1.2);
\def\tempa{1#2}% Third example https://tex.stackexchange.com/a/286903/124910 \def\tempa{1#2}% Third example https://tex.stackexchange.com/a/286903/124910
\if\tempa1% \if\tempa1%
{\node[anchor=west, gris,font=\Large] at (1.5,0.41){#1};}% {\node[anchor=west, inraeDarkGrey,font=\Large] at (1.5,0.41){#1};}%
\else% \else%
{\node[anchor= west, gris,font=\Large] at (1.5,0.61){#1};% {\node[anchor= west, inraeDarkGrey,font=\Large] at (1.5,0.61){#1};%
\node[anchor= west, inrae,font=\large] at (1.5,0.11){\textcolor{inrae}{\textsc{#2}}};}% \node[anchor= west, inrae,font=\large] at (1.5,0.11){\textcolor{inrae}{\textsc{#2}}};}%
\fi \fi
\end{tikzpicture} \end{tikzpicture}
......
...@@ -13,15 +13,15 @@ ...@@ -13,15 +13,15 @@
% Quotations % Quotations
% @see https://fr.sharelatex.com/learn/Typesetting_quotations % @see https://fr.sharelatex.com/learn/Typesetting_quotations
% @usage the environment displayquote prints a display quotation and the command \textquote an in-line quotation % @usage the environment displayquote prints a display quotation and the command \textquote an in-line quotation
\usepackage{csquotes} \usepackage{csquotes}
% displayquote in italic % displayquote in italic
\renewcommand{\mkbegdispquote}[2]{\itshape} \renewcommand{\mkbegdispquote}[2]{\itshape}
% Gestion de la bibliographie avec biblatex % Gestion de la bibliographie avec biblatex
\input{rapport/preambule_biblatex} \input{rapport/preambule_biblatex}
% Extra space for numbered titles in table of contents % Extra space for numbered titles in table of contents
% http://tex.stackexchange.com/a/13691/124910 % http://tex.stackexchange.com/a/13691/124910
\usepackage{tocstyle} \usepackage{tocstyle}
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
\def\siecle#1{\textsc{\romannumeral #1}\textsuperscript{e}~siècle} \def\siecle#1{\textsc{\romannumeral #1}\textsuperscript{e}~siècle}
% Supprime les liens moches et permet le retour à la ligne du ToC % Supprime les liens moches et permet le retour à la ligne du ToC
\PassOptionsToPackage{hyphens}{url}\usepackage[hidelinks,breaklinks]{hyperref} \PassOptionsToPackage{hyphens}{url}\usepackage[hidelinks,breaklinks]{hyperref}
% Définition des marges % Définition des marges
\usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry} \usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry}
...@@ -60,10 +60,10 @@ ...@@ -60,10 +60,10 @@
% 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
\usepackage{float} \usepackage{float}
%subfigures http://tex.stackexchange.com/a/37597 %subfigures http://tex.stackexchange.com/a/37597
\usepackage{subcaption} \usepackage{subcaption}
% Liens colorés http://tex.stackexchange.com/a/12408 % Liens colorés http://tex.stackexchange.com/a/12408
\usepackage{url} \usepackage{url}
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
\makeatother \makeatother
% Redéfinition de \cleardoublepage pour créer une page vide % Redéfinition de \cleardoublepage pour créer une page vide
% \cleardoublepage permet de générer une page vide % \cleardoublepage permet de générer une page vide
% si le chapitre ne commence pas sur la page de droite % si le chapitre ne commence pas sur la page de droite
\makeatletter \makeatletter
\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else \def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
\ifodd\value{page}\hbox{}\vspace*{\fill}\thispagestyle{empty}\newpage\fi \ifodd\value{page}\hbox{}\vspace*{\fill}\thispagestyle{empty}\newpage\fi
} }
% Todo notes % Todo notes
% @usage The todonotes package makes three commands available to the user: \todo[]{}, \missingfigure{} and \listoftodos. % @usage The todonotes package makes three commands available to the user: \todo[]{}, \missingfigure{} and \listoftodos.
\usepackage{todonotes} \usepackage{todonotes}
% Ajustement des bulles todo mises dans la marge % Ajustement des bulles todo mises dans la marge
...@@ -137,8 +137,8 @@ ...@@ -137,8 +137,8 @@
\RequirePackage{rapport_inrae/inraecolors} \RequirePackage{rapport_inrae/inraecolors}
% Pourquoi les couleurs chargées depuis "inraecolors" ne sont-elles pas disponibles pour \hypersetup ci-dessous ? % Pourquoi les couleurs chargées depuis "inraecolors" ne sont-elles pas disponibles pour \hypersetup ci-dessous ?
\definecolor{titreColor}{HTML}{008C8E} % irsteaDark \definecolor{titreColor}{HTML}{008C8E} % inraeDark
\definecolor{linkColor}{HTML}{423089} % irsteaBlue \definecolor{linkColor}{HTML}{423089} % inraeBlue
\hypersetup{ \hypersetup{
colorlinks, colorlinks,
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,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}
{\sffamily\Large\color{titreColor}\scshape{#1}} {\sffamily\Large\color{titreColor}\scshape{#1}}
\vspace{\baselineskip}} \vspace{\baselineskip}}
......
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