forked from Association-Atilla/atilla-beamer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
content.tex
199 lines (185 loc) · 6.66 KB
/
content.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
% DO NOT COMPILE THIS FILE DIRECTLY!
% This is included by the other .tex files.
\begin{frame}[t,plain]
\titlepage
\end{frame}
\begin{frame}[t]{What is this?}
\begin{itemize}
\item Beamer is a \LaTeX{} class that allows you to create presentations
\item The project home page is http://latex-beamer.sourceforge.net/
\item Beamer contains several themes, but they are a bit ugly
\begin{itemize}
\item But with a lot of useful features, such as navigation bars, outlines,
etc.
\end{itemize}
\item Torino is a pretty theme
\begin{itemize}
\item With a lot of useless -- but pretty -- features
\item But without some useful features
\item Well suited for short talks, for longer talks you should use themes
with navigation bars
\end{itemize}
\item Why the name?
\begin{itemize}
\item Other themes are named after locations of Universities or conferences
\item Torino (Turin) is the location of Politecnico di Torino, my university
\end{itemize}
\end{itemize}
\end{frame}
\begin{frame}[t,fragile]{How to use the theme}
\begin{itemize}
\item Install Beamer
\begin{itemize}
\item Some distros have a \verb!latex-beamer! package
\end{itemize}
\item Read the Beamer documentation
\begin{itemize}
\item \verb!/usr/share/doc/latex-beamer/beameruserguide.pdf.gz! if you are
using Debian
\item \verb!doc/beameruserguide.pdf! in the source package
\end{itemize}
\item Install the theme
\begin{itemize}
\item \verb!mkdir -p ~/texmf/tex/latex/beamer!\\
\item \verb!cp *.sty ~/texmf/tex/latex/beamer!
\end{itemize}
\item Read the example files
\begin{itemize}
\item \verb!chameleon.tex!: green theme, watermark and circles for bullet
lists
\item \verb!nouvelle.tex!: green and red theme, watermark and squares for
bullet lists
\item \verb!freewilly.tex!: blue theme, a logo and squares for bullet lists
\end{itemize}
\end{itemize}
\end{frame}
\begin{frame}[t,fragile]{Theme files}
\begin{itemize}
\item Themes are composed by sub-themes for single features
\item Inner themes define how the title page, the bullet lists, margins,
etc. work
\begin{itemize}
\item \verb!beamerinnerthemefancy.sty!
\end{itemize}
\item Outer themes define how headers and footers look like
\begin{itemize}
\item \verb!beamerouterthemedecolines.sty!
\end{itemize}
\item Color themes define the colors to be used in outer and inner themes
\begin{itemize}
\item \verb!beamercolorthemechameleon.sty!: green footers and headers
\item \verb!beamercolorthemenouvelle.sty!: green footers, red headers and
and frame title
\item \verb!beamercolorthemefreewilly.sty!: blue footers, headers and
frame title
\end{itemize}
\item Global themes just include inner, outer and color themes
\begin{itemize}
\item \verb!beamerthemeTorino.sty!
\end{itemize}
\end{itemize}
\end{frame}
\begin{frame}[t,fragile]{Configuring the theme}
\begin{itemize}
\item Beamer themes can be configured with options between \verb![! and
\verb!]!
\begin{itemize}
\item \verb!\usetheme[option1 = value, option2 = value]{Torino}!
\end{itemize}
\item If you do not specify any option, you get
\begin{itemize}
\item Simple title page
\item No watermark or logo
\item Chameleon (green) color theme
\item Squares for bullet lists
\end{itemize}
\item Color themes can be changed with \verb!\usecolortheme!
\begin{itemize}
\item \verb!\usecolortheme{nouvelle}!: green and red
\item \verb!\usecolortheme{freewilly}!: blue
\end{itemize}
\item A logo, shown in the upper right corner, can be choosen with the
\verb!\logo! command
\begin{itemize}
\item \verb!\logo{\includegraphics[height=50px]{logo-image}}!
\end{itemize}
\end{itemize}
\end{frame}
\begin{frame}[t,fragile]{Alternative title page}
\begin{itemize}
\item A fancy title page can be enabled with the \verb!alternativetitlepage!
option
\item You can put a logo in the title page, just pass the file name using the
\verb!titlepagelogo! option
\item Remember to use a plain and top-aligned frame when using alternative title
pages:\\
\vskip1ex
\verb!\begin{frame}[t,plain]!\\
\verb!\titlepage!\\
\verb!\end{frame}!
\end{itemize}
\end{frame}
\begin{frame}[t,fragile]{Watermark}
\begin{itemize}
\item A watermark can be shown in the bottom right corner of frames
\item Use the \verb!watermark! option to set name of the image file
\item The \verb!watermarkheight! option specifies the height of the watermark
image
\item It's a good idea to have a big image and shrink it, so it looks good
when the slide is full screen
\item If the image height in the slide is not the same as the original one,
you have to use the \verb!watermarkheightmult! option
\begin{itemize}
\item For example, if the image is 400 pixel tall but you want it to
occupy only 100 pixels, use
\verb![watermarkheight=100px, watermarkheightmult=4]!
\item It's ugly but I don't know how to fix it
\end{itemize}
\end{itemize}
\end{frame}
\begin{frame}[t,fragile]{Disabling the watermark}
\begin{itemize}
\item You may want to disable the watermark on some frames
\begin{itemize}
\item For example, an image could partially cover the watermark, with ugly
results
\end{itemize}
\item The \verb!\watermarkoff! command can be used to disable the watermark
in the following frames
\item The \verb!\watermarkon! command restores the watermark in the following
frames
\item If you did not specify a watermark, nothing happens
\vskip5ex
\item \verb!\watermarkoff! was used for this frame
\end{itemize}
\end{frame}
\begin{frame}[t,fragile]{Other options}
\begin{itemize}
\item The \verb!pageofpages! option defines the string between the current
page number and the total page count
\begin{itemize}
\item The default is ``/''
\item The example files set \verb!pageofpages! to ``of''
\end{itemize}
\item The \verb!bullet! option can be used to choose the symbol used in
bullet lists
\begin{itemize}
\item \verb!square!: A filled square
({\usebeamercolor[fg]{item}\tiny\raise0.2ex\hbox{$\blacksquare$}}) for
first and third level items, an empty square
({\usebeamercolor[fg]{item}\tiny\raise0.2ex\hbox{$\square$}}) for
second level items
\item \verb!circle!: A filled circle ({\usebeamercolor[fg]{item}$\bullet$})
for first and third level items, an empty circle
({\usebeamercolor[fg]{item}$\circ$}) for second level items
\item The default value is \verb!square!
\end{itemize}
\item If the \verb!titleline! option is set to \verb!true!, a horizontal line
is drawn below the title
\end{itemize}
\end{frame}
\begin{frame}{Hi !}
\begin{block}{}
Blablabla
\end{block}
\end{frame}