Extracting shared tex commands

This commit is contained in:
Louis Lacoste 2024-07-03 17:13:59 +02:00
parent cc463c752b
commit c77650a49a
7 changed files with 65 additions and 53 deletions

Binary file not shown.

View file

@ -16,38 +16,19 @@
\usepackage{float} % pour le placement des figure \usepackage{float} % pour le placement des figure
\usepackage{url} % pour une gestion efficace des url \usepackage{url} % pour une gestion efficace des url
\usepackage{hyperref} % pour les hyperliens dans le document \usepackage{hyperref} % pour les hyperliens dans le document
\usepackage{tikz} % For graph plots
\usepackage[outline]{contour}
\usepackage{appendixnumberbeamer} % Cacher la numérotation des slides d'appendices \usepackage{appendixnumberbeamer} % Cacher la numérotation des slides d'appendices
\usepackage{beamerappendixnote} \usepackage{beamerappendixnote}
\usepackage{adjustbox} % To resize tikzpictures \usepackage{adjustbox} % To resize tikzpictures
\usepackage{fontawesome5} \usepackage{fontawesome5}
\usepackage{makecell} \usepackage{makecell}
% Beamer
\setbeamertemplate{headline}{%
\begin{beamercolorbox}[ht=2.25ex,dp=3.75ex]{section in head/foot}
\insertnavigation{\paperwidth}
\end{beamercolorbox}%
}%
\beamertemplatenavigationsymbolsempty % Pas de bar de navigation
% Beamer settings
\setbeamertemplate{caption}[numbered]
\setbeamertemplate{note page}[plain] % Notes
\setbeamerfont{caption}{size=\scriptsize} % Taille des légendes
% Bibliographie
\usepackage[style=apa, sorting=none, backend=biber]{biblatex}
\addbibresource{../references.bib}
\AtEveryCite{\color{blue}}
% Images % Images
\graphicspath{{../img/}{../figure/}} \graphicspath{{../img/}{../figure/}}
% Tikz % Tikz
\usepackage{tikz} % For graph plots
\usepackage[outline]{contour}
%% Tikz Related %% Tikz Related
\usetikzlibrary{calc,shapes,backgrounds,arrows,automata,shadows,positioning} \usetikzlibrary{calc,shapes,backgrounds,arrows,automata,shadows,positioning}
\usetikzlibrary{arrows,shapes,positioning,shadows,trees,calc,backgrounds,automata,positioning} \usetikzlibrary{arrows,shapes,positioning,shadows,trees,calc,backgrounds,automata,positioning}
@ -65,21 +46,9 @@
% Couleurs % Couleurs
% pour tickz multilevel % pour tickz multilevel
\definecolor{ao(english)}{rgb}{0.0, 0.5, 0.0} \input{../shared/colors}
\definecolor{redorg}{RGB}{215, 48, 39} %% Biblio
\definecolor{orangeorg}{RGB}{253, 174, 97} \input{../shared/biblio.tex}
\definecolor{blueind}{RGB}{016, 101, 171}
\definecolor{cyanind}{RGB}{058, 147, 195}
\definecolor{electricblue}{RGB}{142, 196, 222}
\definecolor{greenind}{RGB}{112, 130, 56}
\definecolor{burntorange}{RGB}{179, 021, 041}
\definecolor{goldenyellow}{RGB}{215, 095, 076}
\definecolor{peach}{RGB}{246, 164, 130}
\definecolor{gray}{RGB}{128, 128, 128}
% Footnote % Footnote
\makeatletter \makeatletter
@ -93,6 +62,25 @@
\makeatother \makeatother
% Beamer
\setbeamertemplate{headline}{%
\begin{beamercolorbox}[ht=2.25ex,dp=3.75ex]{section in head/foot}
\insertnavigation{\paperwidth}
\end{beamercolorbox}%
}%
\beamertemplatenavigationsymbolsempty % Pas de bar de navigation
% Beamer settings
\setbeamertemplate{caption}[numbered]
\setbeamertemplate{note page}[plain] % Notes
\setbeamerfont{caption}{size=\scriptsize} % Taille des légendes
\setbeamercolor{palette primary}{bg=cyanps, fg=black}
\setbeamercolor{palette secondary}{bg=blueps, fg=white}
\setbeamercolor{palette tertiary}{bg=bluefonceps, fg=white}
\setbeamercolor{structure}{fg=blueps}
\subtitle{Séminaire des stagiaires} \subtitle{Séminaire des stagiaires}
\title[Collections de réseaux bipartites]{Détection de structures et \title[Collections de réseaux bipartites]{Détection de structures et
\emph{clustering} dans des réseaux bipartites} \emph{clustering} dans des réseaux bipartites}

4
shared/biblio.tex Normal file
View file

@ -0,0 +1,4 @@
% Bibliographie
\usepackage[style=apa, sorting=none, backend=biber]{biblatex}
\addbibresource{../references.bib}
\AtEveryCite{\color{bluefonceps}}

20
shared/colors.tex Normal file
View file

@ -0,0 +1,20 @@
% Couleurs
% pour tickz multilevel
\definecolor{aoenglish}{rgb}{0.0, 0.5, 0.0}
\definecolor{redorg}{RGB}{215, 48, 39}
\definecolor{orangeorg}{RGB}{253, 174, 97}
\definecolor{blueind}{RGB}{016, 101, 171}
\definecolor{cyanind}{RGB}{058, 147, 195}
\definecolor{electricblue}{RGB}{142, 196, 222}
\definecolor{greenind}{RGB}{112, 130, 56}
\definecolor{burntorange}{RGB}{179, 021, 041}
\definecolor{goldenyellow}{RGB}{215, 095, 076}
\definecolor{peach}{RGB}{246, 164, 130}
\definecolor{gray}{RGB}{128, 128, 128}
%% Couleur Paris-Saclay
\definecolor{pruneps}{RGB}{99,0,60}
\definecolor{bluefonceps}{RGB}{0,78,125}
\definecolor{blueps}{RGB}{14,135,201}
\definecolor{cyanps}{RGB}{70,195,210}
\definecolor{vertps}{RGB}{64,183,105}

View file

@ -22,5 +22,5 @@ draw=blue,fill=yellow!50,text=blue]
\draw[suite] (dissimi) -- (2-sous-collection); \draw[suite] (dissimi) -- (2-sous-collection);
\draw[suite] (2-sous-collection) -- (BICL-test); \draw[suite] (2-sous-collection) -- (BICL-test);
\draw[suite] (BICL-test) -| node[near start, above, fill=none] {Oui} (recursion); \draw[suite] (BICL-test) -| node[near start, above, fill=none] {Oui} (recursion);
\draw[suite] (recursion.north) |- (1-collection.west); \draw[suite] (recursion.east) -- (dissimi.west);
\draw[suite] (BICL-test) -- node[near start, above, fill=none] {Non} (sortie); \draw[suite] (BICL-test) -- node[near start, above, fill=none] {Non} (sortie);

View file

@ -1,5 +1,5 @@
% Couleurs personnalisées % Couleurs personnalisées
\definecolor{ao(english)}{rgb}{0.0, 0.5, 0.0} \definecolor{aoenglish}{rgb}{0.0, 0.5, 0.0}
\definecolor{redorg}{RGB}{215, 48, 39} \definecolor{redorg}{RGB}{215, 48, 39}
\definecolor{orangeorg}{RGB}{253, 174, 97} \definecolor{orangeorg}{RGB}{253, 174, 97}
@ -20,7 +20,7 @@ transform shape]
\tikzstyle{every state}=[draw=none,text=black,scale=0.75, \tikzstyle{every state}=[draw=none,text=black,scale=0.75,
transform shape] transform shape]
\tikzset{edge_proba/.style={draw=none, fill=none, \tikzset{edge_proba/.style={draw=none, fill=none,
text=black}} text=black}}
\tikzstyle{every node}=[fill=blueind] \tikzstyle{every node}=[fill=blueind]
\node[state, draw=black!50] (R11) at (0,5) {\textbf{R11}}; \node[state, draw=black!50] (R11) at (0,5) {\textbf{R11}};
@ -77,12 +77,12 @@ transform shape, shape=rectangle]
\path (R11) edge[-,>=stealth',shorten \path (R11) edge[-,>=stealth',shorten
>=1pt,auto,draw=gray,line width=1.5pt, fill=gray, opacity=1] node[midway, left = -0.7cm, >=1pt,auto,draw=gray,line width=1.5pt, fill=gray, opacity=1] node[midway, left = -0.7cm,
fill=none] {\contour{white}{$\alpha_{{\color{blueind}\bullet}{\color{burntorange}\bullet}}$}} fill=none] {\contour{white}{$\alpha_{{\color{blueind}\bullet}{\color{burntorange}\bullet}}$}}
(C11); (C11);
\path (R13) edge[-,>=stealth',shorten \path (R13) edge[-,>=stealth',shorten
>=1pt,auto,draw=gray,line width=1.5pt, fill=gray, opacity=1] node[midway, right = -0.7cm, >=1pt,auto,draw=gray,line width=1.5pt, fill=gray, opacity=1] node[midway, right = -0.7cm,
fill=none] {\contour{white}{$\alpha_{{\color{blueind}\bullet}{\color{goldenyellow}\bullet}}$}} fill=none] {\contour{white}{$\alpha_{{\color{blueind}\bullet}{\color{goldenyellow}\bullet}}$}}
(C22); (C22);
@ -92,15 +92,15 @@ transform shape, shape=rectangle]
\path (R22) edge (C21); \path (R22) edge (C21);
\path (R22) edge (C22); \path (R22) edge (C22);
\path (R21) edge[-,>=stealth',shorten \path (R21) edge[-,>=stealth',shorten
>=1pt,auto,draw=gray,line width=1.5pt, fill=gray, opacity=1] node[midway, >=1pt,auto,draw=gray,line width=1.5pt, fill=gray, opacity=1] node[midway,
right = -0.3cm, fill=none] right = -0.3cm, fill=none]
{\contour{white}{$\alpha_{{\color{cyanind}\bullet}{\color{goldenyellow}\bullet}}$}} (C21); {\contour{white}{$\alpha_{{\color{cyanind}\bullet}{\color{goldenyellow}\bullet}}$}} (C21);
\path (R22) edge[-,>=stealth',shorten \path (R22) edge[-,>=stealth',shorten
>=1pt,auto,draw=gray,line width=1.5pt, fill=gray, opacity=1] node[midway, right = -0.6cm, >=1pt,auto,draw=gray,line width=1.5pt, fill=gray, opacity=1] node[midway, right = -0.6cm,
fill=none] {\contour{white}{$\alpha_{{\color{cyanind}\bullet}{\color{peach}\bullet}}$}} (C31); fill=none] {\contour{white}{$\alpha_{{\color{cyanind}\bullet}{\color{peach}\bullet}}$}} (C31);
\path (R31) edge[-,>=stealth',shorten \path (R31) edge[-,>=stealth',shorten
>=1pt,auto,draw=gray,line width=1.5pt, fill=gray, opacity=1] node[midway, >=1pt,auto,draw=gray,line width=1.5pt, fill=gray, opacity=1] node[midway,
right=-0.4cm, fill=none] right=-0.4cm, fill=none]
{\contour{white}{$\alpha_{{\color{electricblue}\bullet}{\color{peach}\bullet}}$}} (C31); {\contour{white}{$\alpha_{{\color{electricblue}\bullet}{\color{peach}\bullet}}$}} (C31);

View file

@ -1,5 +1,5 @@
% Couleurs personnalisées % Couleurs personnalisées
\definecolor{ao(english)}{rgb}{0.0, 0.5, 0.0} \definecolor{aoenglish}{rgb}{0.0, 0.5, 0.0}
\definecolor{redorg}{RGB}{215, 48, 39} \definecolor{redorg}{RGB}{215, 48, 39}
\definecolor{orangeorg}{RGB}{253, 174, 97} \definecolor{orangeorg}{RGB}{253, 174, 97}