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

Private GIT Repository
la veille
[hdrcouchot.git] / talk / 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]{logo-UFC.jpg}}; \&
31                 \node[anchor=center]{\includegraphics[width=10mm]{logo_ubfc.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=3.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=3mm] at (centre.north west) {\includegraphics[width=2cm]{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.1)}]centre.south west) {\includegraphics[width=1cm]{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.5cm]{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,.6)}]centre.south west);
62 %       \coordinate (B) at ([shift={(-0.5,1.1)}]centre.south east);
63         \coordinate (B) at ([shift={(-0.5,.6)}]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 5mm 
165
166 \usebeamerfont{title}\usebeamercolor[fg]{title}\Large\textcolor{BleuFemto}\inserttitle
167
168 %\vspace{5mm} 
169 \footnotesize
170 \begin{center}
171 \insertauthor\\
172 \vspace{5mm}
173 \insertdate
174 \end{center}
175
176 \begin{footnotesize}
177 Rapporteurs~:
178 \begin{tabular}{p{4cm}l}
179 Olivier {\sc Bournez}& Professeur à l'Ecole Polytechnique. \\
180 Jean-Paul {\sc Comet}&  Professeur à l'Université de Nice Sophia Antipolis\\
181 Juan-Pablo {\sc Ortega} & Professeur à l'Université de St. Gallen--Suisse \\
182 \end{tabular}
183
184
185 \vspace{5mm} 
186 Examinateurs~:
187 \begin{tabular}{p{4cm}l}
188 Sylvain {\sc Contassot-Vivier} & {Professeur à l'Université de Lorraine} \\
189 Raphaël {\sc Couturier}& {Professeur à l'Univ. Bourgogne Franche-Comté} \\
190 Christophe {\sc Guyeux}& {Professeur à l'Univ. Bourgogne Franche-Comté}
191 \end{tabular}
192 \end{footnotesize}
193
194 % Examinateurs:
195
196 % \begin{footnotesize}
197 % \begin{tabular}{rll}
198
199
200
201 % \end{tabular}
202 % \end{footnotesize}
203
204 }
205
206 % _                       _       _                                
207 %| |_ ___ _ __ ___  _ __ | | __ _| |_ ___   _ __   __ _  __ _  ___ 
208 %| __/ _ \ '_ ` _ \| '_ \| |/ _` | __/ _ \ | '_ \ / _` |/ _` |/ _ \
209 %| ||  __/ | | | | | |_) | | (_| | ||  __/ | |_) | (_| | (_| |  __/
210 % \__\___|_| |_| |_| .__/|_|\__,_|\__\___| | .__/ \__,_|\__, |\___|
211 %                  |_|                     |_|          |___/      
212
213 %\pgfdeclareimage[height=\paperheight,width=\paperwidth]{pagefemto}{PageFemto.png}
214
215 \setbeamertemplate{frametitle}{\vspace{6mm}\hspace{-5mm}\Large\bf\textcolor{BleuFemto} \insertframetitle}
216
217 % pour les block
218 \definecolor{fondFemtotableau}{rgb}{1,0.71,0.754}
219 \setbeamertemplate{blocks}[rounded]
220 \setbeamercolor{block title}{fg=BleuClairFemto!60,bg=BleuFemto}
221 \setbeamercolor{block body}{bg=GrisClairFemto!40,fg=GrisFemto!50!black}
222 \setbeamerfont{block title}{series=\bfseries, size=\small}
223 \setbeamercolor{title in head/foot}{fg=gray}
224
225
226 \newenvironment{femtoBlock}[1]{%
227   \textcolor{BleuFemto}{\normalsize\textbf{#1}}\normalsize}
228
229 \setbeamertemplate{footline}
230 {%
231   \leavevmode%
232   \vspace{-2mm}%
233   \hbox{\begin{beamercolorbox}[wd=.85\paperwidth,ht=2.5ex,dp=-2.5ex,leftskip=.3cm plus1fill,rightskip=.3cm]{author in head/foot}%
234     \usebeamerfont{author in head/foot} \hfill \textcolor{GrisFemto}{\insertshortinstitute}
235   \end{beamercolorbox}%
236   \begin{beamercolorbox}[wd=.15\paperwidth,right,ht=2.5ex,dp=1.8ex,leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}%
237     \usebeamerfont{title in head/foot} \hfill \textcolor{BleuFemto}{\insertframenumber\ / \inserttotalframenumber}\hspace{0.25cm}
238   \end{beamercolorbox}}%
239   \vskip 10pt%
240 }
241
242 \setbeamertemplate{itemize item}[circle]
243 \setbeamertemplate{itemize subitem}[circle]
244
245 \partopsep=0ex % espace apres les blocks et avant le contenu
246 \topsep=5ex % debut du texte du slide
247 \parsep=0ex
248 \itemsep=0ex 
249
250 %-------------------------------------------------------------------------------
251