demo.tex 15.2 KB
Newer Older
Alija Sabic's avatar
Alija Sabic committed
1
2
3
\documentclass{beamer}
% \usepackage[texcoord,grid,gridunit=mm,gridcolor=red!10,subgridcolor=green!10]{eso-pic}

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
\usepackage{pgfpages} % multi screen mode

% Enable two-screen mode only for notes
\makeatletter
\@ifclasswith{beamer}{notes}{\setbeameroption{show notes on second screen=right}}{}
\makeatother


% ----------------------------------------------------------------------------------------------------------------------------
% Bibliography/References
% ----------------------------------------------------------------------------------------------------------------------------
\usepackage[square,numbers,sort]{natbib}
\usepackage{usebib}
\bibinput{references}

\setlength{\bibsep}{1em}
\bibliographystyle{./../IEEEtranSNC}
\interfootnotelinepenalty=10000

% ----------------------------------------------------------------------------------------------------------------------------
% Languagues
% ----------------------------------------------------------------------------------------------------------------------------
\usepackage[french,german,english]{babel}

% ----------------------------------------------------------------------------------------------------------------------------
% Styles & Packages
% ----------------------------------------------------------------------------------------------------------------------------
Alija Sabic's avatar
Alija Sabic committed
31
\usepackage{fhtw}
32
33
34
\usepackage{custom}
\usepackage{lipsum}
\usepackage{adjustbox}
Alija Sabic's avatar
Alija Sabic committed
35
36
37
38
39
40
41
\usepackage{appendixnumberbeamer}
% ----------------------------------------------------------------------------------------------------------------------------
% Customization
% ----------------------------------------------------------------------------------------------------------------------------
% Title
\makeatletter \def\currentdate{\@date} \makeatother
\def\title{Presentation Title}
42
\def\shorttitle{\hspace{1.75em}\title}
Alija Sabic's avatar
Alija Sabic committed
43
\def\authorname{Robin Forest}
44
\def\authortext{\href{mailto:me@technikum-wien.at;other@technikum-wien.at?subject=\title}{Ausgef\"uhrt von: \authorname}}
Alija Sabic's avatar
Alija Sabic committed
45
46
47
48
49
50
51
52
53
54
\def\studentid{Personenkennzeichen: 1234567890}
\def\supervisortitle{Betreuer:}
\def\supervisor{1\textsuperscript{st} Supervisor}
\def\secondsupervisor{2\textsuperscript{nd} Supervisor}
\def\place{Vienna}
% Colors
\def\primarycolor{tw-blue}
\def\secondarycolor{tw-green}
\def\accentcolor{tw-gray}
% Misc
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
\author{\authorname}


% ----------------------------------------------------------------------------------------------------------------------------
% Units
% ----------------------------------------------------------------------------------------------------------------------------
\usepackage[binary-units]{siunitx}
\usepackage{xfrac}
\sisetup{quotient-mode=fraction,fraction-function=\sfrac,product-units=single,exponent-product=\times}

% ----------------------------------------------------------------------------------------------------------------------------
% Tables
% ----------------------------------------------------------------------------------------------------------------------------
\usepackage{booktabs,tabu}
\usepackage{multirow}
\usepackage{multicol}
Alija Sabic's avatar
Alija Sabic committed
71

72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
% ----------------------------------------------------------------------------------------------------------------------------
% Hyperlinks
% ----------------------------------------------------------------------------------------------------------------------------
\usepackage{hyperref}
\hypersetup{
    % colorlinks = false, linkbordercolor = {white}, linkbordercolor = tw-green!50, linkbordercolor = white,
    % anchorcolor= tw-green, anchorcolor= white!0, citebordercolor = tw-gray!50, urlbordercolor = tw-blue!50,
    colorlinks = true,
    anchorcolor = black,
    linkcolor = \primarycolor,
    citecolor = \primarycolor,
    urlcolor = \primarycolor
}

% ----------------------------------------------------------------------------------------------------------------------------
% Acronyms
% ----------------------------------------------------------------------------------------------------------------------------
\usepackage[hyperref=true]{acro}
Alija Sabic's avatar
Alija Sabic committed
90
\acsetup{first-long-format=\itshape}
91
92
\input{acronyms}

93
% ----------------------------------------------------------------------------------------------------------------------------
94
95
% ----------------------------------------------------------------------------------------------------------------------------

Alija Sabic's avatar
Alija Sabic committed
96
97
98
99
100
% Required for correct coloring of frames created because of `allowframebreaks` option.
\setbeamercolor{frametitle}{fg=tw-blue}

\begin{document}

101
% Add acronyms used in images or not used at all by adding to the list
102
\acuse{FHTW,FG}
103

Alija Sabic's avatar
Alija Sabic committed
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
% ----------------------------------------------------------------------------------------------------------------------------
% Title & ToC
% ----------------------------------------------------------------------------------------------------------------------------
    \begin{frame}[plain]
        \titlepage
        \addtocounter{framenumber}{-1}
    \end{frame}
    
    \begin{frame}[plain]{Outline}
        \tableofcontents[subsubsectionstyle=hide]
        \addtocounter{framenumber}{-1}
    \end{frame}

% ----------------------------------------------------------------------------------------------------------------------------
% Intro
% ----------------------------------------------------------------------------------------------------------------------------
\section{Intro}
Alija Sabic's avatar
Alija Sabic committed
121
122

    \begin{frame}{Introduction}
123
        \ac{ES}-style beamer template of \acs{UAS} Technikum Wien.
Alija Sabic's avatar
Alija Sabic committed
124
125
    \end{frame}

126
127
128
129
130
131
132
133
134
135
    \note{
        Introduction

        \begin{itemize}
            \item Issue 1
            \item Issue 2
            \item Issue 3
        \end{itemize}
    }

Alija Sabic's avatar
Alija Sabic committed
136
137
138
139
% ----------------------------------------------------------------------------------------------------------------------------
% Main Content
% ----------------------------------------------------------------------------------------------------------------------------
\section{Content}
140
    \begin{frame}[allowframebreaks]{Demonstration}
Alija Sabic's avatar
Alija Sabic committed
141
        \begin{itemize}\itemsep3em
142
            \item References
Alija Sabic's avatar
Alija Sabic committed
143
144
145
            \item Itemize
            \item Enumerate
            \item Description
146
            \item Block
Alija Sabic's avatar
Alija Sabic committed
147
            \item Figures
148
149
            \item Tables
            \item Listings
Alija Sabic's avatar
Alija Sabic committed
150
151
152
        \end{itemize}
    \end{frame}

153
\subsection{References}
154
155
156
157
158
159
160
161
162
163
164
    \begin{frame}{Demonstration}{References}
        \begin{itemize}\itemsep2em
            \item \citet{einstein1905}
            \item \citet{pentz2004}
            \item \citet{latexcompanion}
            \item \citet{daniel1998}
            \item \citet{knuthwebsite}
            \item \cite{article, book, booklet}
        \end{itemize}
    \end{frame}

165
\subsection{Textual}
Alija Sabic's avatar
Alija Sabic committed
166
167
168
169
170
    \begin{frame}{Demonstration}{Itemize}
        \begin{itemize}\itemsep3em
            \item<1-> One
            \item<2-> Two
            \item<3-> Three
171
172
173
174
175
            \begin{itemize}\itemsep1em
                \item<4-> Four
                \item<5-> Five
                \item<6-> Six
            \end{itemize}
Alija Sabic's avatar
Alija Sabic committed
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
        \end{itemize}
    \end{frame}

    \begin{frame}{Demonstration}{Enumerate}
        \begin{enumerate}\itemsep3em
            \item<1-> One
            \item<2-> Two
            \item<3-> Three
        \end{enumerate}
    \end{frame}

    \begin{frame}{Demonstration}{Description}
        \begin{description}\itemsep2em
            \item<1-> [Ant] Ameise
            \item<2-> [Elephant] Elefant
            \item<3-> [Bee] Biene
            \item<4-> [Honey] Honig
        \end{description}
    \end{frame}

196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
    \begin{frame}{Demonstration}{Block}

        \begin{block}<1->{This is a block}
            Lipsum ipsum dolor sit amet, consectetur elit. Morbi ac arcu est, vel poseuere velit.
            In congue erat vel lorem ornare pretium.
        \end{block}

        \begin{exampleblock}<2->{This is an exampleblock}
            Lipsum ipsum dolor sit amet, consectetur elit. Morbi ac arcu est, vel poseuere velit.
            In congue erat vel lorem ornare pretium.
        \end{exampleblock}

        \begin{alertblock}<3->{This is an alertblock}
            Lipsum ipsum dolor sit amet, consectetur elit. Morbi ac arcu est, vel poseuere velit.
            In congue erat vel lorem ornare pretium.
        \end{alertblock}

    \end{frame}

\subsection{Illustrations}
Alija Sabic's avatar
Alija Sabic committed
216
217
218
    \begin{frame}{Demonstration}{Figures}
        \begin{figure}
            \centering
219
220
221
222
223
224
            \includegraphics<1|handout:0>[width=0.4\textwidth]{resources/images/dilbert1.pdf}%
            \includegraphics<2|handout:0>[width=0.4\textwidth]{resources/images/dilbert2.pdf}%
            \includegraphics<3|handout:0>[width=0.4\textwidth]{resources/images/dilbert3.pdf}%
            \includegraphics<handout>[width=0.3\textwidth]{resources/images/dilbert1.pdf}%
            \includegraphics<handout>[width=0.3\textwidth]{resources/images/dilbert2.pdf}%
            \includegraphics<handout>[width=0.3\textwidth]{resources/images/dilbert3.pdf}%
Alija Sabic's avatar
Alija Sabic committed
225
            \caption{\textcopyright~2018 Scott Adams, \url{dilbert.com}}
226
            \label{fig:figure1}
Alija Sabic's avatar
Alija Sabic committed
227
228
229
        \end{figure}
    \end{frame}

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
    \begin{frame}{Demonstration}{Listings}
        \begin{adjustbox}{center,max width=0.85\textwidth,max height=\textheight}
            \lstinputlisting[
                caption={C Syntax Highlighting},
                label=lst:listing1,
                style=c,
                emph={EXIT_SUCCESS},
                breaklines=true,
            ]{resources/listings/main.c}
        \end{adjustbox}
    \end{frame}

\subsection{Tables}
    \begin{frame}{Demonstration}{Tables}
        \begin{table}
            \setlength{\leftmargini}{4mm}
    
            \centering\scriptsize

            \begin{tabu} to 0.95\linewidth {X[2]XXX} \toprule
                
                Material & Symbol & $E_{\textup{g}}$ (\si{\electronvolt}) & Type \\
                \midrule

                \rowfont\bfseries
                \multicolumn{4}{c}{Elements} \\
                diamond   & $C$  & 5.46 & i \\
                silicon   & $Si$ & 1.12 & i \\
                germanium & $Ge$ & 0.67 & i \\
                selenium  & $Se$ & 1.74 & d \\
                \midrule

                \rowfont\bfseries
                \multicolumn{4}{c}{IV-IV Compounds} \\
                silicon carbide & $SiC 3C$ & \num{2.36} & i \\
                silicon carbide & $SiC 4H$ & \num{3.28} & i \\
                silicon carbide & $SiC 6H$ & \num{3.03} & i \\
                \midrule

                \rowfont\bfseries
                \multicolumn{4}{c}{III-V Compounds} \\
                indium phosphide  & $InP$  & \num{1.27}  & d \\
                indium arsenide   & $InAs$ & \num{0.355} & d \\
                gallium nitride   & $GaN$  & \num{3.37}  & d \\
                gallium arsenide  & $GaAs$ & \num{1.42}  & d \\
                aluminium nitride & $AlN$  & \num{6.2}   & d \\

                \bottomrule
            \end{tabu}

            \caption{The bandgab of some semiconductors.}
            \label{tab:table1}
        \end{table}
    \end{frame}

    \begin{frame}{Demonstration}{Tables}
        \begin{table}
            % \tabulinesep=0mm
            % \extrarowsep=0mm
            % \extratabsurround=0mm
            \setlength{\leftmargini}{4mm}
    
            \centering
            \resizebox{0.95\linewidth}{!}{%

            \begin{tabu} to 2.5\linewidth {X[0.2,m]X[0.25,m]X[0.35,m]X[0.3,m]X[c,m]} \toprule
                % \everyrow{\midrule}

                \rowfont{\large\bfseries}
                Unit name & Unit Symbol & Dimension symbol & Quanitity name & Definition\textsuperscript{\normalfont 1}
                \\ \midrule

                \rowfont{\Large}
                \textbf{metre} & \si{\m} & L & length &
                \begin{itemize}\footnotesize
                    \item \textbf{Prior} (\num{1793}): \SI{1/10000000}{} of the meridian through Paris between the North Pole and the Equator.\textsuperscript{FG}
                    \item \textbf{Interim} (\num{1960}): \SI{1650763.73}{} wavelengths in a vacuum of the radiation corresponding to the transition
                          between the $\num{2} \textmd{p}^{\num{10}}$ and $\num{5} \textmd{d}^{\num{5}}$ quantum levels of the krypton-\num{86} atom.
                    \item \textbf{Current} (\num{1983}): The distance travelled by light in vacuum in \SI{1/299792458}{\second}.
                \end{itemize}
                \\ \midrule

                \rowfont{\Large}
                \textbf{kilogram}\textsuperscript{\normalfont 2} & \si{\kg} & M & mass &
                \begin{itemize}\footnotesize
                    \item \textbf{Prior} (\num{1793}): The grave was defined as being the mass (then called weight) of one litre of pure water at its freezing point.\textsuperscript{FG}
                    \item \textbf{Current} (\num{1889}): The mass of a small squat cylinder of $\sim$\SI{47}{\cubic\cm} of platinum-iridium alloy kept in the Pavillon de Breteuil, France.
                          Also, in practice, any of numerous official replicas of it.
                    \item \textbf{Future} (\num{2019}): The \si{\kg} is defined by taking the Planck constant h as exactly
                          \SI{6.62607015e-34}{\joule\second} (\si{\joule} = \si{\kg\square\meter\per\square\second}), given the definitions of the \si{\meter} and the \si{\second}.
                \end{itemize}
                \\ \midrule

                \rowfont{\Large}
                \textbf{second} & \si{\second} & T & time &
                \begin{itemize}\footnotesize
                    \item \textbf{Prior}: \SI{1/86400}{} of a day of \SI{24}{\hour} of \SI{60}{\minute} of \SI{60}{\second}.
                    \item \textbf{Interim} (\num{1956}): \SI{1/31556925.9747}{} of the tropical year for \num{1900} January \num{0} at \SI{12}{\hour} ephemeris time.
                    \item \textbf{Current} (\num{1967}): The duration of \num{9192631770} periods of the radiation corresponding to the transition between the two hyperfine levels of the ground state of the caesium-\num{133} atom.
                \end{itemize}
                \\ \midrule

                \multicolumn{5}{l}{\textsuperscript{1} Interim definitions are given here only when there has been a significant difference in the definition.} \\
                \multicolumn{5}{l}{\textsuperscript{2} Despite the prefix ``kilo-'', the kilogram is the base unit of mass.} \\
                \multicolumn{5}{l}{\textsuperscript{FG} \acf{FG}.} \\

                \bottomrule

            \end{tabu}

            }
            \caption{\acs{SI} base units}
            \label{tab:table2}
        \end{table}
    \end{frame}

Alija Sabic's avatar
Alija Sabic committed
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
% ----------------------------------------------------------------------------------------------------------------------------
% Outro
% ----------------------------------------------------------------------------------------------------------------------------
\section{Outro}
    \begin{frame}{Outro}
    \end{frame}

% ----------------------------------------------------------------------------------------------------------------------------
% Appendix
% ----------------------------------------------------------------------------------------------------------------------------
\section{Appendix}
    \appendix

    % Acronyms
    \begin{frame}[allowframebreaks]{Acronyms}
        \label{acronyms}
362
        \printacronyms
Alija Sabic's avatar
Alija Sabic committed
363
364
365
366
367
    \end{frame}

    % References
    \begin{frame}[allowframebreaks]{References}
        \label{references}
368
        \bibliography{references}
Alija Sabic's avatar
Alija Sabic committed
369
370
371
372
    \end{frame}


\end{document}