]> AND Private Git Repository - ThesisAhmed.git/blob - thesis-presentation/beamerthemefemto.sty
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
correcting referne\e[2~ce
[ThesisAhmed.git] / thesis-presentation / beamerthemefemto.sty
1 %-------------------------------------------------------------------------------
2 % LaTeX Beamer theme "femto" from the femto-st evaluation model (2011) JM Nicod and PC Heam (LIFC)
3
4 % author: Christophe Varnier et passage au ".sty" par G. Laurent
5 %         Joel Abadie (12/06/2012) rajout de fonctionnalites tikzpicture
6 %         Jean-Marc Nicod (logo + reglage pied de page)
7 %-------------------------------------------------------------------------------
8 \NeedsTeXFormat{LaTeX2e}
9 \ProvidesPackage{beamerthemefemto}[2012/06/05 beamer theme femto package]
10 \RequirePackage{times}
11 \RequirePackage{tikz}
12 %-------------------------------------------------------------------------------
13
14 %      _         _             _                     _                     
15 %  ___| |_ _   _| | ___    ___| |_    ___ ___  _   _| | ___ _   _ _ __ ___ 
16 % / __| __| | | | |/ _ \  / _ \ __|  / __/ _ \| | | | |/ _ \ | | | '__/ __|
17 % \__ \ |_| |_| | |  __/ |  __/ |_  | (_| (_) | |_| | |  __/ |_| | |  \__ \
18 % |___/\__|\__, |_|\___|  \___|\__|  \___\___/ \__,_|_|\___|\__,_|_|  |___/
19 %          |___/                                                           
20 %
21
22 % commande permettant de dessiner une page de fond
23 % appel depuis le document par : \setbeamertemplate{background}{\titrefemto}
24 \newcommand{\titrefemto}{
25 \begin{tikzpicture}
26         %definition du node centre au dimension de la page
27         \node[minimum height=\paperheight, minimum width=\paperwidth](centre) {};
28         % placement des logos en bas à gauche
29         \matrix[above right=4mm, ampersand replacement=\&] at (centre.south west){
30                  \node[anchor=center]{\includegraphics[width=7mm]{ubfc.jpeg}}; \&
31                 \node[anchor=center]{\includegraphics[width=7mm]{logo-UFC.jpg}}; \&
32                 \node[anchor=center]{\includegraphics[width=6mm]{logo-CNRS.jpg}}; \&
33                 \node[anchor=center]{\includegraphics[width=13mm]{logo-ENSMM.jpg}}; \&
34                 \node[anchor=center]{\includegraphics[width=12mm]{logo-UTBM.jpg}}; \\
35         };
36         %placement des logos en haut à droite
37         \node[below left, inner sep=0] at (centre.north east) {\includegraphics[width=5.5cm]{Hexagones.jpg}};
38         %placement des logos en haut à gauche
39 %       \node[below right=6mm] at (centre.north west) {\includegraphics[width=2.8cm]{Femto-logo_couleur-2012.png}};
40         \node[below right=6mm] at (centre.north west) {\includegraphics[width=2.8cm]{logo-FEMTO.jpg}};
41 \end{tikzpicture}
42 }
43
44 % commande permettant de dessiner une page de fond
45 % appel depuis le document par : \setbeamertemplate{background}{\pagefemto}
46 \newcommand{\pagefemto}{
47 \begin{tikzpicture}
48         % definition du node centre au dimension de la page
49         \node[minimum height=\paperheight, minimum width=\paperwidth](centre) {};
50         % placement des logos en bas à gauche
51 %       \node[above right=3mm] at (centre.south west) {\includegraphics[width=1.2cm]{Femto-logo_couleur-2012.png}};
52         \node[above right=0.75mm] at ([shift={(0.25,0)}]centre.south west) {\includegraphics[width=1.2cm]{logo-FEMTO.jpg}};
53         %placement des logos en haut à droite
54         \node[below left, inner sep=0](hexa) at (centre.north east) {\includegraphics[width=3.9cm]{Hexagones.jpg}};
55         %trace des traits
56         \coordinate (A) at ([shift={(0.5,-1.4)}]centre.north west);
57         \coordinate (B) at (A-| hexa.west);
58         \draw[BleuFemtoTitre] (A) -- ([xshift=-3mm]B);
59         %trait inferieur
60 %       \coordinate (A) at ([shift={(0.5,1.1)}]centre.south west);
61         \coordinate (A) at ([shift={(0.5,.8)}]centre.south west);
62 %       \coordinate (B) at ([shift={(-0.5,1.1)}]centre.south east);
63         \coordinate (B) at ([shift={(-0.5,.8)}]centre.south east);
64         \draw[BleuFemtoTitre] (A) -- (B);
65 \end{tikzpicture}
66 }
67
68 % \definecolor{GreenYellow}{cmyk}{0.15,0,0.69,0} % PANTONE 388
69 % \definecolor{Yellow}{cmyk}{0,0,1.,0} % PANTONE YELLOW
70 % \definecolor{Goldenrod}{cmyk}{0,0.10,0.84,0} % PANTONE 109
71 % \definecolor{Dandelion}{cmyk}{0,0.29,0.84,0} % PANTONE 123
72 % \definecolor{Apricot}{cmyk}{0,0.32,0.52,0} % PANTONE 1565
73 % \definecolor{Peach}{cmyk}{0,0.50,0.70,0} % PANTONE 164
74 % \definecolor{Melon}{cmyk}{0,0.46,0.50,0} % PANTONE 177
75 % \definecolor{YellowOrange}{cmyk}{0,0.42,1.,0} % PANTONE 130
76 % \definecolor{Orange}{cmyk}{0,0.61,0.87,0} % PANTONE ORANGE-021
77 % \definecolor{BurntOrange}{cmyk}{0,0.51,1.,0} % PANTONE 388
78 % \definecolor{Bittersweet}{cmyk}{0,0.75,1.,0.24} % PANTONE 167
79 % \definecolor{RedOrange}{cmyk}{0,0.77,0.87,0} % PANTONE 179
80 % \definecolor{Mahogany}{cmyk}{0,0.85,0.87,0.35} % PANTONE 484
81 % \definecolor{Maroon}{cmyk}{0,0.87,0.68,0.32} % PANTONE 201
82 % \definecolor{BrickRed}{cmyk}{0,0.89,0.94,0.28} % PANTONE 1805
83 % \definecolor{Red}{cmyk}{0,1.,1.,0} % PANTONE RED
84 % \definecolor{OrangeRed}{cmyk}{0,1.,0.50,0} % No PANTONE,match
85 % \definecolor{RubineRed}{cmyk}{0,1.,0.13,0} % PANTONE RUBINE-RED
86 % \definecolor{WildStrawberry}{cmyk}{0,0.96,0.39,0} % PANTONE 206
87 % \definecolor{Salmon}{cmyk}{0,0.53,0.38,0} % PANTONE 183
88 % \definecolor{CarnationPink}{cmyk}{0,0.63,0,0} % PANTONE 218
89 % \definecolor{Magenta}{cmyk}{0,1.,0,0} % PANTONE PROCESS-MAGENTA
90 % \definecolor{VioletRed}{cmyk}{0,0.81,0,0} % PANTONE 219
91 % \definecolor{Rhodamine}{cmyk}{0,0.82,0,0} % PANTONE RHODAMINE-RED
92 % \definecolor{Mulberry}{cmyk}{0.34,0.90,0,0.02} % PANTONE 241
93 % \definecolor{RedViolet}{cmyk}{0.07,0.90,0,0.34} % PANTONE 234
94 % \definecolor{Fuchsia}{cmyk}{0.47,0.91,0,0.08} % PANTONE 248
95 % \definecolor{Lavender}{cmyk}{0,0.48,0,0} % PANTONE 223
96 % \definecolor{Thistle}{cmyk}{0.12,0.59,0,0} % PANTONE 245
97 % \definecolor{Orchid}{cmyk}{0.32,0.64,0,0} % PANTONE 252
98 % \definecolor{DarkOrchid}{cmyk}{0.40,0.80,0.20,0} %  No PANTONE match
99 % \definecolor{Purple}{cmyk}{0.45,0.86,0,0} % PANTONE PURPLE
100 % \definecolor{Plum}{cmyk}{0.50,1.,0,0} % PANTONE 518
101 % \definecolor{Violet}{cmyk}{0.79,0.88,0,0} % PANTONE VIOLET
102 % \definecolor{RoyalPurple}{cmyk}{0.75,0.90,0,0} % PANTONE 267
103 % \definecolor{BlueViolet}{cmyk}{0.86,0.91,0,0.04} % PANTONE 2755
104 % \definecolor{Periwinkle}{cmyk}{0.57,0.55,0,0} % PANTONE 2715
105 % \definecolor{CadetBlue}{cmyk}{0.62,0.57,0.23,0} % PANTONE (534+535)
106 % \definecolor{CornflowerBlue}{cmyk}{0.65,0.13,0,0} % PANTONE 292
107 % \definecolor{MidnightBlue}{cmyk}{0.98,0.13,0,0.43} % PANTONE 302
108 % \definecolor{NavyBlue}{cmyk}{0.94,0.54,0,0} % PANTONE 293
109 % \definecolor{RoyalBlue}{cmyk}{1.,0.50,0,0} % No PANTONE match
110 % \definecolor{Blue}{cmyk}{1.,1.,0,0} % PANTONE BLUE-072
111 % \definecolor{Cerulean}{cmyk}{0.94,0.11,0,0} % PANTONE 3005
112 % \definecolor{Cyan}{cmyk}{1.,0,0,0} % PANTONE PROCESS-CYAN
113 % \definecolor{ProcessBlue}{cmyk}{0.96,0,0,0} % PANTONE PROCESS-BLUE
114 % \definecolor{SkyBlue}{cmyk}{0.62,0,0.12,0} % PANTONE 2985
115 % \definecolor{Turquoise}{cmyk}{0.85,0,0.20,0} % PANTONE (312+313)
116 % \definecolor{TealBlue}{cmyk}{0.86,0,0.34,0.02} % PANTONE 3145
117 % \definecolor{Aquamarine}{cmyk}{0.82,0,0.30,0} % PANTONE 3135
118 % \definecolor{BlueGreen}{cmyk}{0.85,0,0.33,0} % PANTONE 320
119 % \definecolor{Emerald}{cmyk}{1.,0,0.50,0} % No PANTONE match
120 % \definecolor{JungleGreen}{cmyk}{0.99,0,0.52,0} % PANTONE 328
121 % \definecolor{SeaGreen}{cmyk}{0.69,0,0.50,0} % PANTONE 3268
122 % \definecolor{Green}{cmyk}{1.,0,1.,0} % PANTONE GREEN
123 % \definecolor{ForestGreen}{cmyk}{0.91,0,0.88,0.12} % PANTONE 349
124 % \definecolor{PineGreen}{cmyk}{0.92,0,0.59,0.25} % PANTONE 323
125 % \definecolor{LimeGreen}{cmyk}{0.50,0,1.,0} % No PANTONE match
126 % \definecolor{YellowGreen}{cmyk}{0.44,0,0.74,0} % PANTONE 375
127 % \definecolor{SpringGreen}{cmyk}{0.26,0,0.76,0} % PANTONE 381
128 % \definecolor{OliveGreen}{cmyk}{0.64,0,0.95,0.40} % PANTONE 582
129 % \definecolor{RawSienna}{cmyk}{0,0.72,1.,0.45} % PANTONE 154
130 % \definecolor{Sepia}{cmyk}{0,0.83,1.,0.70} % PANTONE 161
131 % \definecolor{Brown}{cmyk}{0,0.81,1.,0.60} % PANTONE 1615
132 % \definecolor{Tan}{cmyk}{0.14,0.42,0.56,0} % No PANTONE match
133 % \definecolor{Gray}{cmyk}{0,0,0,0.50} % PANTONE COOL-GRAY-8
134 \definecolor{DarkGray}{cmyk}{0,0,0,0.80} % PANTONE COOL-GRAY-8
135 % \definecolor{Black}{cmyk}{0,0,0,1.} % PANTONE PROCESS-BLACK
136 % \definecolor{White}{cmyk}{0,0,0,0} % No PANTONE match
137
138 % ajout des couleurs Femto
139 \definecolor{BleuFemtoTitre}{cmyk}{0.94,0.83,0,0.01}
140 \definecolor{BleuFemtoTexte}{cmyk}{0.92,0.54,0.05,0.09}
141 \definecolor{BleuFemto}{RGB}{39,84,148}
142 \definecolor{BleuClairFemto}{RGB}{66,153,214}
143 \definecolor{VertFemto}{RGB}{175,203,81}
144 \definecolor{GrisClairFemto}{RGB}{177,179,180}
145 \definecolor{GrisFemto}{RGB}{112,127,135}
146
147 \usetheme{default}
148
149 \setbeamertemplate{navigation symbols}{}
150
151 \setbeamercolor{structure}{fg=DarkGray}
152
153 % _                       _       _         _   _ _            
154 %| |_ ___ _ __ ___  _ __ | | __ _| |_ ___  | |_(_) |_ _ __ ___ 
155 %| __/ _ \ '_ ` _ \| '_ \| |/ _` | __/ _ \ | __| | __| '__/ _ \
156 %| ||  __/ | | | | | |_) | | (_| | ||  __/ | |_| | |_| | |  __/
157 % \__\___|_| |_| |_| .__/|_|\__,_|\__\___|  \__|_|\__|_|  \___|
158 %                  |_|                                         
159
160 %\pgfdeclareimage[height=\paperheight,width=\paperwidth]{titrefemto}{TitreFemto.png}
161
162 \setbeamertemplate{title page}
163 {
164 \vskip 10mm 
165 \usebeamerfont{title}\usebeamercolor[fg]{title}\LARGE\textcolor{BleuFemto}\inserttitle
166 \newline\newline
167 \normalsize\textcolor{GrisFemto}\insertauthor
168 \newline
169 \vskip 1mm
170 \textcolor{GrisFemto}\insertinstitute
171 \newline\newline
172 \footnotesize\textcolor{GrisFemto}\insertdate
173 }
174
175 % _                       _       _                                
176 %| |_ ___ _ __ ___  _ __ | | __ _| |_ ___   _ __   __ _  __ _  ___ 
177 %| __/ _ \ '_ ` _ \| '_ \| |/ _` | __/ _ \ | '_ \ / _` |/ _` |/ _ \
178 %| ||  __/ | | | | | |_) | | (_| | ||  __/ | |_) | (_| | (_| |  __/
179 % \__\___|_| |_| |_| .__/|_|\__,_|\__\___| | .__/ \__,_|\__, |\___|
180 %                  |_|                     |_|          |___/      
181
182 %\pgfdeclareimage[height=\paperheight,width=\paperwidth]{pagefemto}{PageFemto.png}
183
184 \setbeamertemplate{frametitle}{\vspace{6mm}\hspace{-5mm}\Large\bf\textcolor{BleuFemto} \insertframetitle}
185
186 % pour les block
187 \definecolor{fondFemtotableau}{rgb}{1,0.71,0.754}
188 \setbeamertemplate{blocks}[rounded]
189 \setbeamercolor{block title}{fg=BleuClairFemto!60,bg=BleuFemto}
190 \setbeamercolor{block body}{bg=GrisClairFemto!40,fg=GrisFemto!50!black}
191 \setbeamerfont{block title}{series=\bfseries}
192 \setbeamercolor{title in head/foot}{fg=gray}
193 \newenvironment{femtoBlock}[1]{%
194   \textcolor{BleuFemto}{\normalsize\textbf{#1}}\normalsize}
195
196 \setbeamertemplate{footline}
197 {%
198   \leavevmode%
199   \vspace{-2mm}%
200   \hbox{\begin{beamercolorbox}[wd=.85\paperwidth,ht=2.5ex,dp=-2.5ex,leftskip=.3cm plus1fill,rightskip=.3cm]{author in head/foot}%
201     \usebeamerfont{author in head/foot} \hfill \textcolor{GrisFemto}{\insertshortinstitute}
202   \end{beamercolorbox}%
203   \begin{beamercolorbox}[wd=.15\paperwidth,right,ht=2.5ex,dp=1.8ex,leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}%
204     \usebeamerfont{title in head/foot} \hfill \textcolor{BleuFemto}{\insertframenumber\ / \inserttotalframenumber}\hspace{0.25cm}
205   \end{beamercolorbox}}%
206   \vskip 10pt%
207 }
208
209 \setbeamertemplate{itemize item}[circle]
210 \setbeamertemplate{itemize subitem}[circle]
211
212 \partopsep=0ex % espace apres les blocks et avant le contenu
213 \topsep=5ex % debut du texte du slide
214 \parsep=0ex
215 \itemsep=0ex 
216
217 %-------------------------------------------------------------------------------
218