-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathexample.tex
executable file
·358 lines (307 loc) · 11.5 KB
/
example.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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%% %
%%%%% Document Class %
%%%%% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass{beamer}
%%%%% Package loading
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{xcolor}
\usepackage{listings}
%%%%% IIS theme-specific settings.
\usetheme[%
% waferpng, %% Use the PNG version of the wafer image on the title slide (increases file size!).
% showheader, %% Show the header line containing the section navigation.
% hidefooter, %% Hide the footer containing the affiliation and the author's name.
]{iis}
%% (Optional) Scale the wafer image on the title page.
% \setwaferwidth{0.5} % In percent of the \linewidth (default: 0.5)
% \setwaferleft{0.0} % In centimeter from the top-left corner of the slide (default: 0.0)
% \setwafertop{5.8} % In centimeter from the top-left corner of the slide (default: 5.8)
%% (Optional) Change the margin of the text on the slides (default =
%% 2em). Note that we currently do not adapt the indentation of the
%% frametitle accordingly.
% \setbeamersize{text margin left=1em, text margin right=1em}
%% You may change the appearance of the navigation symbols (shown at
%% the bottom right of each slide) using any of the following lines.
\setbeamertemplate{navigation symbols}{} %% Disable navigation symbols
% \setbeamertemplate{navigation symbols}[vertical] %% Vertically organize the navigation symbols.
% \setbeamertemplate{navigation symbols}[only frame symbol] %% Only show frame symbols
%%%%% Settings, specific only for this presentation.
\newcommand\latexcls[1]{\textsf{#1}}
\newcommand\latexsty[1]{\textsf{#1}}
%% A listing style for LaTeX/TeX code (note that the colors being used
%% are defined in the iis beamer template).
\lstdefinestyle{latexcodestyle}{
basicstyle = \ttfamily, %% The basic font style to be used for the code
keywordstyle = \color{eth4}\bfseries, %% The keyword style
language = {[LaTeX]TeX}, %% The language of the code
texcsstyle = *\color{eth7}\bfseries, %% Style of LaTeX/TeX-specific code
moretexcs = {usetheme}, %% Additional LaTeX/TeX-specifc keywords
morekeywords = {iis}, %% Other keywords
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%% %
%%%%% Document Settings %
%%%%% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title{\textbf{\texttt{iis}} - The \LaTeX{} \latexcls{beamer} Theme of the Integrated Systems Laboratory}
\subtitle{An easy to use template}
\date{Zurich, May 2015}
%% Determine the authors of the work.
\author[%
M. Muehlberghuber%% Used for the footline.
]{%
\textbf{Michael Muehlberghuber}%% The author giving the presentation.
%% Any further authors should come in here.
}
\institute[%
IIS%% The short version of the institute will be used for the footer.
]{Integrated Systems Laboratory}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%% %
%%%%% Document Start %
%%%%% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\begin{frame}[%
plain, %% We do not want to have headers and footers on the title page.
noframenumbering, %% Do not consider the title page for frame numbers.
]
\titlepage
\end{frame}
\begin{frame}
\frametitle{Outline}
\tableofcontents
\end{frame}
\section{Introduction}
\begin{frame}[%
fragile %% Required to use the listings-specific commands.
]
\frametitle{Introduction and Requirements}
%
This presentation serves as a basic introduction to the \LaTeX{}
\latexcls{beamer} theme of the Integrated Systems Laboratory
(IIS). Its main requirements are listed in the follwing: \vfill
%
\begin{itemize}
\item An easy to use \latexcls{beamer} theme, which can be activated
by adding \lstinline[style=latexcodestyle]!\usetheme{iis}! to a
\latexcls{beamer} document. \vfill
\item Make use of the corporate design (CD) colors and other design
elements (e.g., logos) of ETH
Zurich.\footnote{\url{https://www1.ethz.ch/hk/docs/corporate_design}}
\vfill
\item Create a minimalistic header and footer in order to make most of
the slide space available for the actual content. \vfill
\item Provide some pre-defined commands, which adhere to the CD of
ETH Zurich.
\end{itemize}
\end{frame}
\subsection{Usage}
\begin{frame}[%
fragile %% Required to use the listings-specific commands.
]
\frametitle{Usage}
\vfill
\begin{block}{\textbf{Usage at the Integrated Systems Laboratory}}<1->
In order to use this \latexcls{beamer} theme at the IIS, you only
need to add the following line to the preamble of your document:
\lstinline[style=latexcodestyle]!\usetheme{iis}!
\end{block}
%
\begin{block}{\textbf{External usage}}<2->
%
In order to use this \latexcls{beamer} theme on your personal
laptop or another arbitrary workstation, in addition to the above
line, you need to make sure that the following files are readable
for your \LaTeX{} distribution (e.g., in the directory where your
\LaTeX{} source document lies):
%
\begin{center}
\footnotesize
\begin{minipage}[b]{0.45\linewidth}
\begin{itemize}\itemsep0pt
\item \texttt{beamerthemeiis.sty}
\item \texttt{beamerouterthemeiis.sty}
\item \texttt{beamerinnerthemeiis.sty}
\item \texttt{beamercolorthemeiis.sty}
\item \texttt{beamerfontthemeiis.sty}
\end{itemize}
\end{minipage} \hfill
\begin{minipage}[b]{0.45\linewidth}
\begin{itemize}\itemsep0pt
\item \texttt{eth\_logo.pdf}
\item \texttt{eth\_logo\_neg.pdf}
\item \texttt{wafer.jpg}
\item \texttt{wafer.png}
\end{itemize}
\end{minipage} \hfill
\end{center}
\end{block}
\end{frame}
\section{Examples}
\subsection{Itemize and Enumerate Environments}
\begin{frame}
\frametitle{Examples}
\framesubtitle{Itemize and Enumerate Environments}
%
\vfill
\begin{itemize}
\item<1-> First \texttt{itemize} entry
\item<2-> Second \texttt{itemize} entry
\item<3-|alert@3> Third \texttt{itemize} entry
\begin{itemize}
\item<4-> First \texttt{itemize} subentry
\item<5-|alert@5> Second \texttt{itemize} subentry
\end{itemize}
\item<6-> Fourth \texttt{itemize} entry
\end{itemize}
%
\vfill
\vfill
\begin{enumerate}
\item<7-> First \texttt{enumerate} entry
\item<8-|alert@8> Second \texttt{enumerate} entry
\item<9-> Third \texttt{enumerate} entry
\begin{enumerate}
\item<10-> First \texttt{enumerate} subentry
\item<11-> Second \texttt{enumerate} subentry
\end{enumerate}
\item<12-> Fourth \texttt{enumerate} entry
\end{enumerate}
\vfill
\end{frame}
\subsection{Description Environment}
\begin{frame}
\frametitle{Examples}
\framesubtitle{Description Environment}
%
\vfill
%
Per default, the labels of the \texttt{description} environment are
right aligned, as shown in the two examples below:
\setbeamersize{description width of=Second:}
\begin{description}
\item[First:] First \texttt{description} entry
\item[Second:] Second \texttt{description} entry
\end{description}
\setbeamersize{description width=5cm}
\begin{description}
\item[First:] First \texttt{description} entry
\item[Second:] Second \texttt{description} entry
\end{description}
\vfill
\vfill
We also provide a command for left-aligned description labels:
\setbeamertemplate{description item}[align left]
\setbeamersize{description width of=Second:}
\begin{description}
\item[First:] First \texttt{description} entry
\item[Second:] Second \texttt{description} entry
\end{description}
\vfill
\end{frame}
\subsection{Boxes}
\begin{frame}
\frametitle{Examples}
\framesubtitle{Boxes}
\vfill
\begin{block}{\textbf{The header of a \texttt{block}}}<1->
The body of a \texttt{block}
\end{block}
\vfill
\begin{exampleblock}{\textbf{The header of an \texttt{exampleblock}}}<2->
The body of an \texttt{exampleblock}
\end{exampleblock}
\vfill
\begin{alertblock}{\textbf{The header of an \texttt{alertbox}}}<3->
The body of an \texttt{alertbox}
\end{alertblock}
\vfill
\begin{beamerboxesrounded}[width=\linewidth,shadow=true]{\textbf{The header of a \texttt{beamerboxesrounded}}}
The body of a \texttt{beamerboxesrounded}
\end{beamerboxesrounded}
\vfill
\end{frame}
\begin{frame}
\frametitle{Examples}
\framesubtitle{Boxes cont'd}
\vfill
\begin{block}<only@1>{\textbf{The header of a \texttt{block}}}
The body of a \texttt{block}
\end{block}
\begin{block}<only@2->{\textbf{The header of another \texttt{block}}}
The body of another \texttt{block}
\end{block}
\vfill
\begin{alertblock}<visible@3->{\textbf{The header of an \texttt{alertbox}}}
The body of an \texttt{alertbox}
\end{alertblock}
\vfill
\begin{exampleblock}<visible@2->{\textbf{The header of an \texttt{exampleblock}}}
The body of an \texttt{exampleblock}
\end{exampleblock}
\vfill
\end{frame}
\begin{frame}
\frametitle{Examples}
\framesubtitle{Theorems and Proofs}
\vfill
\begin{theorem}<1->
There exists an infinite set.
\end{theorem}
\vfill
\begin{proof}<2->
This follows from the axiom of infinity.
\end{proof}
\vfill
\begin{example}<3->[Natural Numbers]
The set of natural numbers is infinite.
\end{example}
\vfill
\end{frame}
\section{Customization}
\begin{frame}
\frametitle{Customize the Titlepage}
\begin{itemize}
\item How to change the position of the wafer image.
\item When should I use the PNG version of the wafer image on the
title page?
\end{itemize}
\end{frame}
\section{Backup Slides}
\begin{frame}
\frametitle{Backup Slides}
\begin{itemize}
\item Describe how to use backup slides.
\end{itemize}
\end{frame}
\section{FAQ}
\begin{frame}
\frametitle{FAQ}
\framesubtitle{Basics}
\begin{itemize}
\item Where did you get the color composition for this theme from?
\item Why don't we use the standard \LaTeX{} \latexsty{beamer}
template provided by
ETH
Zurich?\footnote{\url{https://www1.ethz.ch/hk/docs/corporate_design/buero}}
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{FAQ}
\framesubtitle{Collaborations}
\begin{itemize}
\item Describe how to create title pages for collaborations.
\end{itemize}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%% %
%%%%% Document End %
%%%%% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}