Debian Codegraph @

texmf-dist/doc/latex/ciad-beamertheme/ciadbeamer-documentation.tex

raw
1 \documentclass[english,sectioncirclenumberstyle]{ciadbeamer}
2
3 \usepackage{lipsum}
4
5 \usepackage[utf8]{inputenc}
6 \usepackage{algpseudocode}
7 \usepackage{multicol}
8
9 \graphicspath{{./docfigs/}}
10
11 \title{Documentation of the CIAD Theme for Beamer}
12 \subtitle{Version \insertciadbeamerthemeversion}
13
14 \author[S.~Galland]{St\'ephane~Galland}
15
16 \keywords{Beamer; Theme; CIAD; UTBM; UBE; Documentation}
17 \subject{Beamer Theme for CIAD Laboratory}
18
19 \finalslidetext{End of the Documentation}
20
21 \usefootlinewithsections
22
23 \IfFileExists{ciad-utbmgraylogo.pdf}{%
24 \pgfdeclareimage[height=.2cm]{fakeutbmlogoinpartners}{ciad-utbmgraylogo}%
25 }{%
26 \pgfdeclareimage[height=.2cm]{fakeutbmlogoinpartners}{ciadbeamer-nologo}%
27 }
28 \IfFileExists{ciad-ubegraylogo.pdf}{%
29 \pgfdeclareimage[height=.2cm]{fakeubelogoinpartners}{ciad-ubegraylogo}%
30 }{%
31 \pgfdeclareimage[height=.2cm]{fakeubelogoinpartners}{ciadbeamer-nologo}%
32 }
33 \IfFileExists{ciad-carnotgraylogo.pdf}{%
34 \pgfdeclareimage[height=.2cm]{fakecarnotlogoinpartners}{ciad-carnotgraylogo}%
35 }{%
36 \pgfdeclareimage[height=.2cm]{fakecarnotlogoinpartners}{ciadbeamer-nologo}%
37 }
38 \IfFileExists{ciad-logointitle.pdf}{%
39 \pgfdeclareimage[height=.25cm]{fakeciadlogointitle}{ciad-logointitle}%
40 }{%
41 \pgfdeclareimage[height=.25cm]{fakeciadlogointitle}{ciadbeamer-nologo}%
42 }
43 \IfFileExists{ciad-utbmlogointitle.pdf}{%
44 \pgfdeclareimage[height=.25cm]{fakeutbmlogointitle}{ciad-utbmlogointitle}%
45 }{%
46 \pgfdeclareimage[height=.25cm]{fakeutbmlogointitle}{ciadbeamer-nologo}%
47 }
48 \IfFileExists{ciad-ubelogointitle.pdf}{%
49 \pgfdeclareimage[height=.25cm]{fakeubelogointitle}{ciad-ubelogointitle}%
50 }{%
51 \pgfdeclareimage[height=.25cm]{fakeubelogointitle}{ciadbeamer-nologo}%
52 }
53 \IfFileExists{ciad-utbmlogo.pdf}{%
54 \pgfdeclareimage[height=.25cm]{fakeuserlogointitle}{ciad-utbmlogo}%
55 }{%
56 \pgfdeclareimage[height=.25cm]{fakeuserlogointitle}{ciadbeamer-nologo}%
57 }
58
59 \makeatletter
60 \let\fakebackground\beamer@theme@ciad@outer@background
61 \makeatother
62
63 \makeatletter
64 \let\fakeoldunderline\beamer@theme@ciad@oldunderline
65 \makeatother
66
67 \newcommand{\fakeslide}[3][fakeciadlogointitle]{
68 \framebox{\begin{minipage}{.4\paperwidth}
69 \begin{picture}(0,90)
70 \put(-3,86){\scalebox{0.414}{\fakebackground}}
71 \put(1,88){\textcolor{frametitle.fg}{\tiny #2}}
72 \ifthenelse{\equal{a#1}{a}}{}{\put(165,86){\pgfuseimage{#1}}}
73 #3
74 \put(120,-1){\pgfuseimage{fakeutbmlogoinpartners}\hspace{0.05cm}\hspace{0.05cm}\pgfuseimage{fakeubelogoinpartners}\hspace{0.05cm}\pgfuseimage{fakecarnotlogoinpartners}}
75 \end{picture}
76 \end{minipage}}
77 }
78
79 \begin{document}
80
81 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
82 \sidenote{CIAD Laboratory: \url{https://www.ciad-lab.fr}}
83 \begin{frame}{Introduction}
84 \begin{itemize}
85 \item This document explains the {\LaTeX} commands that are provided by the CIAD theme for beamer.
86 \vfill
87 \item To use the CIAD theme for beamer, you must:
88 \begin{enumerate}
89 \item Install the files of the CIAD theme inside your {\LaTeX} distribution.
90 \item Create a document, which uses the document class: \texttt{ciadbeamer}
91 \end{enumerate}
92 \end{itemize}
93 \end{frame}
94
95 \begin{frame}{Major Features}
96 \begin{itemize}
97 \item Provide a presentation style related to the research group of the CIAD laboratory located at the UTBM and UBE.
98 \vfill
99 \item Add a title slide (with label \texttt{titleslide} for \texttt{{\textbackslash}hyperlink}) as the first slide.
100 \vfill
101 \item Add a final slide at the end of the presentation to avoid ``black'' screen at the end of the presentation.
102 \vfill
103 \item Provide high level commands for building the slides.
104 \end{itemize}
105 \end{frame}
106
107 \begin{frame}{Read the Beamer Documentation}
108 \huge
109 \alertbox{It is recommended to read the user guide of Beamer for obtain a view of the available commands.}
110 \vspace{2em}
111 \alertbox*{\url{http://texdoc.net/texmf-dist/doc/latex/beamer/doc/beameruserguide.pdf}}
112 \end{frame}
113
114 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
115 \tableofcontentslide
116
117 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
118 \section{Predefined Values}
119 \sectionsintoc{1-7}
120 \sectiontableofcontentslide
121
122 \subsection{Colors}
123
124 \begin{frame}{{\LaTeX}\ Colors}
125 \begin{itemize}
126 \item The CIAD theme defines the colors for the commands provided by the \texttt{xcolor} package:
127 \begin{itemize}
128 \item \texttt{CIADblue} : \fbox{\textcolor{CIADblue}{Example}} \colorbox{CIADblue}{\textcolor{white}{Example}}
129 \item \texttt{CIADmagenta} : \fbox{\textcolor{CIADmagenta}{Example}} \colorbox{CIADmagenta}{\textcolor{white}{Example}}
130 \item \texttt{CIADgreen} : \fbox{\textcolor{CIADgreen}{Example}} \colorbox{CIADgreen}{\textcolor{white}{Example}}
131 \item \texttt{CIADdarkgreen} : \fbox{\textcolor{CIADdarkgreen}{Example}} \colorbox{CIADdarkgreen}{\textcolor{white}{Example}}
132 \item \texttt{CIADlightgreen} : \fbox{\textcolor{CIADlightgreen}{Example}} \colorbox{CIADlightgreen}{\textcolor{black}{Example}}
133 \item \texttt{CIADlightestgreen} : \fbox{\textcolor{CIADlightestgreen}{Example}} \colorbox{CIADlightestgreen}{\textcolor{black}{Example}}
134 \item \texttt{CIADdarkmagenta} : \fbox{\textcolor{CIADdarkmagenta}{Example}} \colorbox{CIADdarkmagenta}{\textcolor{white}{Example}}
135 \item \texttt{CIADlightmagenta} : \fbox{\textcolor{CIADlightmagenta}{Example}} \colorbox{CIADlightmagenta}{\textcolor{white}{Example}}
136 \item \texttt{CIADlightestmagenta} : \fbox{\textcolor{CIADlightestmagenta}{Example}} \colorbox{CIADlightestmagenta}{\textcolor{black}{Example}}
137 \end{itemize}
138 \end{itemize}
139 \end{frame}
140
141 \begin{frame}{{\LaTeX}\ Colors \insertcontinuationtext}
142 \begin{itemize}
143 \item The CIAD theme defines the colors for the commands provided by the \texttt{xcolor} package:
144 \begin{itemize}
145 \item \texttt{CIADdarkgray} : \fbox{\textcolor{CIADdarkgray}{Example}} \colorbox{CIADdarkgray}{\textcolor{white}{Example}}
146 \item \texttt{CIADlightgray} : \fbox{\textcolor{CIADlightgray}{Example}} \colorbox{CIADlightgray}{\textcolor{black}{Example}}
147 \item \texttt{CIADlightestgray} : \fbox{\textcolor{CIADlightestgray}{Example}} \colorbox{CIADlightestgray}{\textcolor{black}{Example}}
148 \end{itemize}
149 \end{itemize}
150 \end{frame}
151
152 \begin{frame}{Beamer Colors}
153 \begin{itemize}
154 \item The CIAD theme defines color for beamer, that may be used with the command \texttt{{\textbackslash}usebeamercolor\{color\_name\}}:
155 \begin{itemize}
156 \item \texttt{code keyword} : \fbox{\usebeamercolor[fg]{code keyword}Example}
157 \vfill
158 \item \texttt{code string} : \fbox{\usebeamercolor[fg]{code string}Example}
159 \vfill
160 \item \texttt{code comment} : \fbox{\usebeamercolor[fg]{code comment}Example}
161 \end{itemize}
162 \end{itemize}
163 \end{frame}
164
165 \subsection{Styles}
166 \begin{frame}{Beamer Templates}
167 \begin{itemize}
168 \item The CIAD theme defines the specific templates for Beamer. These templates could be used with
169 \texttt{{\textbackslash}usebeamertemplate\{name\}}:
170 \begin{itemize}
171 \item \texttt{code basic style} : the style for the standard text in a program or an algorithm.
172 \vfill
173 \item \texttt{code inline style} : the style for the standard text in a program or an algorithm when it is displayed inline.
174 \vfill
175 \item \texttt{code identifier style} : the style for the identifiers in a program or an algorithm.
176 \vfill
177 \item \texttt{code keyword style} : the style for the keywords in a program or an algorithm.
178 \end{itemize}
179 \end{itemize}
180 \end{frame}
181
182 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
183 \section{Class Options and Document Declaration}
184 \sectionsintoc{1-6}
185 \sectiontableofcontentslide
186
187 \subsection{Class Options}
188
189 \begin{frame}[t]{Class Options}
190 The document class \texttt{ciadbeamer} supports the following options.
191 \begin{block}{Presentation language}
192 \begin{itemize}
193 \item \texttt{english}: the slides are written in English (this is the default).
194 \item \texttt{french}: the slides are written in French.
195 \end{itemize}
196 \end{block}
197 \begin{block}{Automatic slides}
198 \begin{itemize}
199 \item \texttt{oraldefense}: Use the "Oral Defense" front page instead of the regular title page.
200 \item \texttt{conferencepresentation}: Use the "Conference Presentation" front page instead of the regular title page.
201 \item \texttt{nocover}: do not add a slide for the title and the ``thanks''.
202 \item \texttt{thanksslide}: add a slide with the word ``Thanks'' at the end (this is the default).
203 \item \texttt{questionslide}: add a slide with the word ``Question'' at the end.
204 \item \texttt{repeattitleslide}: add the title slide at the end.
205 \end{itemize}
206 \end{block}
207 \end{frame}
208
209 \begin{frame}[t]{Class Options \insertcontinuationtext}
210 \begin{block}{Slide numbering}
211 \begin{itemize}
212 \item \texttt{textnumberstyle}: the frame numbers are output as text.
213 \item \texttt{circlenumberstyle}: the frame numbers are output in a circle.
214 \item \texttt{sectioncirclenumberstyle}: the frame numbers are output in a circle.
215 \item \texttt{partcirclenumberstyle}: similar to \texttt{circlenumberstyle} except that the indicator is reset at the start of each part.
216 \item \texttt{partsectioncirclenumberstyle}: similar to \texttt{sectioncirclenumberstyle} except that the indicator is reset at the start of each part.
217 \item \texttt{nonumberstyle}: the frame numbers are not output.
218 \end{itemize}
219 \end{block}
220 \begin{block}{Example}
221 \hyperlink{progressbartypes}{\beamergotobutton{See example}}
222 \end{block}
223 \end{frame}
224
225 \begin{frame}[t]{Class Options \insertcontinuationtext}
226 \begin{block}{Footline and Headline}
227 \begin{itemize}
228 \item \texttt{lablogo} and \texttt{nolablogo}: enable or disable the logos of the main institutions (lab, universities, etc.) in the foot line.
229 \item \texttt{utbmlogo} and \texttt{noutbmlogo}: enable or disable the logo of "Universit\'e de Technologie de Belfort-Montb\'eliard" in the foot line.
230 \item \texttt{ubelogo} and \texttt{noubelogo}: enable or disable the logo of "Universit\'e de Bourgogne" in the foot line.
231 \item \texttt{carnotlogo} and \texttt{nocarnotlogo}: enable or disable the logo of "Institut Carnot ARTS" in the foot line.
232 \item \texttt{frenchrepublic} and \texttt{nofrenchrepublic}: enable or disable the logo of the French Republic in the head line.
233 \end{itemize}
234 \end{block}
235 \end{frame}
236
237 \begin{frame}[t]{Class Options \insertcontinuationtext}
238 \begin{block}{Hyphenation}
239 \begin{itemize}
240 \item \texttt{hyphenation} and \texttt{nohyphenation}: enable or disable the hyphenation of the text on the slides.
241 \end{itemize}
242 \end{block}
243 \begin{block}{Handout --- Free space beside slides for hand notes}
244 \begin{itemize}
245 \item \texttt{handout} and \texttt{nohandout}: enable or disable the generation of the handout document.
246 \end{itemize}
247 \end{block}
248 \begin{block}{Bibliography --- DOIs or regular labels}
249 \begin{itemize}
250 \item \texttt{doiinbib}: the labels of the bibliography references are DOI if defined, otherwise the regular bibliography label is used (see \texttt{nodoiinbib} option).
251 \item \texttt{nodoiinbib}: the labels of the bibliography references are based on the names and year of publication, e.g., \texttt{[Galland, 2025]}.
252 \end{itemize}
253 \end{block}
254 \end{frame}
255
256 \begin{frame}[t]{Class Options \insertcontinuationtext}
257 \begin{block}{Fancy Title Page}
258 \begin{itemize}
259 \item \texttt{titlefancyletters} and \texttt{notitlefancyletters}: enable or disable the fancy rendering of the first letters of the words with a specific color into the title frame.
260 \item \texttt{allfancyletters}: If the previous option is true, all the letters are colored. Otherwise only the upper case letters are colored.
261 \item \texttt{fancyframetitle} and \texttt{nofancyframetitle}: enable or disable the rendering of the first group of words and the second group in the frame's title.
262 \end{itemize}
263 \end{block}
264 \end{frame}
265
266 \begin{frame}{Class Options \insertcontinuationtext}
267 \alertbox{All the options accepted by Beamer are also accepted.}
268 \end{frame}
269
270 \subsection{Title, Subtitle and Front Page}
271
272 \begin{frame}{Title and Subtitle}
273 \begin{block}{Title}
274 Use the command: \texttt{{\textbackslash}title\{title of the document\}}
275 \end{block}
276 \vfill
277 \begin{block}{Subtitle}
278 Use the command: \texttt{{\textbackslash}subtitle\{subtitle of the document\}}
279 \end{block}
280 \vfill
281 \alertbox{These commands must be put in the preamble of your document.}
282 \end{frame}
283
284 \begin{frame}[t]{{Change the Figures} on the Title Slide}
285 The title page contains a background divided into several parts:
286 \begin{center}
287 \includegraphics[width=.5\linewidth]{frontpage}
288 \end{center}
289 \begin{enumerate}
290 \item the title of the slides
291 \item a picture on the right that could be changed (e.g. the CIAD logo)
292 \item a background picture that could be changed (e.g. the black background)
293 \item a picture on the left that could be changed (e.g. the hands)
294 \end{enumerate}
295 \end{frame}
296
297 \begin{frame}[t]{Change the Right Picture \textcircled{2}}
298 For changing the picture on the right \textcircled{2}, use the command: \\[.25cm]
299 \texttt{{\textbackslash}settitlepagerightfigure(x,y)\{pgf-id\}} \\[.25cm]
300 \begin{itemize}
301 \item (\texttt{x}, \texttt{y}) is the coordinate where to put the picture.
302 \item \texttt{pgf-id} is the identifier of the picture that is declared with the command \texttt{{\textbackslash}declarepgfimage[size]\{pgf-id\}\{filename\}} before calling the command \texttt{{\textbackslash}settitlepagerightfigure}.
303 \end{itemize}
304 \begin{example}
305 \texttt{{\textbackslash}pgfdeclareimage[width=5cm]\{mypicture\}\{ciad-utbmlogo\}} \\
306 \texttt{{\textbackslash}settitlepagerightfigure(250,-30)\{mypicture\}} \\
307 \centering\includegraphics[width=.25\linewidth]{frontpage2}
308 \end{example}
309 \end{frame}
310
311 \begin{frame}[t]{Change the Left Picture \textcircled{4}}
312 For changing the picture on the left \textcircled{4}, use the command: \\[.25cm]
313 \texttt{{\textbackslash}settitlepageleftfigure(x,y)\{pgf-id\}} \\[.25cm]
314 \begin{itemize}
315 \item (\texttt{x}, \texttt{y}) is the coordinate where to put the picture.
316 \item \texttt{pgf-id} is the identifier of the picture that is declared with the command \texttt{{\textbackslash}declarepgfimage[size]\{pgf-id\}\{filename\}} before calling the command \texttt{{\textbackslash}settitlepageleftfigure}.
317 \end{itemize}
318 \begin{example}
319 \texttt{{\textbackslash}pgfdeclareimage[width=5cm]\{mypicture\}\{ciad-utbmlogo\}} \\
320 \texttt{{\textbackslash}settitlepageleftfigure(0,-30)\{mypicture\}} \\
321 \centering\includegraphics[width=.25\linewidth]{frontpage4}
322 \end{example}
323 \end{frame}
324
325 \begin{frame}[t]{Change the Left Background \textcircled{3}}
326 \smaller For changing the picture on the left background \textcircled{3}, use the command: \\[.25cm]
327 \texttt{{\textbackslash}settitlepageuserbackground\{pgf-id\}} \\[.25cm]
328 \begin{itemize}
329 \item \texttt{pgf-id} is the identifier of the picture that is declared with the command \texttt{{\textbackslash}declarepgfimage[size]\{pgf-id)\}\{filename\}} before calling the command \texttt{{\textbackslash}settitlepageuserbackground}.
330 \end{itemize}
331 \alertbox{The left picture is automatically removed when the command above is invoked}
332 \begin{example}
333 \texttt{{\textbackslash}pgfdeclareimage[height={\textbackslash}paperheight]\{mypicture\}\{mybackground\}} \\
334 \texttt{{\textbackslash}settitlepageuserbackground\{mypicture\}} \\
335 \centering\includegraphics[width=.25\linewidth]{frontpage3}
336 \end{example}
337 \end{frame}
338
339 \begin{frame}{{Predefined Backgrounds} for the Title Page State}
340 Several background pictures are provided into the CIAD Beamer theme for the position \textcircled{3}. In order to select one of these background, the command below must be used. The list of predefined background is provided in the following slides. \\[.5cm]
341 \texttt{{\textbackslash}setpredefinedtitlepagebackground{\#}} \\[.5cm]
342 \begin{itemize}
343 \item \texttt{\#} is the number of the predefined background, e.g., "\texttt{1}"
344 \end{itemize}
345 \end{frame}
346
347 \begin{frame}{{Predefined Background} 1}
348 \centering\texttt{{\textbackslash}setpredefinedtitlepagebackground1} \\[.5cm]
349 \fbox{\scalebox{0.5}{\insertpredefinedtitlepagebackground1}}
350 \end{frame}
351
352 \begin{frame}{{Predefined Background} 2}
353 \centering\texttt{{\textbackslash}setpredefinedtitlepagebackground2} \\[.5cm]
354 \fbox{\scalebox{0.5}{\insertpredefinedtitlepagebackground2}}
355 \end{frame}
356
357 \begin{frame}{{Predefined Background} 3}
358 \centering\texttt{{\textbackslash}setpredefinedtitlepagebackground3} \\[.5cm]
359 \fbox{\scalebox{0.5}{\insertpredefinedtitlepagebackground3}}
360 \end{frame}
361
362 \begin{frame}{{Predefined Background} 4}
363 \centering\texttt{{\textbackslash}setpredefinedtitlepagebackground4} \\[.5cm]
364 \fbox{\scalebox{0.5}{\insertpredefinedtitlepagebackground4}}
365 \end{frame}
366
367 \begin{frame}{{Predefined Background} 5}
368 \centering\texttt{{\textbackslash}setpredefinedtitlepagebackground5} \\[.5cm]
369 \fbox{\scalebox{0.5}{\insertpredefinedtitlepagebackground5}}
370 \end{frame}
371
372 \begin{frame}{{Predefined Background} 6}
373 \centering\texttt{{\textbackslash}setpredefinedtitlepagebackground6} \\[.5cm]
374 \fbox{\scalebox{0.5}{\insertpredefinedtitlepagebackground6}}
375 \end{frame}
376
377 \begin{frame}{{Predefined Background} 7}
378 \centering\texttt{{\textbackslash}setpredefinedtitlepagebackground7} \\[.5cm]
379 \fbox{\scalebox{0.5}{\insertpredefinedtitlepagebackground7}}
380 \end{frame}
381
382 \begin{frame}{{Predefined Background} 8}
383 \centering\texttt{{\textbackslash}setpredefinedtitlepagebackground8} \\[.5cm]
384 \fbox{\scalebox{0.5}{\insertpredefinedtitlepagebackground8}}
385 \end{frame}
386
387 \begin{frame}{{Predefined Background} 9}
388 \centering\texttt{{\textbackslash}setpredefinedtitlepagebackground9} \\[.5cm]
389 \fbox{\scalebox{0.5}{\insertpredefinedtitlepagebackground9}}
390 \end{frame}
391
392 \begin{frame}{{Other commands} for Changing the Title Page State}
393 For restoring the title page to its default state, the following commands are available: \\[.25cm]
394 \begin{itemize}
395 \item \texttt{{\textbackslash}setdefaulttitlepageleftfigure}: restore the left picture \textcircled{2} to the default CIAD logo
396 \item \texttt{{\textbackslash}removetitlepageleftfigure}: remove any picture at position \textcircled{2}
397 \item \texttt{{\textbackslash}removetitlepageuserbackground} remove the user background \textcircled{3} and restore the default background
398 \end{itemize}
399 \end{frame}
400
401 \subsection{Authors}
402
403 \begin{frame}{Authors}
404 \begin{itemize}
405 \item Authors are defined with the command: \\
406 \texttt{{\textbackslash}author[short]\{long\}}
407 \begin{itemize}
408 \item the \texttt{long} list of author is displayed on the front page. You should separate the names with the command \texttt{{\textbackslash}and}.
409 \item the \texttt{short} list of author is displayed inside the foot line of the slides. You \alert{must not separate} the names with the command \texttt{{\textbackslash}and}.
410 \end{itemize}
411 \vfill
412 \item \alert{Alternatively}, you could define the authors with the commands: \\
413 \texttt{{\textbackslash}addauthor[short]\{long\}} \\
414 \texttt{{\textbackslash}addauthor*[short]\{long\}}
415 \begin{itemize}
416 \item Add \textbf{one} author to the list of the authors.
417 \item The ``starred'' version applies some visual indicators to the name (underline, etc.) It may be used to indicate the name of the talker for example.
418 \end{itemize}
419 \end{itemize}
420 \vfill
421 \alertbox{These commands must be put in the preamble of your document.}
422 \end{frame}
423
424 \begin{frame}{Author Description}
425 \begin{itemize}
426 \item Authors may be described with additional information (affiliation...): \\
427 \texttt{{\textbackslash}authordescription\{description\}}
428 \end{itemize}
429 \vfill
430 \alertbox{This command must be put in the preamble of your document.}
431 \end{frame}
432
433 \subsection{Title Page for PhD Oral Defense}
434
435 \begin{frame}{{Title Page} for PhD Oral Defense}
436 \begin{itemize}
437 \item It is possible to change the regular title page by a title page dedicated to \Emph{PhD or Master oral defense}.
438 \item For enabling the page, use the class option "\texttt{oraldefense}".
439 \item The configuration of the content of this special front page is explained in the following slides
440 \end{itemize}
441 \vfill
442 \centering
443 \framebox{\includegraphics[width=.5\linewidth]{exampleodtp}}
444 \end{frame}
445
446 \begin{frame}{{Configuration} of the Title Page for PhD Oral Defense}
447 \begin{itemize}
448 \item Setting the title and the author is explained in the other sections
449 \item \texttt{{\textbackslash}date\{<text>\}} changes the defense date
450 \item \texttt{{\textbackslash}place\{<text>\}} changes the defense place/location
451 \item \texttt{{\textbackslash}adddefenselogo\{<image path>\}} adds a logo at the bottom of the page
452 \item \texttt{{\textbackslash}resetdefenselogo} removes all the logo from the front page
453 \item \texttt{{\textbackslash}resetdefenselogotodefault} removes all the logo from the front page but keep the CIAD laboratory logos
454 \item \texttt{{\textbackslash}setdefensebackground(<x>,<y>)\{<background index>\}} changes the background figure. Index is the number of the background image as defined for the regular slides. x and y are the coordinates of the images on the front page
455 \end{itemize}
456 \end{frame}
457
458 \begin{frame}{{Committee Members} on the Title Page for PhD Oral Defense}
459 \alertbox*{The members of the oral defense committee could be set with the following command}
460 \begin{itemize}
461 \item \texttt{{\textbackslash}addcommittee[options]\{<name>\}\{<position>\}} adds a member in the committee with the given name and position
462 \item Options are:
463 \begin{itemize}
464 \item \texttt{female} specifies that the member is a woman
465 \item \texttt{male} specifies that the member is a man (default)
466 \item \texttt{president} specifies that the member is president of the committee
467 \item \texttt{reviewer} specifies that the member is reviewer of the work
468 \item \texttt{examiner} specifies the default role in the committee
469 \item \texttt{director} specifies that the member is the director of the candidate
470 \item \texttt{codirector} specifies that the member is the codirector of the candidate
471 \item \texttt{supervisor} specifies that the member is a supervisor of the candidate
472 \item \texttt{invitee} specifies that the member is invited in the committee
473 \end{itemize}
474 \end{itemize}
475 \end{frame}
476
477 \subsection{Title Page for Conference Presentation}
478
479 \begin{frame}{{Title Page} for Conference Presentation}
480 \begin{itemize}
481 \item It is possible to change the regular title page by a title page dedicated to \Emph{Conference Presentations}.
482 \item For enabling the page, use the class option "\texttt{conferencepresentation}".
483 \item The configuration of the content of this special front page is explained in the following slides
484 \end{itemize}
485 \vfill
486 \centering
487 \framebox{\includegraphics[width=.5\linewidth]{examplecptp}}
488 \end{frame}
489
490 \begin{frame}{{Configuration} of the Title Page for Conference Presentation}
491 \begin{itemize}
492 \item Setting the title, the authors and the event is explained in the other sections
493 \item \texttt{{\textbackslash}affilitation\{<id>\}\{<name>\}} add an affilitation with the given identifier
494 \item \texttt{{\textbackslash}affil\{<id>\}} show affilitation identifier, usually on the side of the author names
495 \item \texttt{{\textbackslash}resetaffiliations} reset the list of affiliations
496 \item \texttt{{\textbackslash}date\{<text>\}} changes the conference presentation
497 \item \texttt{{\textbackslash}place\{<text>\}} changes the place/location of the conference
498 \item \texttt{{\textbackslash}addpresentationlogo\{<image path>\}} adds a logo at the bottom of the page
499 \item \texttt{{\textbackslash}resetpresentationlogo} removes all the logo from the front page
500 \item \texttt{{\textbackslash}resetpresentationlogotodefault} removes all the logo from the front page but keep the CIAD laboratory logos
501 \item \texttt{{\textbackslash}setpresentationbackground(<x>,<y>)\{<background index>\}} changes the background figure. Index is the number of the background image as defined for the regular slides. x and y are the coordinates of the images on the front page
502 \end{itemize}
503 \end{frame}
504
505 \subsection{Keywords, Subject and Abstract}
506
507 \begin{frame}{Keywords of the Document}
508 \begin{itemize}
509 \item You could associate keywords to the document with: \\
510 \texttt{{\textbackslash}keywords\{text\}}
511 \vspace{1em}
512 \item These keywords are automatically put in the properties of the generated PDF file.
513 \vspace{1em}
514 \item To insert the keywords into your slides, you could use the command: \\
515 \texttt{{\textbackslash}insertkeywords}
516 \end{itemize}
517 \begin{example}
518 \insertkeywords
519 \end{example}
520 \end{frame}
521
522 \begin{frame}{Subject of the Document}
523 \begin{itemize}
524 \item You could associate a subject to the document with: \\
525 \texttt{{\textbackslash}subject\{text\}}
526 \vspace{1em}
527 \item This subject is automatically put in the properties of the generated PDF file.
528 \vspace{1em}
529 \item To insert the subject into your slides, you could use the command: \\
530 \texttt{{\textbackslash}insertsubject}
531 \end{itemize}
532 \begin{example}
533 \insertsubject
534 \end{example}
535 \end{frame}
536
537 \begin{frame}{Abstract of the Document}
538 \begin{itemize}
539 \item You could put a short summary of the document in the following environment:
540 \texttt{{\textbackslash}begin\{abstract\}} \\
541 \texttt{This is a summary.} \\
542 \texttt{{\textbackslash}end\{abstract\}}
543 \vspace{1em}
544 \begin{abstract}
545 This is a summary.
546 \end{abstract}
547 \item If you include an abstract, be sure that it is not some long text but just a very short message.
548 \end{itemize}
549 \end{frame}
550
551 \subsection{Name of the Event}
552
553 \begin{frame}[t]{Name of the Event}
554 \begin{block}{Definition of the event name}
555 \begin{itemize}
556 \item You could specify the name of the event for which the slides are written: \\
557 \texttt{{\textbackslash}event[short]\{full\}}
558 \item the \texttt{full} name is displayed on the front page.
559 \item the \texttt{short} name is displayed inside the foot line of the slides.
560 \item Put these commands into the document preamble.
561 \end{itemize}
562 \end{block}
563 \begin{block}{Insert the event name in your slides}
564 \begin{itemize}
565 \item You could insert the full name of the event with: \\
566 \texttt{{\textbackslash}inserteventname}
567 \item You could insert the short name of the event with: \\
568 \texttt{{\textbackslash}insertshorteventname}
569 \end{itemize}
570 \end{block}
571 \end{frame}
572
573 \subsection{Name and URL of the Institute}
574
575 \begin{frame}{Institute Name}
576 \begin{itemize}
577 \item You could change the name of the institute with the following command in the document preamble: \\
578 \texttt{{\textbackslash}institute[short]\{full\}}
579 \item the \texttt{full} name is displayed on the front page.
580 \item the \texttt{short} name is displayed inside the foot line of the slides.
581 \vspace{1em}
582 \item The default full name is: \\
583 {\smaller\insertinstitute}
584 \item The default short name is: \insertshortinstitute
585 \end{itemize}
586 \end{frame}
587
588 \begin{frame}{Institute URL}
589 \begin{itemize}
590 \item You could change the URL of the institute with: \\
591 \texttt{{\textbackslash}instituteurl\{url\}}
592 \vspace{1em}
593 \item The default url is: \insertinstituteurl
594 \vspace{1em}
595 \item To insert the institute's URL, you could use the command: \\
596 \texttt{{\textbackslash}insertinstituteurl}
597 \end{itemize}
598 \end{frame}
599
600 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
601 \section{Header and Footer Tuning}
602 \sectionsintoc{2-7}
603 \sectiontableofcontentslide
604
605 \subsection{Headline}
606
607 \begin{frame}{Headline}
608 \begin{itemize}
609 \item CIAD theme provides an headline in which you can change the logo.
610 \vfill
611 \item You could change this headline with: \begin{itemize}\footnotesize
612 \item \texttt{{\textbackslash}useheaderempty}: the headline is empty (no icon).
613 \item \texttt{{\textbackslash}useheaderdefault}: the headline is filled with the default value (may be changed with one of the commands on the following slide).
614 \end{itemize}
615 \end{itemize}
616 \end{frame}
617
618 \begin{frame}{Headline without Logo}
619 \begin{itemize}
620 \item \texttt{{\textbackslash}useheaderempty}
621 \end{itemize}
622 \begin{center}
623 \fakeslide[]{XyZ}{}
624 \end{center}
625 \end{frame}
626
627 \begin{frame}{Headline with the CIAD Logo}
628 \begin{itemize}
629 \item \texttt{{\textbackslash}useheaderlinewithciadlogo}: the default headline contains the CIAD logo.
630 \end{itemize}
631 \begin{center}
632 \fakeslide[fakeciadlogointitle]{XyZ}{}
633 \end{center}
634 \end{frame}
635
636 \begin{frame}{Headline with the UTBM Logo}
637 \begin{itemize}
638 \item \texttt{{\textbackslash}useheaderlinewithutbmlogo}: the default headline contains the UTBM logo.
639 \end{itemize}
640 \begin{center}
641 \fakeslide[fakeutbmlogointitle]{XyZ}{}
642 \end{center}
643 \end{frame}
644
645 \begin{frame}{Headline with the UBE Logo}
646 \begin{itemize}
647 \item \texttt{{\textbackslash}useheaderlinewithubelogo}: the default headline contains the UBE logo.
648 \end{itemize}
649 \begin{center}
650 \fakeslide[fakeubelogointitle]{XyZ}{}
651 \end{center}
652 \end{frame}
653
654 \begin{frame}[t]{Headline with a User-defined Logo}
655 \begin{itemize}
656 \item \texttt{{\textbackslash}useheaderlinewithuserlogo[options]\{filename\}}: the default headline contains the given image.
657 \item Options may be: \begin{itemize}
658 \item \texttt{width=<length>} - the width of the image (default: $1$cm);
659 \item \texttt{height=<length>} - the height of the image (no default);
660 \item \texttt{x=<float>} - the position of the image along x axis (default: $415$);
661 \item \texttt{y=<float>} - the position of the image along y axis (default: $-16$).
662 \end{itemize}
663 \end{itemize}
664 \begin{center}
665 \fakeslide[fakeuserlogointitle]{XyZ}{}
666 \end{center}
667 \end{frame}
668
669 \begin{frame}[t]{Slide Title Coloring}
670 \begin{itemize}
671 \item By default the title of a slide is rendered with two colors:
672 \begin{itemize}
673 \item The green color is used for the first part (as shown for the title of this slide); and
674 \item The white color is used for the second part.
675 \end{itemize}
676 \item \emph{By default, only the first word of the title is considered asthe first part of the title (colored in green)}
677 \item If you would like to change the words in the first part (colored in green), you could enclose them with braces:
678 \item Example:
679 \begin{itemize}
680 \item The following slide has the title \texttt{This is an example}, and the two first words are colored in white.
681 \item The title is written as: \texttt{\{This is\} an example}
682 \end{itemize}
683 \end{itemize}
684 \end{frame}
685
686 \begin{frame}{{This is} an example}
687 Show the previous slide for explaination on this example slide.
688 \end{frame}
689
690 \subsection{Footline}
691
692 \begin{frame}[t]{Footline}
693 \smaller
694 \begin{itemize}
695 \item Beamer provides a footline in which the progress of the presentation may be shown.
696 In the CIAD theme, this footline is located at the bottom left of the slides.
697 \vspace{1em}
698 \item You could change this footline with: \begin{itemize}
699 \item \texttt{{\textbackslash}usefootlinefortitlepage}: the footline contains the same footline as on the title page.
700 \item \texttt{{\textbackslash}usefootlinewithdocumentname}: the footline contains the title of the presentation, and other document informations.
701 \item \texttt{{\textbackslash}usefootlinewithsections}: the footline contains the list of the sections of the presentation.
702 \end{itemize}
703 \vspace{1em}
704 \item The following command is used for inserting the official laboratory logos at the bottom right corner of the slides: \\
705 \texttt{{\textbackslash}insertinstitutelogosinfootline\{commands\}}
706 \begin{itemize}
707 \item The parameter is the set of commands to insert between the logos (basically a spacing command).
708 \item You could redefine this command for changing the logos.
709 \end{itemize}
710 \end{itemize}
711 \end{frame}
712
713 \subsection{Partner Logo}
714
715 \begin{frame}{Logos for the Partners}
716 \begin{itemize}
717 \item You could add on all slides one or more logos for your partner(s): \\
718 \texttt{{\textbackslash}partnerlogo[options]\{filename\}}
719 \item You must call the previous command for each partner logo.
720 \item The \texttt{filename} is the name of the picture.
721 \vspace{1em}
722 \item This figure is declared with \texttt{{\textbackslash}pgfdeclareimage} with the key ``CIADpartnerlogo''.
723 \item The figure could be re-used with \texttt{{\textbackslash}pgfuseimage}.
724 \item The \texttt{options} are passed to \texttt{{\textbackslash}pgfdeclareimage}. The default option is \texttt{height=.5cm}.
725 \item For removing all the partner logos, use: \texttt{{\textbackslash}nopartnerllogo}.
726 \end{itemize}
727 \end{frame}
728
729
730 \subsection{Frame Numbering}
731
732 \begin{frame}{Total Number of Frames}
733 \begin{itemize}
734 \item The total number of slides in the core part of the presentation could be obtained with: \\
735 \texttt{{\textbackslash}inserttotalcoreframenumber}
736 \item For example, this documentation document has \inserttotalcoreframenumber\ slides.
737 \end{itemize}
738 \end{frame}
739
740 \begin{frame}[label=progressbartypes,t]{Style for the Frame Numbers}
741 \begin{itemize}
742 \item The following command changes the style of the frame numbers:
743 \begin{itemize}
744 \item \texttt{{\textbackslash}insertframenumbering[type number]}
745 \item The \texttt{type number} is the identifier of the progress bar to be used:
746 \end{itemize}
747 \end{itemize}
748 \begin{stabularx}{|c|c|X|}
749 \tabularhead{Type number}{Output}{Explanation} \\
750 \texttt{1} & \insertframenumbering[1] & Show the current frame and its position (in green) in the total number of frames. \\
751 \hline
752 \texttt{2} & \colorbox{footline.bg}{\tiny\insertframenumbering[2]} & Show the current frame and the total number of frames. \\
753 \hline
754 \texttt{3} & \insertframenumbering[3] & Same as the type \texttt{1} with a progression bar for the current section (in magenta). \\
755 \end{stabularx}
756 \end{frame}
757
758 \subsection{Continuation Text}
759 \begin{frame}{\subsecname}
760 \begin{itemize}
761 \item When continuing a frame, Beamer insert the ``continuation text'' after the title.
762 \vfill
763 \item To insert the continuation text manually, you should use one of:
764 \texttt{{\textbackslash}insertcontinuationtext} \\
765 \texttt{{\textbackslash}insertcontinuationwith\{integer\}}
766 \item The parameter is the value of the continuation counter to display.
767 \vfill
768 \item \inlineexample{in the following frame, the command is used in the title \texttt{{\textbackslash}insertcontinuationtext}.}
769 \item \inlineexample{in the second following frame, the command is used in the title \texttt{{\textbackslash}insertcontinuationwith\{34\}}.}
770 \end{itemize}
771 \end{frame}
772
773 \begin{frame}{Example of continuation \insertcontinuationtext}
774 The continuation text in the title of this frame is given by the command \texttt{{\textbackslash}insertcontinuationtext}.
775 \end{frame}
776
777 \begin{frame}{Example of continuation \insertcontinuationwith{34}}
778 The continuation text in the title of this frame is given by the command \texttt{{\textbackslash}insertcontinuationwith\{34\}}.
779 \end{frame}
780
781
782 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
783 \section{Background Picture}
784 \sectionsintoc{3-8}
785 \sectiontableofcontentslide
786
787 \begin{frame}{Changing the Background Picture}
788 The CIAD Beamer style is able to add a picture on the background of the slides (below your text). \\[.5cm]
789 The following slides explain how to:
790 \begin{enumerate}
791 \item use one of the pre-defined background pictures
792 \item add your own background picture
793 \item insert a background picture in your text
794 \item select a background picture randomly
795 \end{enumerate}
796 \end{frame}
797
798 \subsection{Predefined Background Pictures}
799
800 \begin{frame}{Using a Predefined Background Picture}
801 \begin{itemize}
802 \item For using a predefined background picture, you could define it for all the slides, or for a specific slide \\[.5cm]
803 \item For all the slides, you have to the \texttt{background=XX} option to the document class, where \texttt{XX} is the number of the predefined picture \\[.5cm]
804 \item For a specific slide, you have to pass the \texttt{background=XX} option to the frame, where \texttt{XX} is the number of the predefined picture
805 \end{itemize}
806 \end{frame}
807
808 \begin{frame}[t]{{Pre-defined Background Picture:} 1}
809 \texttt{{\textbackslash}documentclass[background=1]\{ciadbeamer\}} \\[.25cm]
810 \texttt{{\textbackslash}begin\{frame\}[background=1]} \\[.25cm]
811 \centering\fbox{\scalebox{0.5}{\insertslidebackgroundpicture1}} \\[.25cm]
812 \alertbox*{This background picture is candidate for random background}
813 \alertbox{If no picture appears at background, it means that you have not installed the non-free background pictures}
814 \end{frame}
815
816 \begin{frame}[background=1]{Example of Pre-defined Background Picture: 1}
817 This slide is an example of the use of the background picture number 1 \\[.5cm]
818 \ifbeamerthemeciadalternatebgcolor%
819 THIS IS ALTERNATE BACKGROUND COLOR%
820 \else%
821 THIS IS REGULAR BACKGROUND COLOR%
822 \fi\\[.5cm]%
823 Emphazed \Emph{text}
824 \end{frame}
825
826 \begin{frame}[t]{{Changing the Background Picture:} 2}
827 \texttt{{\textbackslash}documentclass[background=2]\{ciadbeamer\}} \\[.25cm]
828 \texttt{{\textbackslash}begin\{frame\}[background=2]} \\[.25cm]
829 \centering\fbox{\scalebox{0.5}{\insertslidebackgroundpicture2}} \\[.25cm]
830 \alertbox*{This background picture is candidate for random background}
831 \alertbox{If no picture appears at background, it means that you have not installed the non-free background pictures}
832 \end{frame}
833
834 \begin{frame}[background=2]{Example of Pre-defined Background Picture: 2}
835 This slide is an example of the use of the background picture number 2 \\[.5cm]
836 \ifbeamerthemeciadalternatebgcolor%
837 THIS IS ALTERNATE BACKGROUND COLOR%
838 \else%
839 THIS IS REGULAR BACKGROUND COLOR%
840 \fi\\[.5cm]%
841 Emphazed \Emph{text}
842 \end{frame}
843
844 \begin{frame}[t]{{Changing the Background Picture:} 3}
845 \texttt{{\textbackslash}documentclass[background=3]\{ciadbeamer\}} \\[.25cm]
846 \texttt{{\textbackslash}begin\{frame\}[background=3]} \\[.25cm]
847 \centering\fbox{\scalebox{0.5}{\insertslidebackgroundpicture3}} \\[.25cm]
848 \alertbox*{This background picture is candidate for random background}
849 \alertbox{If no picture appears at background, it means that you have not installed the non-free background pictures}
850 \end{frame}
851
852 \begin{frame}[background=3]{Example of Pre-defined Background Picture: 3}
853 This slide is an example of the use of the background picture number 3 \\[.5cm]
854 \ifbeamerthemeciadalternatebgcolor%
855 THIS IS ALTERNATE BACKGROUND COLOR%
856 \else%
857 THIS IS REGULAR BACKGROUND COLOR%
858 \fi\\[.5cm]%
859 Emphazed \Emph{text}
860 \end{frame}
861
862 \begin{frame}[t]{{Changing the Background Picture:} 4}
863 \texttt{{\textbackslash}documentclass[background=4]\{ciadbeamer\}} \\[.25cm]
864 \texttt{{\textbackslash}begin\{frame\}[background=4]} \\[.25cm]
865 \centering\fbox{\scalebox{0.5}{\insertslidebackgroundpicture4}} \\[.25cm]
866 \alertbox{This background picture cannot be candidate for random background}
867 \end{frame}
868
869 \begin{frame}[background=4]{Example of Pre-defined Background Picture: 4}
870 This slide is an example of the use of the background picture number 4 \\[.5cm]
871 \ifbeamerthemeciadalternatebgcolor%
872 THIS IS ALTERNATE BACKGROUND COLOR%
873 \else%
874 THIS IS REGULAR BACKGROUND COLOR%
875 \fi\\[.5cm]%
876 Emphazed \Emph{text}
877 \end{frame}
878
879 \begin{frame}[t]{{Changing the Background Picture:} 5}
880 \texttt{{\textbackslash}documentclass[background=5]\{ciadbeamer\}} \\[.25cm]
881 \texttt{{\textbackslash}begin\{frame\}[background=5]} \\[.25cm]
882 \centering\fbox{\scalebox{0.5}{\insertslidebackgroundpicture5}} \\[.25cm]
883 \alertbox*{This background picture cannot be candidate for random background}
884 \end{frame}
885
886 \begin{frame}[background=5]{Example of Pre-defined Background Picture: 5}
887 This slide is an example of the use of the background picture number 5 \\[.5cm]
888 \ifbeamerthemeciadalternatebgcolor%
889 THIS IS ALTERNATE BACKGROUND COLOR%
890 \else%
891 THIS IS REGULAR BACKGROUND COLOR%
892 \fi\\[.5cm]%
893 Emphazed \Emph{text}
894 \end{frame}
895
896 \begin{frame}[t]{{Changing the Background Picture:} 6}
897 \texttt{{\textbackslash}documentclass[background=6]\{ciadbeamer\}} \\[.25cm]
898 \texttt{{\textbackslash}begin\{frame\}[background=6]} \\[.25cm]
899 \centering\fbox{\scalebox{0.5}{\insertslidebackgroundpicture6}} \\[.25cm]
900 \alertbox*{This background picture is candidate for random background}
901 \end{frame}
902
903 \begin{frame}[background=6]{Example of Pre-defined Background Picture: 6}
904 This slide is an example of the use of the background picture number 6 \\[.5cm]
905 \ifbeamerthemeciadalternatebgcolor%
906 THIS IS ALTERNATE BACKGROUND COLOR%
907 \else%
908 THIS IS REGULAR BACKGROUND COLOR%
909 \fi\\[.5cm]%
910 Emphazed \Emph{text}
911 \end{frame}
912
913 \begin{frame}[t]{{Changing the Background Picture:} 7}
914 \texttt{{\textbackslash}documentclass[background=7]\{ciadbeamer\}} \\[.25cm]
915 \texttt{{\textbackslash}begin\{frame\}[background=7]} \\[.25cm]
916 \centering\fbox{\scalebox{0.5}{\insertslidebackgroundpicture7}} \\[.25cm]
917 \alertbox*{This background picture is candidate for random background}
918 \end{frame}
919
920 \begin{frame}[background=7]{Example of Pre-defined Background Picture: 7}
921 This slide is an example of the use of the background picture number 7 \\[.5cm]
922 \ifbeamerthemeciadalternatebgcolor%
923 THIS IS ALTERNATE BACKGROUND COLOR%
924 \else%
925 THIS IS REGULAR BACKGROUND COLOR%
926 \fi\\[.5cm]%
927 Emphazed \Emph{text}
928 \end{frame}
929
930 \begin{frame}[t]{{Changing the Background Picture:} 8}
931 \texttt{{\textbackslash}documentclass[background=8]\{ciadbeamer\}} \\[.25cm]
932 \texttt{{\textbackslash}begin\{frame\}[background=8]} \\[.25cm]
933 \centering\fbox{\scalebox{0.5}{\insertslidebackgroundpicture8}} \\[.25cm]
934 \alertbox{This background picture cannot be candidate for random background}
935 \end{frame}
936
937 \begin{frame}[background=8]{Example of Pre-defined Background Picture: 8}
938 This slide is an example of the use of the background picture number 8 \\[.5cm]
939 \ifbeamerthemeciadalternatebgcolor%
940 THIS IS ALTERNATE BACKGROUND COLOR%
941 \else%
942 THIS IS REGULAR BACKGROUND COLOR%
943 \fi\\[.5cm]%
944 Emphazed \Emph{text}
945 \end{frame}
946
947 \begin{frame}[t]{{Changing the Background Picture:} 9}
948 \texttt{{\textbackslash}documentclass[background=9]\{ciadbeamer\}} \\[.25cm]
949 \texttt{{\textbackslash}begin\{frame\}[background=9]} \\[.25cm]
950 \centering\fbox{\scalebox{0.5}{\insertslidebackgroundpicture9}} \\[.25cm]
951 \alertbox*{This background picture is candidate for random background}
952 \end{frame}
953
954 \begin{frame}[background=9]{Example of Pre-defined Background Picture: 9}
955 This slide is an example of the use of the background picture number 9 \\[.5cm]
956 \ifbeamerthemeciadalternatebgcolor%
957 THIS IS ALTERNATE BACKGROUND COLOR%
958 \else%
959 THIS IS REGULAR BACKGROUND COLOR%
960 \fi\\[.5cm]%
961 Emphazed \Emph{text}
962 \end{frame}
963
964 \begin{frame}[t]{{Changing the Background Picture:} 10}
965 \texttt{{\textbackslash}documentclass[background=10]\{ciadbeamer\}} \\[.25cm]
966 \texttt{{\textbackslash}begin\{frame\}[background=10]} \\[.25cm]
967 \centering\fbox{\scalebox{0.5}{\insertslidebackgroundpicture{10}}} \\[.25cm]
968 \alertbox*{This background picture is candidate for random background}
969 \end{frame}
970
971 \begin{frame}[background=10]{Example of Pre-defined Background Picture: 10}
972 This slide is an example of the use of the background picture number 10 \\[.5cm]
973 \ifbeamerthemeciadalternatebgcolor%
974 THIS IS ALTERNATE BACKGROUND COLOR%
975 \else%
976 THIS IS REGULAR BACKGROUND COLOR%
977 \fi\\[.5cm]%
978 Emphazed \Emph{text}
979 \end{frame}
980
981 \subsection{Add our Background Pictures}
982
983 \begin{frame}[t]{\subsecname}
984 Two functions ar provided for adding our own background picture: \\[.25cm]
985 \texttt{{\textbackslash}addslidebackgroundpicture[options](x,y)\{filename\}} \\[.25cm]
986 \texttt{{\textbackslash}addslidebackgroundpicture*[options](x,y)\{filename\}} \\[.25cm]
987 \begin{itemize}
988 \item (\texttt{x},\texttt{y}) is the position of the background on the slide
989 \item \texttt{filename} is the filename of the picture
990 \item \texttt{options} is the list of optional parameters in:
991 \begin{itemize}
992 \item \texttt{width=<length>} is the width of the picture, by default \texttt{{\textbackslash}linewidth}
993 \item \texttt{alternatecolor[=<true|false>]} is a boolean flag that indicates if the alternate colors should be preferred to regular colors when used with this background. Alternate colors are usually considered to be suitable with dark brackground pictures
994 \item \texttt{outline[=<true|false>]} is a boolean flag that indicates if the background is for the outline slides
995 \end{itemize}
996 \item \emph{The stared version of the command has the effect to register the picture as a candidate for the random selection of the background}
997 \end{itemize}
998 \end{frame}
999
1000 \subsection{Insert a Background Picture}
1001
1002 \begin{frame}{\subsecname}
1003 The following commands enable you to insert the background picture: \\[.25cm]
1004 \texttt{{\textbackslash}insertslidebackgroundpicture\{num\}} \\[.25cm]
1005 \texttt{{\textbackslash}putslidebackgroundpicture\{num\}} \\[.25cm]
1006 \texttt{{\textbackslash}insertcurrentslidebackgroundpicture} \\[.25cm]
1007 \begin{itemize}
1008 \item \texttt{num} is the number of the predefined picture
1009 \item \texttt{{\textbackslash}insertslidebackgroundpicture} is replaced by the picture, using PGF API
1010 \item \texttt{{\textbackslash}putslidebackgroundpicture} places the picture at the expected position in the enclosing Tikz environment
1011 \item \texttt{{\textbackslash}insertcurrentslidebackgroundpicture} places the current picture at the expected position in the enclosing Tikz environment; the current picture depends on the "\texttt{background}" configuration and the random selection of the picture
1012 \end{itemize}
1013 \end{frame}
1014
1015 \subsection{Random Background Picture}
1016
1017 \begin{frame}{\subsecname}
1018 It is possible to change the background picture random. The candidates are those added with the \texttt{{\textbackslash}addslidebackgroundpicture*} command \\[.25cm]
1019 Turning on the random selection of the background is done by specifying the value "\texttt{randombackground}" as class option: \\[.25cm]
1020 \texttt{{\textbackslash}documentclass[randombackground]\{ciadbeamer\}}
1021 \end{frame}
1022
1023
1024
1025 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1026 \section{Sectionning}
1027 \sectionsintoc{4-}
1028 \sectiontableofcontentslide
1029
1030 \subsection{Table of Contents}
1031
1032 \begin{frame}{Table of Contents/Outline}
1033 \begin{itemize}
1034 \item The CIAD theme provides a convenient command to insert a table of contents into a slide: \\
1035 \texttt{{\textbackslash}tableofcontentsslide[toc options][frame options]}
1036 \vspace{1em}
1037 \item It is equivalent to: \\
1038 \texttt{{\textbackslash}begin\{frame\}[t,frame options]} \\
1039 \texttt{{\textbackslash}frametitle\{{\textbackslash}translate\{Outline\}\}} \\
1040 \texttt{{\textbackslash}tableofcontents[toc options]} \\
1041 \texttt{{\textbackslash}end\{frame\}}
1042 \vspace{1em}
1043 \item In addition to the standard options for {{\textbackslash}tableofcontents}, the option \texttt{onlyparts} permits to display the list of the parts, only.
1044 \item \texttt{{\textbackslash}outlinetitlelabel} is the default title of the outline slide.
1045 \end{itemize}
1046 \end{frame}
1047
1048 \begin{frame}{Table of Contents for Sections}
1049 \begin{itemize}
1050 \item The CIAD theme provides convenient commands for showing the TOC for sections into a slide: \\
1051 \texttt{{\textbackslash}sectiontableofcontentslide} \\
1052 \texttt{{\textbackslash}subsectiontableofcontentslide} \\
1053 \texttt{{\textbackslash}subsubsectiontableofcontentslide}
1054 \item They provide standard show/hide configurations for each section type.
1055 \item You could control the list of the sections that are shown in the TOC by specifying a range of section numbers with: \\
1056 \texttt{{\textbackslash}sectionsintoc\{section\_range\}} \\
1057 It is equivalent to passing option \texttt{sections={section\_range}} to the \texttt{{\textbackslash}tableofcontent} command
1058 \item The \texttt{{\textbackslash}sectionsintoc} command is active until it is evaluated again or the following resetting command is used: \\
1059 \texttt{{\textbackslash}resetsectionsintoc}
1060 \end{itemize}
1061 \end{frame}
1062
1063 \subsection{Part Sectioning}
1064
1065 \begin{frame}{Part Sectioning}
1066 \begin{itemize}
1067 \item The CIAD theme provides specific implementations of the \texttt{{\textbackslash}part} command: \\
1068 \texttt{{\textbackslash}part[options]\{title\}} \\
1069 \texttt{{\textbackslash}part*[options]\{title\}}
1070 \vfill
1071 \item Options may be: \begin{itemize}
1072 \item a string value that is the ``short'' title of the part that is appearing in the table of contents.
1073 \item the pair \texttt{title=text} to define the ``short'' title.
1074 \item the pair \texttt{subtitle=text} to define the subtitle.
1075 \item the pair \texttt{author=text} to define the author of the part.
1076 \item the pair \texttt{label=id} to define the label of the part.
1077 \end{itemize}
1078 \vfill
1079 \item The stared version of \texttt{{\textbackslash}part} does not add the part in the table of contents.
1080 \end{itemize}
1081 \end{frame}
1082
1083 \begin{frame}{{Changing the prefix} in the part's slides}
1084 \begin{itemize}
1085 \item By default, each part starts with a slide with only the part's title on, without a prefix such as ``Chapter X''.
1086 \vfill
1087 \item The CIAD theme provides the following commands to change the part's prefix:
1088 \begin{itemize}
1089 \item \texttt{{\textbackslash}insertpartprefix} insert the current part prefix.
1090 \item \texttt{{\textbackslash}partprefix[counter text]\{text\}} changes the prefix to ``text'' followed by ``counter text''.
1091 \item \texttt{{\textbackslash}resetpartprefix} resets the prefix to the empty text.
1092 \end{itemize}
1093 \end{itemize}
1094 \vfill
1095 \begin{example}
1096 \texttt{{\textbackslash}partprefix[{\textbackslash}arabic\{part\}]\{Chapter\}} \\
1097 produces: ``Chapter 1'', ``Chapter 2'', \dots
1098 \end{example}
1099 \end{frame}
1100
1101 \subsection{Limit sections in TOC}
1102
1103 \begin{frame}{{Limit Sections} in TOC}
1104 \begin{itemize}
1105 \item Sometimes the number of sections into the TOC is too high for enabling to show all the sections' titles on the slide.
1106 \item It is possible to specifiy a range of section numbers that should appear on the TOC slide. The new optional argument \texttt{<>} of \texttt{{\textbackslash}section}: \\
1107 \texttt{{\textbackslash}section<range>[title in toc]\{title\}} \\
1108 \texttt{{\textbackslash}section*<range>[title in toc]\{title\}} \\
1109 \texttt{{\textbackslash}section<range>*[title in toc]\{title\}}
1110 \vfill
1111 \item Arguments are: \begin{itemize}
1112 \item \texttt{range}: the range of section numbers to show on the TOC.
1113 \item \texttt{title in toc}: the title of the section into the TOC.
1114 \item \texttt{title}: the standard title of the section.
1115 \end{itemize}
1116 \item The `'starred'' commands above ignore the \texttt{title in toc} argument and do not add the section into the TOC.
1117 \end{itemize}
1118 \end{frame}
1119
1120 \subsection{Appendix}
1121
1122 \begin{frame}{\subsecname}
1123 \begin{itemize}
1124 \item The CIAD theme supports the appendix part.
1125 \vspace{1em}
1126 \item To create the appendix, you must:
1127 \begin{enumerate}
1128 \item put the command \texttt{{\textbackslash}appendix} in your {\TeX} file; or
1129 \item put the command \texttt{{\textbackslash}bibliography} in your {\TeX} file.
1130 \end{enumerate}
1131 \vspace{1em}
1132 \item All the slides that are put after the creation of the appendix are assumed to be part of the appendix.
1133 \item The slides in the appendix are not considered in the total number of slides for the core part of the document (see \texttt{{\textbackslash}inserttotalcoreframenumber}).
1134 \item The slide numbers in the appendix are roman (not arabic), and the page counter is reset at the begining of the appendix.
1135 \end{itemize}
1136 \end{frame}
1137
1138 \subsection{Bibliography}
1139
1140 \subsubsection{Bibliography with regular \LaTeX\ macros}
1141
1142 \begin{frame}{Regular \LaTeX\ Bibliography}
1143 \begin{itemize}
1144 \item You are able to include a bibliography in your slides with the two standard {\LaTeX} commands: \\
1145 \texttt{{\textbackslash}bibliographystyle\{style\}} \\
1146 \texttt{{\textbackslash}bibliography\{filename\}}
1147 \vspace{1em}
1148 \item If you do not call \texttt{{\textbackslash}bibliographystyle}, the default style is \texttt{apalike}.
1149 \vspace{1em}
1150 \item When the command \texttt{{\textbackslash}bibliography} is used, the appendix section is started if it was not already done.
1151 \item The bibliography slides are \alert{always at the end of the document}. Even if you put slides after the {\textbackslash}bibliography command.
1152 \item \emph{The first slide of the bibliography is marked with the label ``\texttt{bibliographyslide}'' for \texttt{{\textbackslash}hyperlink}.}
1153 \end{itemize}
1154 \end{frame}
1155
1156 \subsubsection{Bibliography with Bibunits}
1157
1158 \begin{frame}{Bibliography with Bibunits}
1159 \begin{itemize}
1160 \item \texttt{Bibunits} package allows to create separate, individual bibliographies for specific parts
1161 \item To use \texttt{Bibunits}, you have to: \\
1162 \texttt{{\textbackslash}usepackage\{bibunits\}}
1163 \item The two following elements are automatically activated when you include \texttt{Bibunits}:
1164 \begin{enumerate}
1165 \item \texttt{{\textbackslash}bibliographyslide} create a frame with the bibliography in the current \texttt{Bibunits} section and using the regular \texttt{Bibunits} macro: \texttt{{\textbackslash}putbib[biblio]}. \\
1166 Please note that the name of the Bib\TeX\ database is always \texttt{biblio.bib}.
1167 \item The following environment permits to create a specific \texttt{Bibunits} block: \\
1168 \texttt{{\textbackslash}begin\{bibliographysection\}} \\
1169 ... \\
1170 \texttt{{\textbackslash}end\{bibliographysection\}} \\
1171 This environment automatically expands to \texttt{{\textbackslash}bibliographyslide} at the end of the section block.
1172 \end{enumerate}
1173 \end{itemize}
1174 \end{frame}
1175
1176
1177 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1178 \section{Special Slides}
1179 \sectionsintoc{5-}
1180 \sectiontableofcontentslide
1181
1182 \subsection{Slide for titles}
1183 \subsectiontableofcontentslide
1184
1185 \begin{frame}{\subsecname}
1186 \begin{itemize}
1187 \item Slide that is drawn as a ``part'' frame but \emph{without adding a part section in the document}. This command is usually used for showing the frame outside the context of a \texttt{{\textbackslash}part} command.
1188 \item \LaTeX\ Command:\\
1189 \texttt{{\textbackslash}partframeonly\{title\}}
1190 \item \texttt{title} is the title that must be shown on the frame
1191 \end{itemize}
1192 \vspace{1cm}
1193 Example sohwn on next slide: \\
1194 \texttt{{\textbackslash}partframeonly\{This is an example of partframeonly\}}
1195 \end{frame}
1196
1197 \partframeonly{This is an example of partframeonly}
1198
1199 \subsection{Slide with a title on the right}
1200 \subsectiontableofcontentslide
1201
1202 \begin{frame}{\subsecname}
1203 \begin{itemize}
1204 \item Slide that contains an additional title on the right, and the standard content is rendered on the left part of slide.
1205 \item Definition with the following environment: \\
1206 \texttt{{\textbackslash}begin\{righttitleframe\}[options]\{main title\}\{right title\}} \\
1207 \texttt{Content of the Slide} \\
1208 \texttt{{\textbackslash}end\{righttitleframe\}}
1209 \item \texttt{options} are options to pass to the frame
1210 \item \texttt{main title} is the title to be rendered at the top of the frame
1211 \item \texttt{right title} is the title to be rendered at the right of the frame
1212 \end{itemize}
1213 \end{frame}
1214
1215 \begin{righttitleframe}{Example of frame with right title}{This is the right title}
1216 This is the standard frame content. See the previous slide for an explanation.
1217 \end{righttitleframe}
1218
1219 \subsection{Slide with text and a picture}
1220 \subsectiontableofcontentslide
1221
1222 \begin{frame}{Slide with Text and Picture}
1223 \begin{itemize}
1224 \item Slide with a regular text area on the left and a picture inside a big green area on the right.
1225 \item Definition with the following environment: \\
1226 \texttt{{\textbackslash}begin\{textpictureframe\}[options]\{main title\}\{pgf-id\}} \\
1227 \texttt{Content of the Slide} \\
1228 \texttt{{\textbackslash}end\{textpictureframe\}}
1229 \item \texttt{options} are options to pass to the frame
1230 \item \texttt{main title} is the title to be rendered at the top of the frame
1231 \item \texttt{pgf-id} is identifier of an image that was declared with the \texttt{{\textbackslash}addtextpicturepicture}: \\
1232 \texttt{{\textbackslash}addtextpicturepicture\{pgf-id\}\{picture filename\}} \\
1233 \texttt{{\textbackslash}addtextpicturepicture*\{pgf-id\}\{picture filename\}}
1234 no-star version forces the width size of the picture; star version forces the height size of the picture
1235 \end{itemize}
1236 \end{frame}
1237
1238 \addtextpicturepicture{tpexample1}{ciad-title-background-left9}
1239 \begin{textpictureframe}{{Example of frame} with left text and right picture}{tpexample1}
1240 This is the standard frame content. See the previous slide for an explanation. \\[.5cm]
1241 \smaller
1242 \texttt{{\textbackslash}addtextpicturepicture\{tpexample1\} \{ciad-title-background-left9\}} \\
1243 \texttt{{\textbackslash}begin\{textpictureframe\} \{Example of frame with left text and right picture\}\{tpexample1\}} \\
1244 \texttt{{\textbackslash}end\{textpictureframe\}}
1245 \end{textpictureframe}
1246
1247 \subsection{Slide with lawn (vertical green area)}
1248 \subsectiontableofcontentslide
1249
1250 \begin{frame}{Slide with a lawn on the left}
1251 \begin{itemize}
1252 \item Slide that a green area (the lawn) on which text is displayed, and a picture is drawn on the right of the lawn.
1253 \item Definition with the following environment: \\
1254 \texttt{{\textbackslash}begin\{leftlawnframe\}[options]\{main title\}\{pgf-id\}} \\
1255 \texttt{Content of the Slide} \\
1256 \texttt{{\textbackslash}end\{leftlawnframe\}}
1257 \item \texttt{options} are options to pass to the frame
1258 \item \texttt{main title} is the title to be rendered at the top of the frame
1259 \item \texttt{pgf-id} is identifier of an image that was declared with the \texttt{{\textbackslash}addlawnpicture}: \\
1260 \texttt{{\textbackslash}addlawnpicture\{pgf-id\}\{picture filename\}} \\
1261 \texttt{{\textbackslash}addlawnpicture*\{pgf-id\}\{picture filename\}}
1262 no-star version forces the width size of the picture; star version forces the height size of the picture
1263 \end{itemize}
1264 \end{frame}
1265
1266 \addlawnpicture{lawnexample1}{ciad-title-background-left9}
1267 \begin{leftlawnframe}{{Example of frame} with left lawn}{lawnexample1}
1268 This is the standard frame content. See the previous slide for an explanation. \\[.5cm]
1269 \smaller
1270 \texttt{{\textbackslash}addlawnpicture\{ lawnexample1\} \{ciad-title-background-left9\}} \\
1271 \texttt{{\textbackslash}begin\{leftlawnframe\} \{Example of frame with left lawn\}\{lawnexample1\}} \\
1272 \texttt{{\textbackslash}end\{leftlawnframe\}}
1273 \end{leftlawnframe}
1274
1275 \begin{frame}{Slide with a lawn on the right}
1276 \begin{itemize}
1277 \item Slide that a green area (the lawn) on which text is displayed, and a picture is drawn on the left of the lawn.
1278 \item Definition with the following environment: \\
1279 \texttt{{\textbackslash}begin\{rightlawnframe\}[options]\{main title\}\{pgf-id\}} \\
1280 \texttt{Content of the Slide} \\
1281 \texttt{{\textbackslash}end\{rightlawnframe\}}
1282 \item \texttt{options} are options to pass to the frame
1283 \item \texttt{main title} is the title to be rendered at the top of the frame
1284 \item \texttt{pgf-id} is identifier of an image that was declared with the \texttt{{\textbackslash}addlawnpicture}: \\
1285 \texttt{{\textbackslash}addlawnpicture\{pgf-id\}\{picture filename\}} \\
1286 \texttt{{\textbackslash}addlawnpicture*\{pgf-id\}\{picture filename\}} \\
1287 no-star version forces the width size of the picture; star version forces the height size of the picture
1288 \end{itemize}
1289 \end{frame}
1290
1291 \begin{rightlawnframe}{{Example of frame} with right lawn}{lawnexample1}
1292 This is the standard frame content. See the previous slide for an explanation. \\[.5cm]
1293 \smaller
1294 \texttt{{\textbackslash}addlawnpicture\{ lawnexample1\} \{ciad-title-background-left9\}} \\
1295 \texttt{{\textbackslash}begin\{rightlawnframe\} \{Example of frame with right lawn\}\{lawnexample1\}} \\
1296 \texttt{{\textbackslash}end\{rightlawnframe\}}
1297 \end{rightlawnframe}
1298
1299 \subsection{Slide with a grid of icons}
1300 \subsectiontableofcontentslide
1301
1302 \begin{frame}[t]{Slide with a Grid of Icons}
1303 \begin{itemize}
1304 \item Slide has a grid structure with 10 cells
1305 \item Each cell contains an icon and a text
1306 \begin{center}
1307 \includegraphics[width=.5\linewidth]{gridframe}
1308 \end{center}
1309 \item Definition with the following environment: \\
1310 \texttt{{\textbackslash}begin\{gridframe\}[options]\{main title\}} \\
1311 \emph{Cell declarations (see next slide)} \\
1312 \texttt{{\textbackslash}end\{gridframe\}}
1313 \end{itemize}
1314 \end{frame}
1315
1316 \begin{frame}{{Declaration of a cell} into the icon grid}
1317 The declaration of a cell into the icon grid is possible by using one of the two following commands
1318 \begin{block}{Declaration of a cell with a picture \Emph{loaded by PGF}}
1319 \texttt{{\textbackslash}cell\{cell-number\}\{pgf-id\}\{text\}} \\[.25cm]
1320 Each picture must be declared with the following command in order to be loadable by PGF: \\
1321 \texttt{{\textbackslash}addgridpicture\{pgf-id\}\{picture-filename\}}
1322 \end{block}
1323 \begin{block}{Declaration of a cell with a picture \Emph{loaded by Graphicx}}
1324 \texttt{{\textbackslash}cell*\{cell-number\}\{picture-filename\}\{text\}}
1325 \end{block}
1326 \end{frame}
1327
1328 \resolvepicturename{example3}
1329 \addgridpicture{example3}{\resolvedfilename}
1330 \begin{gridframe}{{Example of frame} with a grid of icons}
1331 \cell*2{example1}{Cell 2}
1332 \cell*3{example2}{Cell 3}
1333 \cell4{example3}{Cell 4}
1334 \cell*6{example4}{Cell 6}
1335 \cell*8{example5}{Cell 8}
1336 \cell*{10}{example6}{Cell 10}
1337 \end{gridframe}
1338
1339 \begin{gridframe}[background=4,c]{{Example of frame} with a grid of icons \insertcontinuationtext}
1340 \cell*2{example1}{Cell 2}
1341 \cell*3{example2}{Cell 3}
1342 \cell4{example3}{Cell 4}
1343 \cell*6{example4}{Cell 6}
1344 \cell*8{example5}{Cell 8}
1345 \cell*{10}{example6}{Cell 10}
1346 \end{gridframe}
1347
1348 \subsection{Slide with a single figure on the center}
1349 \subsectiontableofcontentslide
1350
1351 \begin{frame}{Slide with a Single Figure}
1352 \begin{itemize}
1353 \item The CIAD theme provides a command that permits to display a picture on the entire slide: \\
1354 \texttt{{\textbackslash}figureslide[options]\{Title of the slide\}\{file\}}
1355 \item The size of the picture is adjusted to the slide drawing area.
1356 \item Example: \texttt{{\textbackslash}figureslide\{XyZ\}\{ciad-ciadlogo\}}
1357 \item If no image appears below, it is because you have not installed the non-free logos
1358 \end{itemize}
1359 \vspace{1em}
1360 \begin{center}
1361 \fakeslide{XyZ}{
1362 \IfFileExists{ciad-ciadlogo.pdf}{
1363 \put(-3,20){\includegraphics[width=\linewidth]{ciad-ciadlogo}}
1364 }{
1365 \put(-3,20){\includegraphics[width=\linewidth]{ciadbeamer-nologo}}
1366 }
1367 }
1368 \end{center}
1369 \end{frame}
1370
1371 \begin{frame}{Slide with a Single Figure \insertcontinuationtext}
1372 \begin{itemize}
1373 \item Options for \texttt{{\textbackslash}figureslide} are:
1374 \begin{itemize}
1375 \item \texttt{width=<length>}, specifies the width of the image.
1376 \vfill
1377 \item \texttt{height=<length>}, specifies the height of the image.
1378 \vfill
1379 \item \texttt{scale=<float>}, specifies the scaling factor of the image.
1380 \vfill
1381 \item \texttt{valign=t|c|b}, specifies the vertical alignment of the image (\texttt{t}: top, \texttt{c}: center, \texttt{b}: bottom).
1382 \vfill
1383 \item \texttt{halign=l|c|r}, specifies the horizontal alignment of the image (\texttt{l}: left, \texttt{c}: center, \texttt{r}: right).
1384 \vfill
1385 \item \texttt{label=<text>}, specifies the label for the frame.
1386 \vfill
1387 \item \texttt{subtitle=<text>}, specifies the subtitle for the frame.
1388 \end{itemize}
1389 \end{itemize}
1390 \end{frame}
1391
1392 \IfFileExists{ciad-ciadlogo.pdf}{%
1393 \figureslide{Example of a Single Figure on a Slide}{ciad-ciadlogo}
1394 }{}
1395
1396 \subsection{Slide with an ``animated'' figure on the center}
1397 \subsectiontableofcontentslide
1398
1399 \begin{frame}{How to Create an ``Animated'' Figure?}
1400 \smaller
1401 \alertbox{You must use the AutoLaTeX\footnote{\url{http://www.arakhne.org/autolatex}} tool also included in many \TeX\ distributions (e.g., {\TeX}Live.}
1402 \begin{enumerate}
1403 \item Open your favorite SVG editor (Inkscape, etc.).
1404 \item Create the SVG figure with a layer for each frame.
1405 \item Put the frame specification into the names of the layers. The frame specification gives the frame numbers for which the SVG layer is displayed. \inlineexample{\texttt{<1-3>} indicates the frames 1 to 3. Do not forget to put the lower-than and upper-than symbols.}
1406 \item Save and run AutoLaTeX. This tool will create a PDF file for each layer, and a \TeX\ file (\texttt{.pdftex\string_t}) that is controlling the displaying of the figure.
1407 \item Include the figure with: \texttt{{\textbackslash}includeanimatedfigure<framespec>[options]\{texfilename\}} or with \texttt{{\textbackslash}animatedfigureslide}.
1408 \end{enumerate}
1409 \end{frame}
1410
1411 \begin{frame}{Example of ``Animated'' Figure with \texttt{{\textbackslash}input}}
1412 \begin{itemize}
1413 \item Content of the figure: Three layers are defined with the following names:
1414 \begin{itemize}
1415 \item \texttt{Layer1 <1->} --- display the circle in all the frames, starting from the first.
1416 \item \texttt{Layer2 <2>} --- display the top yellow star in the second frame.
1417 \item \texttt{Layer3 <3>} --- display the right yellow star in the third frame.
1418 \end{itemize}
1419 \item Inclusion method: \texttt{{\textbackslash}input\{path-to-figure.pdftex\string_t\}}
1420 \end{itemize}
1421 % The following code is a copy paste of the \includeanimatedfigure given by AutoLaTeX.
1422 \begin{center}
1423 \resizebox{.3\linewidth}{!}{
1424 \resolvepicturename{layerexample}
1425 \input{\resolvedfilename}
1426 }
1427 \end{center}
1428 \end{frame}
1429
1430 \begin{frame}{Exemple of inclusion code with \texttt{{\textbackslash}input} (used on the previous slide)}
1431 \texttt{{\textbackslash}resizebox\{.3{\textbackslash}linewidth\}\{!\}\{} \\
1432 \texttt{\hspace{.5cm}{\textbackslash}resolvepicturename\{image-name\}} \\
1433 \texttt{\hspace{.5cm}{\textbackslash}input\{{\textbackslash}resolvedfilename\}} \\
1434 \texttt{\}}
1435 \end{frame}
1436
1437 \begin{frame}{Exemple of inclusion code with macros from AutoLaTeX}
1438 \texttt{{\textbackslash}usepackage\{autolatex\}} \\
1439 \vspace{.5cm}
1440 \texttt{...} \\
1441 \vspace{.5cm}
1442 \texttt{{\textbackslash}resolvepicturename\{image-name\}} \\
1443 \texttt{{\textbackslash}includeanimatedfigure[width=.3{\textbackslash}linewidth]\{{\textbackslash}resolvedfilename\}}
1444 \end{frame}
1445
1446 \begin{frame}{Slide with a Single ``Animated'' Figure}
1447 \begin{itemize}
1448 \item The AutoLaTeX\footnote{\url{http://www.arakhne.org/autolatex}} tool provides a \LaTeX\ package that enables to include images with layers. Each layers may be displayed in a separate frame by Beamer.
1449 \vfill
1450 \item If you have included the AutoLaTeX package, the following command enables you to display an animated figure on the entire space of a slide: \\
1451 \texttt{{\textbackslash}animatedfigureslide<framespec>[options]\{title\}\{file\}}
1452 \item This command is similar to \texttt{{\textbackslash}figureslide}, except that the given picture must be displayable by the command \texttt{{\textbackslash}includeanimatedfigure}, provided by AutoLaTeX.
1453 \end{itemize}
1454 \vspace{.5cm}
1455 \texttt{{\textbackslash}usepackage\{autolatex-beamer\}} \\
1456 \vspace{.25cm}
1457 \texttt{...} \\
1458 \vspace{.25cm}
1459 \texttt{{\textbackslash}animatedfigureslide\{Some title\}\{image-name\}}
1460 \end{frame}
1461
1462 \subsection{Slide with a single video on the center}
1463 \subsectiontableofcontentslide
1464
1465 \begin{frame}{Slide with a Single Embedded Video}
1466 \begin{itemize}
1467 \item The CIAD theme provides a command that permits to display a \emph{embedded video} on the entire slide. This video could be displayed during the show with a viewer such as PDFPC: \\
1468 \texttt{{\textbackslash}embeddedvideoslide[options]\{Title of the slide\}\{video file\}\{image file\}}
1469 \item The size of the picture is adjusted to the slide drawing area.
1470 \item Example: \texttt{{\textbackslash}embeddedvideoslide\{XyZ\}\{myvideo\}\{ciad-ciadlogo\}}
1471 \item The given image is displayed if the viewer cannot show up the video.
1472 \end{itemize}
1473 \end{frame}
1474
1475 \begin{frame}{Slide with a Single Embedded Video \insertcontinuationtext}
1476 \begin{itemize}
1477 \item Options for \texttt{{\textbackslash}embeddedvideoslide} are:
1478 \begin{itemize}
1479 \item \texttt{width=<length>}, specifies the width of the video.
1480 \vfill
1481 \item \texttt{height=<length>}, specifies the height of the video.
1482 \vfill
1483 \item \texttt{scale=<float>}, specifies the scaling factor of the video.
1484 \vfill
1485 \item \texttt{valign=t|c|b}, specifies the vertical alignment of the video (\texttt{t}: top, \texttt{c}: center, \texttt{b}: bottom).
1486 \vfill
1487 \item \texttt{halign=l|c|r}, specifies the horizontal alignment of the video (\texttt{l}: left, \texttt{c}: center, \texttt{r}: right).
1488 \vfill
1489 \item \texttt{label=<text>}, specifies the label for the frame.
1490 \vfill
1491 \item \texttt{subtitle=<text>}, specifies the subtitle for the frame.
1492 \end{itemize}
1493 \end{itemize}
1494 \end{frame}
1495
1496 \subsection{Slide with text, video and logos}
1497 \subsectiontableofcontentslide
1498
1499 \begin{frame}{Slide with Text, Video and Logos}
1500 \begin{itemize}
1501 \item Slide with a regular text area on the left, a video inside a big green area on the right and logos below the video.
1502 \item Definition with the following environment: \\
1503 \texttt{{\textbackslash}begin\{textvideoframe\}[options]\{main title\}\{video-path\}\{picture-path\}} \\
1504 \texttt{Content of the Slide} \\
1505 \texttt{{\textbackslash}end\{textvideoframe\}}
1506 \item \texttt{options} are options to pass to the frame
1507 \item \texttt{main title} is the title to be rendered at the top of the frame
1508 \item \texttt{video-path} is the path to the video
1509 \item \texttt{picture-path} is the path to the picture that is rendered in place of the video
1510 \item \texttt{{\textbackslash}settextvideofooter\{text\}} permits to set the logo text below the video
1511 \end{itemize}
1512 \end{frame}
1513
1514 \settextvideofooter{XYZ}
1515 \begin{textvideoframe}{{Example of frame} with left text and right video}{fakevideo.mp4}{examplecptp}
1516 This is the standard frame content. See the previous slide for an explanation \\[.5cm]
1517 \texttt{{\textbackslash}settextvideofooter\{XYZ\}} \\[.5cm]
1518 \texttt{{\textbackslash}begin\{textvideoframe\}} \\
1519 \texttt{~~\{Example of frame[...]\}} \\
1520 \texttt{~~\{fakevideo.mp4\}\{examplecptp\}} \\
1521 \texttt{~~This is [...]} \\
1522 \texttt{{\textbackslash}end\{textvideoframe\}}
1523 \end{textvideoframe}
1524
1525
1526 \subsection{Final or conclusion slide}
1527 \subsectiontableofcontentslide
1528
1529 \begin{frame}{{A Slide} at the End}
1530 \begin{itemize}
1531 \item The CIAD theme automatically adds a slide at the end of the presentation to avoid ``black'' screen.
1532 \vfill
1533 \item The default text on this slide is: ``\translate{Thanks}''.
1534 \item An other text that is available is: ``\translate{Questions}''.
1535 \item The third option is to repeat the title slide.
1536 \vfill
1537 \item The class options \texttt{thanksslide}, \texttt{questionslide} and \texttt{repeattitleslide} permit to select one of these possibilities.
1538 \vfill
1539 \item The command \texttt{{\textbackslash}finalslidetext\{text\}} may be used to set the text by hand.
1540 \vfill
1541 \item \emph{This slide is marked with the label \texttt{finalslide} for \texttt{{\textbackslash}hyperlink}.}
1542 \vfill
1543 \item You could display this slide at any moment with: \texttt{{\textbackslash}thanksslide}.
1544 \end{itemize}
1545 \end{frame}
1546
1547 \subsection{Slide with book description}
1548 \subsectiontableofcontentslide
1549
1550 \begin{frame}{Book Description}
1551 \begin{itemize}
1552 \item You are able to include a description of a book in your presentation with the command: \\
1553 \texttt{{\textbackslash}libraryslide[options]\{picture\}} \\
1554 \texttt{\{title\}\{authors\}\{How published\}\{ISBN\}}
1555 \vspace{1em}
1556 \item The command creates a slide for a book.
1557 \vspace{1em}
1558 \item The \texttt{options} may be composed of pairs of name-value:
1559 \begin{itemize}
1560 \item \texttt{frametitle=text}: specifies the title of the frame.
1561 \item \texttt{subtitle=text}: specifies the subtitle of the book.
1562 \end{itemize}
1563 \item If a name is not specified in the options, the ``\texttt{subtitle}'' name is assumed.
1564 \end{itemize}
1565 \end{frame}
1566
1567 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1568 \section{Slide Content}
1569 \sectionsintoc{6-}
1570 \sectiontableofcontentslide
1571
1572 \subsection{{\textbackslash}includegraphics}
1573 \subsectiontableofcontentslide
1574
1575 \begin{frame}{{\textbackslash}includegraphics}
1576 \alertbox{The command \textbf{{\textbackslash}includegraphics} is overridden by the theme.}
1577 \begin{itemize}
1578 \vspace{2em}
1579 \item If you don't specify any optional parameter related to the size of the picture in the document, the \textbf{{\textbackslash}includegraphics} command will use by default: \\
1580 \textbf{width={\textbackslash}linewidth}
1581 \end{itemize}
1582 \end{frame}
1583
1584 \subsection{Drawing}
1585 \subsectiontableofcontentslide
1586
1587 \begin{frame}{Put at an Absolute Position}
1588 \begin{itemize}
1589 \item If you want to put something at an absolute position in your frame, you could use: \\
1590 \texttt{{\textbackslash}putat<framespec>(x,y)\{something\}}
1591 \item \alert{Caution: The added elements are put less deeper than the slide text.}
1592 \item For putting the elements more deeper than the slide text, use: \\
1593 \texttt{{\textbackslash}putat*<framespec>(x,y)\{something\}}
1594 \vspace{1em}
1595 \item Example: \\
1596 \texttt{{\textbackslash}putat(180,-20)\{{\textbackslash}color\{red\}\{TESTING\}\}}
1597 \end{itemize}
1598 \putat(180,-20){\color{red}{TESTING}}
1599 \end{frame}
1600
1601 \subsection{Blocks}
1602 \subsectiontableofcontentslide
1603
1604 \begin{frame}{Left-Anchor Block}
1605 \begin{itemize}
1606 \item The CIAD Beamer theme provides an environment named ``left-anchor block'' that provides a fancy display for a block of information: \\[.25cm]
1607 \begin{leftanchorblock}{The title}{XX}
1608 This is a content
1609 \end{leftanchorblock}
1610 \vspace{.5cm}
1611 \item This type of block has a title, a text to write in the circle (e.g., \texttt{XX}), and a content
1612 \item The environment for rendering a left-anchor block is: \\[.25cm]
1613 \texttt{{\textbackslash}begin\{leftanchorblock\}[width]\{title\}\{text in the circle\}} \\
1614 \mbox{}\hspace{.2cm}\texttt{the content of the block} \\
1615 \texttt{{\textbackslash}end\{leftanchorblock\}}
1616 \end{itemize}
1617 \end{frame}
1618
1619 \begin{frame}{Right-Anchor Block}
1620 \begin{itemize}
1621 \item The CIAD Beamer theme provides an environment named ``right-anchor block'' that provides a fancy display for a block of information: \\[.25cm]
1622 \begin{rightanchorblock}{The title}{XX}
1623 This is a content
1624 \end{rightanchorblock}
1625 \vspace{.5cm}
1626 \item This type of block has a title, a text to write in the circle (e.g., \texttt{XX}), and a content
1627 \item The environment for rendering a right-anchor block is: \\[.25cm]
1628 \texttt{{\textbackslash}begin\{rightanchorblock\}[width]\{title\}\{text in the circle\}} \\
1629 \mbox{}\hspace{.2cm}\texttt{the content of the block} \\
1630 \texttt{{\textbackslash}end\{rightanchorblock\}}
1631 \end{itemize}
1632 \end{frame}
1633
1634 \begin{frame}{Mixing Anchor Blocks}
1635 \begin{leftanchorblock}[.5\linewidth]{The title}{1}
1636 This is a box with half width
1637 \end{leftanchorblock}
1638 \vspace{.5cm}
1639 \begin{rightanchorblock}{The title}{2}
1640 This is a content with total width
1641 \end{rightanchorblock}
1642 \end{frame}
1643
1644 \begin{frame}{Mixing Anchor Blocks \insertcontinuationtext}
1645 \begin{leftanchorblock}{The title}{1}
1646 This is a box with total width
1647 \end{leftanchorblock}
1648 \vspace{.5cm}
1649 \begin{rightanchorblock}[.5\linewidth]{The title}{2}
1650 This is a content with half width
1651 \end{rightanchorblock}
1652 \end{frame}
1653
1654 \begin{frame}{Multiple Anchor Blocks}
1655 \begin{columns}
1656 \begin{column}{.5\linewidth}
1657 \begin{leftanchorblock}{Title 1}{1}
1658 Text 1
1659 \end{leftanchorblock}
1660 \vspace{.5cm}
1661 \begin{leftanchorblock}{Title 2}{2}
1662 Text 2
1663 \end{leftanchorblock}
1664 \end{column}
1665 \begin{column}{.5\linewidth}
1666 \begin{rightanchorblock}{Title 3}{3}
1667 Text 3
1668 \end{rightanchorblock}
1669 \vspace{.5cm}
1670 \begin{rightanchorblock}{Title 4}{4}
1671 Text 4
1672 \end{rightanchorblock}
1673 \end{column}
1674 \end{columns}
1675 \end{frame}
1676
1677 \begin{frame}{Sequence of Right Arrows}
1678 The CIAD theme defines a sequence of right arrows as:
1679 \begin{rightarrowsequence}
1680 \arrow{Arrow 1}
1681 \arrow[bg=blue]{Arrow 2}
1682 \arrow{Arrow 3}
1683 \arrow[bg=red]{Arrow 4}
1684 \end{rightarrowsequence} \\[.5cm]
1685 This sequence is obtained by using the following environment: \\
1686 \texttt{{\textbackslash}begin\{rightarrowsequence\}[g\_options]} \\
1687 \hspace{.5cm}\texttt{{\textbackslash}arrow[a\_options]\{text\}} \\
1688 \texttt{{\textbackslash}end\{rightarrowsequence\}}
1689
1690 \begin{itemize}
1691 \item Each arrow is drawn by the command \texttt{{\textbackslash}arrow}
1692 \item \texttt{g\_options} are the options applied to all the arrows (explained on later slide)
1693 \item \texttt{a\_options} are the options applied to a specific arrow (explained on later slide)
1694 \end{itemize}
1695 \end{frame}
1696
1697 \resolvepicturename{example1}
1698 \pgfdeclareimage[width=2cm]{arrow-decoration-example1}{\resolvedfilename}
1699 \begin{frame}{Decorations for Right Arrows}
1700 \smaller
1701 Each arrow could have a decoration, as illustrated by:
1702 \begin{rightarrowsequence}
1703 \arrow[decoration={arrow-decoration-example1}]{Arrow 1}
1704 \arrow[bg=blue]{Arrow 2}
1705 \arrow{Arrow 3}
1706 \arrow[bg=red,fg=blue,decoration={arrow-decoration-example1}]{Arrow 4}
1707 \end{rightarrowsequence} \\[.5cm]
1708 This sequence is obtained by: \\
1709 \texttt{{\textbackslash}begin\{rightarrowsequence\}} \\
1710 \hspace{.5cm}\texttt{{\textbackslash}arrow[decoration=\{image\}]\{Arrow 1\}} \\
1711 \hspace{.5cm}\texttt{{\textbackslash}arrow[bg=blue]\{Arrow 2\}} \\
1712 \hspace{.5cm}\texttt{{\textbackslash}arrow\{Arrow 3\}} \\
1713 \hspace{.5cm}\texttt{{\textbackslash}arrow[bg=red,fg=blue,decoration=\{image\}]\{Arrow 4\}} \\
1714 \texttt{{\textbackslash}end\{rightarrowsequence\}}
1715 \end{frame}
1716
1717 \begin{frame}{{Right-Arrow-Sequence} Global Options}
1718 \begin{itemize}
1719 \item \texttt{width=\ensuremath{<}length\ensuremath{>}}: width of the sequence (default: \the\linewidth)
1720 \item \texttt{height=\ensuremath{<}length\ensuremath{>}}: height of the sequence (default: max height of the internal arrows)
1721 \item \texttt{arrowwidth=\ensuremath{<}length\ensuremath{>}}: default width for the arrows (default: adjusted width depending on the width of the sequence)
1722 \item \texttt{sep=\ensuremath{<}length\ensuremath{>}}: distance between the arrows
1723 \item \texttt{topsep=\ensuremath{<}length\ensuremath{>}}: margin at the top of the sequence
1724 \item \texttt{bottomsep=\ensuremath{<}length\ensuremath{>}}: margin at the bottom of the sequence
1725 \item \texttt{decorationsep=\ensuremath{<}length\ensuremath{>}}: distance between the decoration (usually an icon) and the text inside an arrow
1726 \end{itemize}
1727 \end{frame}
1728
1729 \begin{frame}{{Right-Arrow-Sequence} Global Options \insertcontinuationtext}
1730 \begin{itemize}
1731 \item \texttt{bg=\ensuremath{<}color\ensuremath{>}}: default background color for all the arrow (default: black)
1732 \item \texttt{fg=\ensuremath{<}color\ensuremath{>}}: default text color for all the arrow (default: white)
1733 \end{itemize}
1734 \end{frame}
1735
1736 \begin{frame}{{Right-Arrow-Sequence} Arrow Options}
1737 \begin{itemize}
1738 \item \texttt{width=\ensuremath{<}length\ensuremath{>}}: width of the arrow, override the global option
1739 \item \texttt{bg=\ensuremath{<}color\ensuremath{>}}: background color, override the global option
1740 \item \texttt{fg=\ensuremath{<}color\ensuremath{>}}: text color, override the global option
1741 \item \texttt{decoration=\ensuremath{<}id\ensuremath{>}}: identifier if the picture loadable with \texttt{{\textbackslash}pgfuseimage}
1742 \end{itemize}
1743 \end{frame}
1744
1745 \begin{frame}[t]{Sequence of Bottom Arrows}
1746 \begin{columns}
1747 \begin{column}{.2\linewidth}
1748 \begin{bottomarrowsequence}
1749 \arrow{Arrow 1}
1750 \arrow[bg=blue]{Arrow 2}
1751 \arrow{Arrow 3}
1752 \arrow[bg=red]{Arrow 4}
1753 \end{bottomarrowsequence} \\[.5cm]
1754 \end{column}
1755 \begin{column}{.8\linewidth}
1756 The CIAD theme defines a sequence of bottom arrows as:
1757 \vspace{.5cm}
1758 This sequence is obtained by using the following environment: \\
1759 \texttt{{\textbackslash}begin\{bottomarrowsequence\}[g\_options]} \\
1760 \hspace{.5cm}\texttt{{\textbackslash}arrow[a\_options]\{text\}} \\
1761 \texttt{{\textbackslash}end\{bottomarrowsequence\}}
1762
1763 \begin{itemize}
1764 \item Each arrow is drawn by the command \texttt{{\textbackslash}arrow}
1765 \item \texttt{g\_options} are the options applied to all the arrows (explained on later slide)
1766 \item \texttt{a\_options} are the options applied to a specific arrow (explained on later slide)
1767 \end{itemize}
1768 \end{column}
1769 \end{columns}
1770 \end{frame}
1771
1772 \resolvepicturename{example1}
1773 \pgfdeclareimage[width=0.5cm]{bottomarrowexample1}{\resolvedfilename}
1774 \begin{frame}[t]{Decorations for Bottom Arrows}
1775 \begin{columns}
1776 \begin{column}{.2\linewidth}
1777 \begin{bottomarrowsequence}
1778 \arrow[decoration={bottomarrowexample1}]{Arrow 1}
1779 \arrow[bg=blue]{Arrow 2}
1780 \arrow{Arrow 3}
1781 \arrow[bg=red,fg=blue,decoration={bottomarrowexample1}]{Arrow 4}
1782 \end{bottomarrowsequence}
1783 \end{column}
1784 \begin{column}{.8\linewidth}
1785 Each arrow could have a decoration, as illustrated by:
1786 \vspace{.5cm}
1787 This sequence is obtained by: \\
1788 \texttt{{\textbackslash}begin\{bottomarrowsequence\}} \\
1789 \hspace{.5cm}\texttt{{\textbackslash}arrow[decoration=\{image\}]\{Arrow 1\}} \\
1790 \hspace{.5cm}\texttt{{\textbackslash}arrow[bg=blue]\{Arrow 2\}} \\
1791 \hspace{.5cm}\texttt{{\textbackslash}arrow\{Arrow 3\}} \\
1792 \hspace{.5cm}\texttt{{\textbackslash}arrow[bg=red,fg=blue,decoration=\{image\}]\{Arrow 4\}} \\
1793 \texttt{{\textbackslash}end\{bottomarrowsequence\}}
1794 \end{column}
1795 \end{columns}
1796 \end{frame}
1797
1798 \begin{frame}{{Bottom-Arrow-Sequence} Global Options}
1799 \begin{itemize}
1800 \item \texttt{width=\ensuremath{<}length\ensuremath{>}}: width of the sequence (default: max width of the internal arrows)
1801 \item \texttt{height=\ensuremath{<}length\ensuremath{>}}: height of the sequence (default: \the\linewidth)
1802 \item \texttt{arrowheight=\ensuremath{<}length\ensuremath{>}}: default height for the arrows
1803 \item \texttt{sep=\ensuremath{<}length\ensuremath{>}}: distance between the arrows
1804 \item \texttt{leftsep=\ensuremath{<}length\ensuremath{>}}: margin at the left of the sequence
1805 \item \texttt{rightsep=\ensuremath{<}length\ensuremath{>}}: margin at the right of the sequence
1806 \item \texttt{decorationsep=\ensuremath{<}length\ensuremath{>}}: distance between the decoration (usually an icon) and the text inside an arrow
1807 \end{itemize}
1808 \end{frame}
1809
1810 \begin{frame}{{Bottom-Arrow-Sequence} Global Options \insertcontinuationtext}
1811 \begin{itemize}
1812 \item \texttt{bg=\ensuremath{<}color\ensuremath{>}}: default background color for all the arrow (default: black)
1813 \item \texttt{fg=\ensuremath{<}color\ensuremath{>}}: default text color for all the arrow (default: white)
1814 \end{itemize}
1815 \end{frame}
1816
1817 \begin{frame}{{Bottom-Arrow-Sequence} Arrow Options}
1818 \begin{itemize}
1819 \item \texttt{height=\ensuremath{<}length\ensuremath{>}}: height of the arrow, override the global option
1820 \item \texttt{bg=\ensuremath{<}color\ensuremath{>}}: background color, override the global option
1821 \item \texttt{fg=\ensuremath{<}color\ensuremath{>}}: text color, override the global option
1822 \item \texttt{decoration=\ensuremath{<}id\ensuremath{>}}: identifier if the picture loadable with \texttt{{\textbackslash}pgfuseimage}
1823 \end{itemize}
1824 \end{frame}
1825
1826 \begin{frame}[t]{{Proportional Height} for Sequence of Bottom Arrows}
1827 The height of the sequence of bottom arrows may be proportional in case that the total height is not available:
1828 \vspace{.5cm}
1829 \begin{columns}
1830 \begin{column}{.2\linewidth}
1831 \begin{bottomarrowsequence}[height=.8\height]
1832 \arrow{Arrow 1}
1833 \arrow[bg=blue]{Arrow 2}
1834 \arrow{Arrow 3}
1835 \arrow[bg=red]{Arrow 4}
1836 \end{bottomarrowsequence} \\[.5cm]
1837 \end{column}
1838 \begin{column}{.8\linewidth}
1839 This sequence is obtained by using the following environment: \\
1840 \texttt{{\textbackslash}begin\{bottomarrowsequence\}[height=.8{\textbackslash}height]} \\
1841 \hspace{.5cm}\texttt{{\textbackslash}arrow[a\_options]\{text\}} \\
1842 \texttt{{\textbackslash}end\{bottomarrowsequence\}} \\[.5cm]
1843 The command \texttt{{\textbackslash}height} corresponds to the total height of the frame
1844 \end{column}
1845 \end{columns}
1846 \end{frame}
1847
1848 \begin{frame}[t]{{Manual Height} for Sequence of Bottom Arrows}
1849 The height of the sequence of bottom arrows could be manually provided:
1850 \vspace{.5cm}
1851 \begin{columns}
1852 \begin{column}{.2\linewidth}
1853 \begin{bottomarrowsequence}[height=5cm]
1854 \arrow{Arrow 1}
1855 \arrow[bg=blue]{Arrow 2}
1856 \arrow{Arrow 3}
1857 \arrow[bg=red]{Arrow 4}
1858 \end{bottomarrowsequence} \\[.5cm]
1859 \end{column}
1860 \begin{column}{.8\linewidth}
1861 This sequence is obtained by using the following environment: \\
1862 \texttt{{\textbackslash}begin\{bottomarrowsequence\}[height=5cm]} \\
1863 \hspace{.5cm}\texttt{{\textbackslash}arrow[a\_options]\{text\}} \\
1864 \texttt{{\textbackslash}end\{bottomarrowsequence\}}
1865 \end{column}
1866 \end{columns}
1867 \end{frame}
1868
1869 \subsection{Boxes}
1870 \subsectiontableofcontentslide
1871
1872 \begin{frame}{Definition and DefinitionBlock}
1873 Two environments are available for definitions:
1874 \begin{enumerate}
1875 \item Standard \LaTeX\ environment:
1876 \begin{columns}
1877 \begin{column}{.5\linewidth}
1878 \begin{definition}[Name]
1879 Explanation
1880 \end{definition}
1881 \end{column}
1882 \begin{column}{.5\linewidth}
1883 \texttt{{\textbackslash}begin\{definition\}[Name]} \\
1884 \texttt{Explanation} \\
1885 \texttt{{\textbackslash}end\{definition\}}
1886 \end{column}
1887 \end{columns}
1888 \vspace{1cm}
1889 \item Extended environment:
1890 \begin{columns}
1891 \begin{column}{.5\linewidth}
1892 \begin{definitionblock}{Name}
1893 Explanation
1894 \end{definitionblock}
1895 \end{column}
1896 \begin{column}{.5\linewidth}
1897 \texttt{{\textbackslash}begin\{definitionblock\}\{Name\}} \\
1898 \texttt{Explanation} \\
1899 \texttt{{\textbackslash}end\{definitionblock\}}
1900 \end{column}
1901 \end{columns}
1902 \end{enumerate}
1903 \end{frame}
1904
1905 \begin{frame}{Simple Boxes}
1906 You could draw a simple box as:
1907 \simplebox{This is the text into the simple box}
1908 The command is:
1909 \begin{itemize}
1910 \item \texttt{{\textbackslash}simplebox[width]\{text\}} \\
1911 \texttt{{\textbackslash}simplebox*[width]\{text\}} \\[.5cm]
1912 \item \texttt{{\textbackslash}simplebox} is a vmode box, i.e., it is assumed that the box is rendered on the entire width of the line
1913 \item \texttt{{\textbackslash}simplebox*} is a hmode box, i.e., it accept elements on its side
1914 \end{itemize}
1915 \end{frame}
1916
1917 \begin{frame}{Alert Boxes}
1918 The CIAD theme defines the a box for alerts: \\
1919 \begin{itemize}
1920 \item \texttt{{\textbackslash}alertbox\ensuremath{<}frame\_spec\ensuremath{>}\{this is an alert text\}} \\[.5cm]
1921 \alertbox{this is an alert text}
1922 \vspace{1cm}
1923 \item \texttt{{\textbackslash}alertbox*\ensuremath{<}frame\_spec\ensuremath{>}\{this is an alert text\}} \\[.5cm]
1924 \alertbox*{this is an alert text}
1925 \item Note that \texttt{\ensuremath{<}frame\_spec\ensuremath{>}} is optional. It permits to specify the Beamer frame in which the box is displayed.
1926 \end{itemize}
1927 \end{frame}
1928
1929 \begin{frame}{Title Boxes}
1930 You could draw a box with a title as:
1931 \titlebox{The Title}{This is the text into the title box}
1932 The command is:
1933 \begin{itemize}
1934 \item \texttt{{\textbackslash}titlebox[width]\{title\}\{text\}} \\
1935 \texttt{{\textbackslash}titlebox*[width]\{title\}\{text\}} \\[.5cm]
1936 \item \texttt{{\textbackslash}titlebox} is a vmode box, i.e., it is assumed that the box is rendered on the entire width of the line
1937 \item \texttt{{\textbackslash}titlebox*} is a hmode box, i.e., it accept elements on its side
1938 \end{itemize}
1939 \end{frame}
1940
1941 \resolvepicturename{example1}
1942 \addfancyboxpicture{example1}{\resolvedfilename}
1943 \begin{frame}{Fancy Boxes}
1944 The CIAD theme defines a box with fancy rendering of informations alerts: \\
1945 \begin{itemize}
1946 \item \texttt{{\textbackslash}fancybox\ensuremath{<}frame\_spec\ensuremath{>}[options]\{Title\}\{text\}\{pgf-id\}\{mark\}} \\[.5cm]
1947 \end{itemize}
1948 \begin{columns}
1949 \begin{column}{.3\linewidth}
1950 \fancybox{Title}{text}{example1}{mark}
1951 \end{column}
1952 \begin{column}{.7\linewidth}
1953 \begin{itemize}
1954 \item \texttt{\ensuremath{<}frame\_spec\ensuremath{>}} is optional. It permits to specify the Beamer frame in which the box is displayed.
1955 \item \texttt{options} is a list of options that are described on the following slide.
1956 \item \texttt{pgf-id} is the identifier of a picture that is declared with: \\
1957 \texttt{{\textbackslash}addfancyboxpicture[picture-height]\{pgf-id\}} \\
1958 \texttt{\{picture-filename\}}
1959 \end{itemize}
1960 \end{column}
1961 \end{columns}
1962 \end{frame}
1963
1964 \begin{frame}{{Fancy Box} Options}
1965 \begin{itemize}
1966 \item \texttt{width=\ensuremath{<}length\ensuremath{>}}: width of the box (default: 4cm)
1967 \item \texttt{height=\ensuremath{<}length\ensuremath{>}}: height of the box (default: 5.5cm)
1968 \item \texttt{corner=\ensuremath{<}length\ensuremath{>}}: size of the corner triangle (default: 1cm)
1969 \item \texttt{cornersep=\ensuremath{<}length\ensuremath{>}}: size of the space between the corner triangle and the rest of the box (default: 0.2cm)
1970 \item \texttt{iconheight=\ensuremath{<}length\ensuremath{>}}: height of the picture (default: 1.8cm)
1971 \item \texttt{topsep=\ensuremath{<}length\ensuremath{>}}: size of the space between the top of the box and the picture (default: \the\bigskipamount)
1972 \item \texttt{iconsep=\ensuremath{<}length\ensuremath{>}}: size of the space between the picture and the title (default: \the\medskipamount)
1973 \item \texttt{titlesep=\ensuremath{<}length\ensuremath{>}}: size of the space between the title and the text (default: 1.2cm)
1974 \item \texttt{innersep=\ensuremath{<}length\ensuremath{>}}: size of the space between the left or right border to the text (default: 0.1cm)
1975 \end{itemize}
1976 \end{frame}
1977
1978 \begin{frame}{{Fancy Box} Options \insertcontinuationtext}
1979 \begin{itemize}
1980 \item \texttt{vpos=\ensuremath{<}tcb\ensuremath{>}}: vertical position of the box anchor (default: c)
1981 \item \texttt{bg=\ensuremath{<}color\ensuremath{>}}: color of the background
1982 \item \texttt{fg=\ensuremath{<}color\ensuremath{>}}: foreground color of the text
1983 \item \texttt{titlefg=\ensuremath{<}color\ensuremath{>}}: foreground color of title
1984 \item \texttt{cornerfg=\ensuremath{<}color\ensuremath{>}}: color of the corner's background
1985 \end{itemize}
1986 \end{frame}
1987
1988 \resolvepicturename{example1}
1989 \addiconboxpicture{example1}{\resolvedfilename}
1990 \begin{frame}{Vertical Icon Boxes}
1991 You could draw a box with an title and a text, vertical layout, as:
1992 \viconbox{This is the text into the box}{example1}
1993 The command is:
1994 \begin{itemize}
1995 \item \texttt{{\textbackslash}viconbox[width]\{text\}\{pgf\_id\}} \\
1996 \texttt{{\textbackslash}viconbox*[width]\{text\}\{pgf\_id\}} \\[.5cm]
1997 \item \texttt{{\textbackslash}viconbox} is a vmode box, i.e., it is assumed that the box is rendered on the entire width of the line
1998 \item \texttt{{\textbackslash}viconbox*} is a hmode box, i.e., it accept elements on its side
1999 \item \alert{The icon must be loaded by using the command:} \\
2000 \texttt{{\textbackslash}addiconboxpicture[options]\{pgf\_id\}\{filename\}}
2001 \end{itemize}
2002 \end{frame}
2003
2004 \begin{frame}{Horizontal Icon Boxes}
2005 You could draw a box with an title and a text, horizontal layout, as:
2006 \hiconbox{This is the text into the box}{example1}
2007 The command is:
2008 \begin{itemize}
2009 \item \texttt{{\textbackslash}hiconbox[width]\{text\}\{pgf\_id\}} \\
2010 \texttt{{\textbackslash}hiconbox*[width]\{text\}\{pgf\_id\}} \\[.5cm]
2011 \item \texttt{{\textbackslash}hiconbox} is a vmode box, i.e., it is assumed that the box is rendered on the entire width of the line
2012 \item \texttt{{\textbackslash}hiconbox*} is a hmode box, i.e., it accept elements on its side
2013 \item \alert{The icon must be loaded by using the command:} \\
2014 \texttt{{\textbackslash}addiconboxpicture[options]\{pgf\_id\}\{filename\}}
2015 \end{itemize}
2016 \end{frame}
2017
2018 \begin{frame}{Inline Example Boxes}
2019 \begin{small}
2020 The CIAD theme defines the the following commands to put examples in the text (not in a block, as predefined in Beamer):
2021 \begin{itemize}
2022 \item \texttt{{\textbackslash}insertexamplelabel} insert the text ``example''.
2023 \item \texttt{{\textbackslash}insertexampleslabel} insert the text ``examples''.
2024 \vspace{1em}
2025 \item \texttt{{\textbackslash}inlineexample\{text\}} insert a example in the text. \\
2026 Example: \texttt{This is a text followed by an inline example. {\textbackslash}inlineexample\{some text.\}} \\
2027 This is a text followed by an inline example. \inlineexample{some text.}
2028 \item \texttt{{\textbackslash}inlineexamples\{text\}} insert examples in the text. \\
2029 Example: \texttt{This is a text followed by inline examples. {\textbackslash}inlineexamples\{some text.\}} \\
2030 This is a text followed by inline examples. \inlineexamples{some text.}
2031 \end{itemize}
2032 \end{small}
2033 \end{frame}
2034
2035 \begin{frame}[t]{Zooming on a \TeX\ Box}
2036 \begin{itemize}
2037 \item Beamer provides the command \texttt{{\textbackslash}framezoom} to zoom on a part of a frame. \emph{But, it create a new slide and it is difficult to return to the original slide with a single click}.
2038 \item The CIAD theme provides a new command for zooming on click.
2039 \item \texttt{{\textbackslash}zoombox[options]\{box content\}}
2040 \begin{itemize}
2041 \item Display the content of the box. When clicked, display the box content after fitting it to the entire screen. When clicked again, the original slide is restore.
2042 \item \texttt{options} are:
2043 \begin{enumerate}
2044 \item \texttt{border=XXpt}: specify the size of the border lines around the box.
2045 \item \texttt{left=XXpt}: specify the size of the left margin.
2046 \item \texttt{right=XXpt}: specify the size of the right margin.
2047 \item \texttt{top=XXpt}: specify the size of the top margin.
2048 \item \texttt{bottom=XXpt}: specify the size of the bottom margin.
2049 \item \texttt{margin=XXpt}: specify the size of all of the margins.
2050 \end{enumerate}
2051 \end{itemize}
2052 \end{itemize}
2053 \end{frame}
2054
2055 \begin{frame}[t]{Zooming on a \TeX\ Box \insertcontinuationtext}
2056 \begin{alertblock}{Caution}
2057 The command \texttt{{\textbackslash}zoombox} is working in viewers that are supporting JavaScript (Acrobat Reader...)
2058 \end{alertblock}
2059 \vspace{1em}
2060 \begin{center}
2061 \zoombox{ZOOMING EXAMPLE}
2062 \end{center}
2063 \end{frame}
2064
2065 \begin{frame}{Adjusting a Box}
2066 \begin{itemize}
2067 \item The CIAD style provides the command \texttt{{\textbackslash}adjustbox} to add margins to a box.
2068 \vspace{1em}
2069 \item \texttt{{\textbackslash}adjustbox[options]\{box content\}}
2070 \vspace{1em}
2071 \item The options are:
2072 \begin{itemize}
2073 \item \texttt{left=XXpt} is the size of the left margin.
2074 \item \texttt{right=XXpt} is the size of the right margin.
2075 \item \texttt{top=XXpt} is the size of the top margin.
2076 \item \texttt{bottom=XXpt} is the size of the bottom margin.
2077 \item \texttt{size=XXpt} is the size of all of the margins.
2078 \end{itemize}
2079 \end{itemize}
2080 \end{frame}
2081
2082 \subsection{Tables, Descriptions and Lists}
2083 \subsectiontableofcontentslide
2084
2085 \begin{frame}[t]{{Regular Tables} with Colors}
2086 \begin{itemize}
2087 \item The CIAD theme puts colorized borders around tables.
2088 \item In addition, you could create a table heading with specific colors:
2089 \begin{itemize}
2090 \item \texttt{{\textbackslash}tabularheading} to use the heading background.
2091 \item \texttt{{\textbackslash}chead\{text\}} to define the text of a column heading.
2092 \item Command \texttt{{\textbackslash}tabularhead} is a helper that is equivalent to the two commands above. This command must be followed by \texttt{{\textbackslash}{\textbackslash}}
2093 \end{itemize}
2094 \end{itemize}
2095 \begin{example}
2096 \begin{columns}
2097 \begin{column}{.6\linewidth}
2098 \scriptsize
2099 \texttt{{\textbackslash}begin\{tabular\}\{{\textbar}l{\textbar}l{\textbar}\}} \\
2100 \texttt{{\textbackslash}hline} \\
2101 \texttt{{\textbackslash}tabularheading{\textbackslash}chead\{A\}\&{\textbackslash}chead\{B\}{\textbackslash}{\textbackslash}} \\
2102 \texttt{{\textbackslash}hline} \\
2103 \texttt{{\textbackslash}C\&D{\textbackslash}{\textbackslash}} \\
2104 \texttt{{\textbackslash}end\{tabular\}}
2105 \end{column}
2106 \begin{column}{.3\linewidth}
2107 \begin{tabular}{|l|l|}
2108 \hline
2109 \tabularheading\chead{A}&\chead{B} \\
2110 \hline
2111 C & D \\
2112 \hline
2113 \end{tabular}
2114 \end{column}
2115 \end{columns}
2116 \end{example}
2117 \begin{columns}
2118 \begin{column}{.6\linewidth}
2119 \scriptsize
2120 \texttt{{\textbackslash}begin\{tabular\}\{{\textbar}l{\textbar}l{\textbar}\}} \\
2121 \texttt{{\textbackslash}hline} \\
2122 \texttt{{\textbackslash}tabularhead\{A\}\{B\}{\textbackslash}{\textbackslash}} \\
2123 \texttt{{\textbackslash}hline} \\
2124 \texttt{{\textbackslash}C\&D{\textbackslash}{\textbackslash}} \\
2125 \texttt{{\textbackslash}end\{tabular\}}
2126 \end{column}
2127 \begin{column}{.3\linewidth}
2128 \begin{tabular}{|l|l|}
2129 \hline
2130 \tabularhead{A}{B} \\
2131 \hline
2132 C & D \\
2133 \hline
2134 \end{tabular}
2135 \end{column}
2136 \end{columns}
2137 \end{frame}
2138
2139 \begin{frame}[t]{Colorized Tables}
2140 \alertbox{%
2141 The CIAD theme includes the package \texttt{tcolorbox}. \\%
2142 The \emph{style \texttt{stabularx}} provides a configuration that is compatible with the CIAD Beamer theme.
2143 }
2144 \begin{columns}
2145 \smaller
2146 \begin{column}{.5\linewidth}
2147 \texttt{{\textbackslash}begin\{tcolorbox\}[stabularx,} \\
2148 \texttt{~~~tabularx=\{ccX\},} \\
2149 \texttt{~~~title=\{This is the title\}]} \\
2150 \texttt{~~{\textbackslash}tabularhead\{A\}\{B\}\{C\} {\textbackslash}{\textbackslash}} \\
2151 \texttt{~~D \& E \& F {\textbackslash}{\textbackslash}} \\
2152 \texttt{{\textbackslash}end\{tcolorbox\}}
2153 \end{column}
2154 \begin{column}{.5\linewidth}
2155 \begin{tcolorbox}[stabularx,tabularx={ccX},title={This is the title}]
2156 \tabularhead{A}{B}{C} \\
2157 D & E & F \\
2158 \end{tcolorbox}
2159 \end{column}
2160 \end{columns}
2161 \vspace{.5cm}
2162 \alertbox*{%
2163 Environment \texttt{stabularx} is provided to help you to obtain colorized tables
2164 }
2165 \begin{columns}
2166 \smaller
2167 \begin{column}{.5\linewidth}
2168 \texttt{{\textbackslash}begin\{stabularx\}} \\
2169 \texttt{~~~[title=\{This is the title\}]\{ccX\}} \\
2170 \texttt{~~{\textbackslash}tabularhead\{A\}\{B\}\{C\} {\textbackslash}{\textbackslash}} \\
2171 \texttt{~~D \& E \& F {\textbackslash}{\textbackslash}} \\
2172 \texttt{{\textbackslash}end\{stabularx\}}
2173 \end{column}
2174 \begin{column}{.5\linewidth}
2175 \begin{stabularx}[title={This is the title}]{ccX}
2176 \tabularhead{A}{B}{C} \\
2177 D & E & F \\
2178 \end{stabularx}
2179 \end{column}
2180 \end{columns}
2181 \end{frame}
2182
2183 \begin{frame}{Enhanced Description}
2184 The CIAD theme provides an enhanced definition of the \texttt{description} environment. \\[.5cm]
2185 {\smaller
2186 \texttt{{\textbackslash}begin\{description\}} \\
2187 \texttt{{\textbackslash}item text1} \\
2188 \texttt{{\textbackslash}item[Item Name] text2} \\
2189 \texttt{{\textbackslash}item$<$frame\_spec$>$ text1} \\
2190 \texttt{{\textbackslash}item$<$frame\_spec$>$[Item Name] text2} \\
2191 \texttt{{\textbackslash}end\{description\}}} \\[.5cm]
2192 \begin{description}
2193 \item text1
2194 \item[Item Name] text2
2195 \item<2> text1
2196 \item<2>[Item Name] text2
2197 \end{description}
2198 \end{frame}
2199
2200 \begin{frame}{Enhanced Enumeration}
2201 The CIAD theme provides an enhanced definition of the \texttt{enumerate} environment. \\[.5cm]
2202 {\smaller
2203 \texttt{{\textbackslash}begin\{enumerate\}[counter format]} \\
2204 \texttt{{\textbackslash}item text1} \\
2205 \texttt{{\textbackslash}item[Item Name] text2} \\
2206 \texttt{{\textbackslash}item$<$frame\_spec$>$ text1} \\
2207 \texttt{{\textbackslash}item$<$frame\_spec$>$[Item Name] text2} \\
2208 \texttt{{\textbackslash}end\{enumerate\}}} \\[.5cm]
2209 \begin{enumerate}
2210 \item text1
2211 \item[Item Name] text2
2212 \item<2> text1
2213 \item<2>[Item Name] text2
2214 \end{enumerate}
2215 \end{frame}
2216
2217 \begin{frame}{Enhanced Enumeration \insertcontinuationtext}
2218 Below, the optional parameter \texttt{counter format} is set to \texttt{"a)"}: \\[.5cm]
2219 \begin{enumerate}[a)]
2220 \item text1
2221 \item[Item Name] text2
2222 \item<2> text1
2223 \item<2>[Item Name] text2
2224 \end{enumerate}
2225 \end{frame}
2226
2227 \begin{frame}{Compact Itemized List}
2228 The CIAD theme provides a compact version of the itemized list environment. \\[.5cm]
2229 {\smaller
2230 \texttt{{\textbackslash}begin\{compactitemize\}[options]} \\
2231 \texttt{{\textbackslash}item text1} \\
2232 \texttt{{\textbackslash}item$<$frame\_spec$>$ text2} \\
2233 \texttt{{\textbackslash}end\{compactitemize\}}} \\[.5cm]
2234 \begin{columns}
2235 \begin{column}{.5\linewidth}
2236 \begin{block}{Compact List}
2237 \begin{compactitemize}
2238 \item text1
2239 \item<2> text2
2240 \end{compactitemize}
2241 \end{block}
2242 \end{column}
2243 \begin{column}{.5\linewidth}
2244 \begin{block}{Standard List}
2245 \begin{itemize}
2246 \item text1
2247 \item<2> text2
2248 \end{itemize}
2249 \end{block}
2250 \end{column}
2251 \end{columns}
2252 \end{frame}
2253
2254 \begin{frame}{Compact Description}
2255 The CIAD theme provides a compact version of the description environment. \\[.5cm]
2256 {\smaller
2257 \texttt{{\textbackslash}begin\{compactdescription\}} \\
2258 \texttt{{\textbackslash}item text1} \\
2259 \texttt{{\textbackslash}item[Item Name] text2} \\
2260 \texttt{{\textbackslash}item$<$frame\_spec$>$ text1} \\
2261 \texttt{{\textbackslash}item$<$frame\_spec$>$[Item Name] text2} \\
2262 \texttt{{\textbackslash}end\{compactdescription\}}} \\[.5cm]
2263 \begin{columns}
2264 \begin{column}{.5\linewidth}
2265 \begin{block}{Compact Description}
2266 \begin{compactdescription}
2267 \item text1
2268 \item[Item Name] text2
2269 \item<2> text1
2270 \item<2>[Item Name] text2
2271 \end{compactdescription}
2272 \end{block}
2273 \end{column}
2274 \begin{column}{.5\linewidth}
2275 \begin{block}{Standard Description}
2276 \begin{description}
2277 \item text1
2278 \item[Item Name] text2
2279 \item<2> text1
2280 \item<2>[Item Name] text2
2281 \end{description}
2282 \end{block}
2283 \end{column}
2284 \end{columns}
2285 \end{frame}
2286
2287 \begin{frame}{{Wrapped Figure} on Side of Itemizes}
2288 \begin{itemize}
2289 \item For putting a figure on the right side of an itemize environment, the following commands are provided for helping you.
2290 \item For putting the figure: \\
2291 \texttt{{\textbackslash}wrapfigure[options]\{figure filename\}}
2292 \item For putting items on the side of the figure: \\
2293 \texttt{{\textbackslash}wrapitem[width]\{item text\}}
2294 \end{itemize}
2295 \begin{example}\tiny
2296 \wrapfigure[width=.1\linewidth]{examplecptp}
2297 \begin{itemize}
2298 \wrapitem{item 1 with \texttt{{\textbackslash}wrapitem}.}
2299 \wrapitem[.85\linewidth]{item 2 with \texttt{{\textbackslash}wrapitem}, item 2 with \texttt{{\textbackslash}wrapitem}, item 2 with \texttt{{\textbackslash}wrapitem}, item 2 with \texttt{{\textbackslash}wrapitem}.}
2300 \wrapitem{item 3 with \texttt{{\textbackslash}wrapitem}.}
2301 \wrapitem{item 4 with \texttt{{\textbackslash}wrapitem}.}
2302 \item{item 5 with \texttt{{\textbackslash}item}, item 5 with \texttt{{\textbackslash}item}, item 5 with \texttt{{\textbackslash}item}, item 5 with \texttt{{\textbackslash}item}, item 5 with \texttt{{\textbackslash}item}, item 5 with \texttt{{\textbackslash}item}.}
2303 \item item 6 with \texttt{{\textbackslash}item}.
2304 \end{itemize}
2305 \end{example}
2306 \end{frame}
2307
2308 \subsection{Text}
2309 \subsectiontableofcontentslide
2310
2311 \begin{frame}{Additional Symbols}
2312 \begin{itemize}
2313 \item The CIAD theme (re)defines the commands for several symbols:
2314 \end{itemize}
2315 \begin{stabularx}{|l|X|l|X|}
2316 \tabularheading\multicolumn{2}{|c|}{\chead{From CIAD theme}} & \multicolumn{2}{c|}{\chead{From \TeX}} \\
2317 \texttt{{\textbackslash}copyright} & \copyright & \texttt{{\textbackslash}copyright} & \textcopyright \\
2318 \hline
2319 \texttt{{\textbackslash}trademark} & \trademark & \texttt{{\textbackslash}texttrademark} & \texttrademark \\
2320 \hline
2321 \texttt{{\textbackslash}servicemark} & \servicemark & \texttt{{\textbackslash}textservicemark} & \textservicemark \\
2322 \hline
2323 \texttt{{\textbackslash}regmark} & \regmark & \texttt{{\textbackslash}textregistered} & \textregistered \\
2324 \hline
2325 \texttt{{\textbackslash}checkmark} & \checkmark & \texttt{{\textbackslash}textcheckmark} & \textcheckmark \\
2326 \hline
2327 \texttt{{\textbackslash}xmark} & \xmark & & \\
2328 \end{stabularx}
2329 \end{frame}
2330
2331 \begin{frame}{Sizes of the Text}
2332 \begin{itemize}
2333 \item The standard Beamer commands for selected the text side are: \\
2334 {\TINY\texttt{{\textbackslash}TINY}}, {\Tiny\texttt{{\textbackslash}Tiny}}, {\tiny\texttt{{\textbackslash}tiny}}, {\scriptsize\texttt{{\textbackslash}scriptsize}}, {\footnotesize\texttt{{\textbackslash}footnotesize}}, {\small\texttt{{\textbackslash}small}}, {\normalsize\texttt{{\textbackslash}normalsize}}, {\large\texttt{{\textbackslash}large}}, {\Large\texttt{{\textbackslash}Large}}, {\huge\texttt{{\textbackslash}huge}}, {\Huge\texttt{{\textbackslash}Huge}}
2335 \vspace{1em}
2336 \item The CIAD theme includes two additional commands:
2337 \begin{itemize}
2338 \item \texttt{{\textbackslash}smaller} : to decrease the size of the text, and
2339 \item \texttt{{\textbackslash}larger} : to increase the size of the text.
2340 \end{itemize}
2341 \end{itemize}
2342 \end{frame}
2343
2344 \begin{frame}{Emphazing the Text}
2345 \begin{itemize}
2346 \item The CIAD theme redefines the command \texttt{{\textbackslash}emph} to display the emphazed text with a color. \\
2347 Example: \emph{This is an emphazed text.}
2348 \vspace{2em}
2349 \item The CIAD theme defines the command \texttt{{\textbackslash}Emph} to display the ``very emphazed'' text with a color. \\
2350 Example: \Emph{This is a ``very emphazed'' text.}
2351 \end{itemize}
2352 \end{frame}
2353
2354 \begin{frame}{Underlining the Text}
2355 \begin{itemize}
2356 \item The CIAD theme redefines the command \texttt{{\textbackslash}underline} to move the line closer to the text.
2357 \vspace{2em}
2358 \item Before: \fakeoldunderline{Example}
2359 \item After: \underline{Example}
2360 \end{itemize}
2361 \end{frame}
2362
2363 \begin{frame}{Exponents and Indices}
2364 \begin{itemize}
2365 \item The CIAD theme (re)defines the commands to put text in exponent or in indice.
2366 \item The commands \texttt{{\textbackslash}textup} and \texttt{{\textbackslash}textdown} try to add a space after the text, when it is allowed by the typographic rules (it uses the command \texttt{{\textbackslash}xspace}).
2367 \end{itemize}
2368 \smaller
2369 \begin{stabularx}{|l|X|l|X|}
2370 \tabularheading\multicolumn{2}{|c|}{\chead{From CIAD theme}} & \multicolumn{2}{c|}{\chead{From \TeX}} \\
2371 \texttt{{\textbackslash}textup} & ABC\textup{ABC}D & \texttt{{\textbackslash}textsuperscript} & ABC\textsuperscript{ABC}D \\
2372 \hline
2373 \texttt{{\textbackslash}textdown} & ABC\textdown{ABC}D & \texttt{{\textbackslash}textsubscript} & ABC\textsubscript{ABC}D \\
2374 \end{stabularx}
2375 \end{frame}
2376
2377 \begin{frame}{{Making fancy} the first letters of the words}
2378 \begin{itemize}
2379 \item The CIAD theme defines a command for making fancy the first letters of the words within a given sentence.
2380 \item command:\\
2381 \texttt{{\textbackslash}colorizedfirstletters\{beamer style\}\{sentence\}}
2382 \item \texttt{beamer style} is the name of the beamer style of the first letters. A beamer style could be defined with \texttt{{\textbackslash}setbeamercolor} or \texttt{{\textbackslash}setbeamercolorXXX}.
2383 \item \texttt{sentence} is the text to make fancy.
2384 \end{itemize}
2385 \begin{example}[with style \texttt{alerted text}]
2386 \colorizedfirstletters{alerted text}{This is an example of a sentence}
2387 \end{example}
2388 \end{frame}
2389
2390 \begin{frame}{{Making fancy} the words of a sentence}
2391 \begin{itemize}
2392 \item The CIAD theme defines a command for making fancy the words within a given sentence.
2393 \item command:\\
2394 \texttt{{\textbackslash}colorizedtailwords\{beamer style\}\{sentence\}}
2395 \item \texttt{beamer style} is the name of the Beamer style of the tail words. A beamer style could be defined with \texttt{{\textbackslash}setbeamercolor} or \texttt{{\textbackslash}setbeamercolorXXX}.
2396 \item \texttt{sentence} is the text to make fancy.
2397 \end{itemize}
2398 \begin{example}[with style \texttt{alerted text}]
2399 \colorizedtailwords{alerted text}{This is an example of a sentence}
2400 \end{example}
2401 \end{frame}
2402
2403 \begin{frame}{Quoting the Text}
2404 \begin{itemize}
2405 \item The CIAD theme provides commands to output localized quotes:
2406 \begin{description}
2407 \item[English] \texttt{{\textbackslash}ukquote\{text\}} \\
2408 Example: \ukquote{text}
2409 \item[French] \texttt{{\textbackslash}frquote\{text\}} \\
2410 Example: \frquote{text}
2411 \item[Latin] \texttt{{\textbackslash}latquote\{text\}} \\
2412 Example: \latquote{text}
2413 \end{description}
2414 \vspace{1em}
2415 \item The following commands are used by the quote commands:
2416 \begin{itemize}
2417 \item \texttt{{\textbackslash}textgravedbl} : \textgravedbl
2418 \item \texttt{{\textbackslash}textacutedbl} : \textacutedbl
2419 \item \texttt{{\textbackslash}guillemotleft} : \guillemotleft
2420 \item \texttt{{\textbackslash}guillemotright} : \guillemotright
2421 \end{itemize}
2422 \end{itemize}
2423 \end{frame}
2424
2425 \subsection{Notes}
2426 \subsectiontableofcontentslide
2427
2428 \begin{frame}{Footnotes}
2429 \begin{itemize}
2430 \item The CIAD theme provides two versions of the footnote command:
2431 \begin{itemize}
2432 \item \texttt{{\textbackslash}footnote\{text1\}} shows a footnote\footnote{text1} with a number, and
2433 \item \texttt{{\textbackslash}footnote*\{text2\}} shows a footnote\footnote*{text2} without a number.
2434 \end{itemize}
2435 \vspace{1em}
2436 \item Additionnally, a footnote with bibliography citation may be added:
2437 \begin{itemize}
2438 \item \texttt{{\textbackslash}footcite\{keys\}} shows the given citations in a footnote.
2439 \end{itemize}
2440 \end{itemize}
2441 \end{frame}
2442
2443 \begin{frame}{Notes on the Side of the Frame}
2444 \begin{itemize}
2445 \item The CIAD theme provides a command to put a text on the side of the frame: \\
2446 \texttt{{\textbackslash}sidenode\{text\}}
2447 \vspace{1em}
2448 \item Example: \texttt{{\textbackslash}sidenote\{text on the side\}}
2449 \sidenote{text on the side}
2450 \end{itemize}
2451 \end{frame}
2452
2453 \begin{frame}{Citations on the Side of the Frame}
2454 \begin{itemize}
2455 \item The CIAD theme provides a command to put a citation on the side of the frame: \\
2456 \texttt{{\textbackslash}sidecite\{labels\}}
2457 \vspace{1em}
2458 \item It is equivalent to: \\
2459 \texttt{{\textbackslash}sidenote\{{\textbackslash}cite\{labels\}\}}
2460 \end{itemize}
2461 \end{frame}
2462
2463 \subsection{Links}
2464 \subsectiontableofcontentslide
2465
2466 \begin{frame}[t]{Link to a Video}
2467 \begin{itemize}
2468 \item The CIAD theme provides a convenient command to include links to multimedia resources.
2469 \item \texttt{{\textbackslash}videolink[options]\{resource\_path\}\{img\_path\}}
2470 \begin{itemize}
2471 \item Display a picture with a link button. When the user click on the picture, the resource is run (viewed).
2472 \item \texttt{options} are the options to pass to the \texttt{{\textbackslash}includegraphics} (width...)
2473 \item \texttt{resource\_path} is the path to the multimedia resource.
2474 \item \texttt{img\_path} is the path to the picture to display in the slide.
2475 \end{itemize}
2476 \end{itemize}
2477 \begin{center}
2478 \videolink[width=.3\linewidth]{./ciadbeamer-documentation.tex}{examplecptp}
2479 \end{center}
2480 \end{frame}
2481
2482 \begin{frame}[t]{Link to a Slide with an Picture}
2483 \begin{itemize}
2484 \item The CIAD theme provides a convenient command to create links to other slides with a picture in the link.
2485 \item \texttt{{\textbackslash}picturegoto[options]\{label\}\{img\_path\}}
2486 \begin{itemize}
2487 \item Display a picture with a link button. When the user click on the picture, the slide with the given label is displayed.
2488 \item \texttt{options} are the options to pass to the \texttt{{\textbackslash}includegraphics} (width...)
2489 \item \texttt{label} is the label of the target slide.
2490 \item \texttt{img\_path} is the path to the picture to display in the slide.
2491 \end{itemize}
2492 \end{itemize}
2493 \begin{center}
2494 \picturegoto[width=.3\linewidth]{progressbartypes}{examplecptp}
2495 \end{center}
2496 \end{frame}
2497
2498 \begin{frame}{Link to a Slide with an Text}
2499 \begin{itemize}
2500 \item The CIAD theme provides a convenient command to create links to other slides with a text in the link.
2501 \item \texttt{{\textbackslash}textgoto\{label\}\{text\}}
2502 \begin{itemize}
2503 \item Display the given text with a link button. When the user click on the text, the slide with the given label is displayed.
2504 \item \texttt{label} is the label of the target slide.
2505 \item \texttt{text} is the text to display in the slide.
2506 \end{itemize}
2507 \end{itemize}
2508 \begin{center}
2509 \textgoto{progressbartypes}{this is a link to another slide}
2510 \end{center}
2511 \end{frame}
2512
2513 \begin{frame}{Link to a Web Page with an Text}
2514 \begin{itemize}
2515 \item The CIAD theme provides a convenient command to create links to Web pages with a text in the link.
2516 \item \texttt{{\textbackslash}hrefbutton[text]\{url\}}
2517 \begin{itemize}
2518 \item Display the given text (default is \texttt{web}) with a link button
2519 \item \texttt{url} is the URL of the target Web pge.
2520 \item \texttt{text} is the text to display in the slide.
2521 \end{itemize}
2522 \end{itemize}
2523 \begin{center}
2524 \hrefbutton{https://www.ciad-lab.fr}
2525 \end{center}
2526 \end{frame}
2527
2528 \begin{frame}{Embedded Video}
2529 \begin{itemize}
2530 \item The CIAD theme provides a convenient command to include a video link into the PDF that could be displayed during the show with a viewer such as PDFPC.
2531 \item \texttt{{\textbackslash}embeddedvideo[options]\{video\_path\}\{img\_path\}}
2532 \begin{itemize}
2533 \item Display the image if the viewer cannot show up the video, or the video itself.
2534 \item \texttt{options} may one of the options \texttt{width}, \texttt{height}, or \texttt{view}.
2535 \item \texttt{video\_path} is the path to the multimedia resource.
2536 \item \texttt{img\_path} is the path to the picture to display in the slide.
2537 \end{itemize}
2538 \end{itemize}
2539 \end{frame}
2540
2541 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2542 \section{Slide Transitions}
2543 \sectionsintoc{7-}
2544 \sectiontableofcontentslide
2545
2546 \IfFileExists{ciad-ciadlogo.pdf}{%
2547 \pgfdeclareimage[width=.5\linewidth]{transitionalciadlogo}{ciad-ciadlogo}%
2548 }{%
2549 \pgfdeclareimage[width=.5\linewidth]{transitionalciadlogo}{ciadbeamer-nologo}%
2550 }
2551 \IfFileExists{ciad-utbmlogo.pdf}{%
2552 \pgfdeclareimage[width=.5\linewidth]{transitionalutbmlogo}{ciad-utbmlogo}%
2553 }{%
2554 \pgfdeclareimage[width=.5\linewidth]{transitionalutbmlogo}{ciadbeamer-nologo}%
2555 }
2556 \IfFileExists{ciad-ubelogo.pdf}{%
2557 \pgfdeclareimage[width=.5\linewidth]{transitionalubelogo}{ciad-ubelogo}%
2558 }{%
2559 \pgfdeclareimage[width=.5\linewidth]{transitionalubelogo}{ciadbeamer-nologo}%
2560 }
2561 \IfFileExists{ciad-carnotlogo.pdf}{%
2562 \pgfdeclareimage[width=.5\linewidth]{transitionalcarnotlogo}{ciad-carnotlogo}%
2563 }{%
2564 \pgfdeclareimage[width=.5\linewidth]{transitionalcarnotlogo}{ciadbeamer-nologo}%
2565 }
2566
2567 \begin{frame}[c]{Transition: {\textbackslash}transblindshorizontal}
2568 \transblindshorizontal
2569 \begin{center}
2570 \pgfuseimage{transitionalciadlogo}
2571 \end{center}
2572 \end{frame}
2573
2574 \begin{frame}[c]{Transition: {\textbackslash}transblindsvertical}
2575 \transblindsvertical
2576 \begin{center}
2577 \pgfuseimage{transitionalutbmlogo}
2578 \end{center}
2579 \end{frame}
2580
2581 \begin{frame}[c]{Transition: {\textbackslash}transboxin}
2582 \transboxin
2583 \begin{center}
2584 \pgfuseimage{transitionalubelogo}
2585 \end{center}
2586 \end{frame}
2587
2588 \begin{frame}[c]{Transition: {\textbackslash}transboxout}
2589 \transboxout
2590 \begin{center}
2591 \pgfuseimage{transitionalutbmlogo}
2592 \end{center}
2593 \end{frame}
2594
2595 \begin{frame}[c]{Transition: {\textbackslash}transdissolve}
2596 \transdissolve
2597 \begin{center}
2598 \pgfuseimage{transitionalcarnotlogo}
2599 \end{center}
2600 \end{frame}
2601
2602 \begin{frame}[c]{Transition: {\textbackslash}transglitter}
2603 \transglitter
2604 \begin{center}
2605 \pgfuseimage{transitionalciadlogo}
2606 \end{center}
2607 \end{frame}
2608
2609 \begin{frame}[c]{Transition: {\textbackslash}transsplitverticalin}
2610 \transsplitverticalin
2611 \begin{center}
2612 \pgfuseimage{transitionalutbmlogo}
2613 \end{center}
2614 \end{frame}
2615
2616 \begin{frame}[c]{Transition: {\textbackslash}transsplitverticalout}
2617 \transsplitverticalout
2618 \begin{center}
2619 \pgfuseimage{transitionalubelogo}
2620 \end{center}
2621 \end{frame}
2622
2623 \begin{frame}[c]{Transition: {\textbackslash}transsplithorizontalin}
2624 \transsplithorizontalin
2625 \begin{center}
2626 \pgfuseimage{transitionalutbmlogo}
2627 \end{center}
2628 \end{frame}
2629
2630 \begin{frame}[c]{Transition: {\textbackslash}transsplithorizontalout}
2631 \transsplithorizontalout
2632 \begin{center}
2633 \pgfuseimage{transitionalcarnotlogo}
2634 \end{center}
2635 \end{frame}
2636
2637 \begin{frame}[c]{Transition: {\textbackslash}transwipe}
2638 \transwipe
2639 \begin{center}
2640 \pgfuseimage{transitionalciadlogo}
2641 \end{center}
2642 \end{frame}
2643
2644 \begin{frame}[c]{Transition: {\textbackslash}transduration\{nb\}}
2645 \transduration{2}
2646 \begin{center}
2647 \pgfuseimage{transitionalutbmlogo}
2648 \end{center}
2649 \end{frame}
2650
2651 \begin{frame}[c]{Transition: {\textbackslash}transpush}
2652 \transpush
2653 \begin{center}
2654 \pgfuseimage{transitionalubelogo}
2655 \end{center}
2656 \end{frame}
2657
2658 \begin{frame}[c]{Transition: {\textbackslash}transreplace}
2659 \transreplace
2660 \begin{center}
2661 \pgfuseimage{transitionalutbmlogo}
2662 \end{center}
2663 \end{frame}
2664
2665 \begin{frame}[c]{Transition: {\textbackslash}transcover}
2666 \transcover
2667 \begin{center}
2668 \pgfuseimage{transitionalcarnotlogo}
2669 \end{center}
2670 \end{frame}
2671
2672
2673
2674 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2675 \section{Low-level commands}
2676 \sectionsintoc{7-}
2677 \sectiontableofcontentslide
2678
2679 \subsection{Localization}
2680
2681 \begin{frame}{Multilingual Support}
2682 Talks may be written with frames in different languages. The CIAD Beamer template provides commands for helping to building multilingual documents.
2683 \begin{itemize}
2684 \item \texttt{{\textbackslash}languageshortname}: command that is replaced by the short name of the current language (\texttt{en} for English, \texttt{fr} for French, \texttt{ge} for German)
2685 \item \texttt{{\textbackslash}inputlang\{filename\}}: similar to the standard \texttt{{\textbackslash}input} but searching for a file marked for the current language with the name \texttt{filename\_LG} where \texttt{filename} is the argument and \texttt{LG} is the current language code given by \texttt{{\textbackslash}languageshortname}. If the file with name \texttt{filename\_LG} is not found, then the file with name \texttt{filename} is input.
2686 \item \texttt{{\textbackslash}includelang\{filename\}}: similar to the standard \texttt{{\textbackslash}include} but searching for a file marked for the current language with the name \texttt{filename\_LG} where \texttt{filename} is the argument and \texttt{LG} is the current language code given by \texttt{{\textbackslash}languageshortname}. If the file with name \texttt{filename\_LG} is not found, then the file with name \texttt{filename} is included.
2687 \end{itemize}
2688 \end{frame}
2689
2690 \begin{frame}{Use Localized Commands}
2691 \begin{itemize}
2692 \item Several commands are implemented with the search method described in the previous slide:
2693 \begin{stabularx}[title={List of Localized Commands}]{XX}
2694 \tabularhead{Command}{Localized Version} \\
2695 \texttt{{\textbackslash}input} & \texttt{{\textbackslash}inputlang} \\
2696 \texttt{{\textbackslash}include} & \texttt{{\textbackslash}includelang} \\
2697 \texttt{{\textbackslash}figureslide} & \texttt{{\textbackslash}figureslide} \\
2698 \end{stabularx}
2699 \item Command \texttt{{\textbackslash}localized} permits to use the localized version of a known command
2700 \end{itemize}
2701 \begin{block}{Example}
2702 \texttt{{\textbackslash}localized{\textbackslash}input\{myfile\}} is equivalent to \texttt{{\textbackslash}inputlang\{myfile\}}
2703 \end{block}
2704 \end{frame}
2705
2706 \subsection{Handlers on Frames}
2707
2708 \begin{frame}{At Begin/End of Frame}
2709 \begin{itemize}
2710 \item If you want to do something at the beginning and ending of each frame, you could use: \\
2711 \texttt{{\textbackslash}AtBeginFrame\{something\}} \\
2712 \texttt{{\textbackslash}AtEndFrame\{something\}}
2713 \end{itemize}
2714 \end{frame}
2715
2716 \subsection{Graphic Axes}
2717
2718 \begin{frame}{Graphic Axes}
2719 \begin{itemize}
2720 \item The following command display the graphic axes that may be used for putting something somewhere on the slide: \\
2721 \texttt{{\textbackslash}graphicaxes}
2722 \item The following command draw the axes at the coordinates $(0,0)$: \\
2723 \texttt{{\textbackslash}showgraphicaxes}
2724 \item The size of the axes corresponds to 1 unit.
2725 \end{itemize}
2726 \begin{example}
2727 \texttt{{\textbackslash}graphicaxes}\\
2728 \graphicaxes
2729 \end{example}
2730 \end{frame}
2731
2732 \subsection{Picture Filename Resolution}
2733
2734 \begin{frame}{Picture Filename Resolution}
2735 \begin{itemize}
2736 \item For searching a picture file into the search paths defined with \texttt{{\textbackslash}graphicspath}, you could use the two following commands.
2737 \item For searching the file: \\
2738 \texttt{{\textbackslash}resolvepicturename\{partial filename\}}
2739 \item The previous command sets the global command \texttt{{\textbackslash}resolvedfilename} to the full name of the file if it was found; or to \texttt{{\textbackslash}relax} if it was not found.
2740 \end{itemize}
2741 \begin{example}
2742 \texttt{{\textbackslash}graphicspath\{\{./imgs\}\}} \\
2743 \texttt{{\textbackslash}resolvepicturename\{myfile\}} \\
2744 \texttt{{\textbackslash}pgfdeclareimage\{myfileid\}\{{\textbackslash}resolvedfilename\}} \\
2745 \texttt{{\textbackslash}pgfuseimage\{myfileid\}} \\
2746 \end{example}
2747 \end{frame}
2748
2749 \begin{frame}{Local Definition of the Picture Search Paths}
2750 \begin{itemize}
2751 \item You could locally redefine the picture search path in your presentation.
2752 \item The environment \texttt{graphicspathcontext} permits to override the value of the picture search path inside its content: \\
2753 \texttt{{\textbackslash}begin\{graphicspathcontext\}\{paths\}} \\
2754 \texttt{...} \\
2755 \texttt{{\textbackslash}end\{graphicspathcontext\}}
2756 \item The provided path must follow the same syntax as the parameter of the \texttt{{\textbackslash}graphicspath} command.
2757 \item You could reuse the paths from the enclosing context by putting \texttt{{\textbackslash}old} in the environment's parameter. \\
2758 \inlineexample{\texttt{\{./path/to/pictures/\}\{./other/path/\},{\textbackslash}old}}
2759 \end{itemize}
2760 \end{frame}
2761
2762 \end{document}