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

\usepackage{fhtw}
5
6
7
\usepackage{custom}
\usepackage{lipsum}
\usepackage{adjustbox}
Alija Sabic's avatar
Alija Sabic committed
8
\usepackage{appendixnumberbeamer}
9
\usepackage[french,german,english]{babel}
Alija Sabic's avatar
Alija Sabic committed
10
11
12
13
14
15
16

% ----------------------------------------------------------------------------------------------------------------------------
% Customization
% ----------------------------------------------------------------------------------------------------------------------------
% Title
\makeatletter \def\currentdate{\@date} \makeatother
\def\title{Presentation Title}
17
\def\shorttitle{\hspace{1.75em}\title}
Alija Sabic's avatar
Alija Sabic committed
18
\def\authorname{Robin Forest}
19
\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
20
21
22
23
24
25
26
27
28
29
\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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
\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
46

47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
% ----------------------------------------------------------------------------------------------------------------------------
% 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
65
\acsetup{first-long-format=\itshape}
66
67
68
69
70
71
72
73
74
75
76
\input{acronyms}

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

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

79
% ----------------------------------------------------------------------------------------------------------------------------
80
81
% ----------------------------------------------------------------------------------------------------------------------------

Alija Sabic's avatar
Alija Sabic committed
82
83
84
85
86
% Required for correct coloring of frames created because of `allowframebreaks` option.
\setbeamercolor{frametitle}{fg=tw-blue}

\begin{document}

87
% Add acronyms used in images or not used at all by adding to the list
88
\acuse{FHTW,FG}
89

Alija Sabic's avatar
Alija Sabic committed
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
% ----------------------------------------------------------------------------------------------------------------------------
% 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
107
108

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

Alija Sabic's avatar
Alija Sabic committed
112
113
114
115
% ----------------------------------------------------------------------------------------------------------------------------
% Main Content
% ----------------------------------------------------------------------------------------------------------------------------
\section{Content}
116
    \begin{frame}[allowframebreaks]{Demonstration}
Alija Sabic's avatar
Alija Sabic committed
117
        \begin{itemize}\itemsep3em
118
            \item References
Alija Sabic's avatar
Alija Sabic committed
119
120
121
            \item Itemize
            \item Enumerate
            \item Description
122
            \item Block
Alija Sabic's avatar
Alija Sabic committed
123
            \item Figures
124
125
            \item Tables
            \item Listings
Alija Sabic's avatar
Alija Sabic committed
126
127
128
        \end{itemize}
    \end{frame}

129
\subsection{References}
130
131
132
133
134
135
136
137
138
139
140
    \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}

141
\subsection{Textual}
Alija Sabic's avatar
Alija Sabic committed
142
143
144
145
146
    \begin{frame}{Demonstration}{Itemize}
        \begin{itemize}\itemsep3em
            \item<1-> One
            \item<2-> Two
            \item<3-> Three
147
148
149
150
151
            \begin{itemize}\itemsep1em
                \item<4-> Four
                \item<5-> Five
                \item<6-> Six
            \end{itemize}
Alija Sabic's avatar
Alija Sabic committed
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
        \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}

172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
    \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
192
193
194
195
196
197
198
    \begin{frame}{Demonstration}{Figures}
        \begin{figure}
            \centering
            \includegraphics<1>[width=0.4\textwidth]{resources/images/dilbert1.pdf}%
            \includegraphics<2>[width=0.4\textwidth]{resources/images/dilbert2.pdf}%
            \includegraphics<3>[width=0.4\textwidth]{resources/images/dilbert3.pdf}%
            \caption{\textcopyright~2018 Scott Adams, \url{dilbert.com}}
199
            \label{fig:figure1}
Alija Sabic's avatar
Alija Sabic committed
200
201
202
        \end{figure}
    \end{frame}

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
    \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
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
% ----------------------------------------------------------------------------------------------------------------------------
% Outro
% ----------------------------------------------------------------------------------------------------------------------------
\section{Outro}
    \begin{frame}{Outro}
    \end{frame}

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

    % Acronyms
    \begin{frame}[allowframebreaks]{Acronyms}
        \label{acronyms}
335
        \printacronyms
Alija Sabic's avatar
Alija Sabic committed
336
337
338
339
340
    \end{frame}

    % References
    \begin{frame}[allowframebreaks]{References}
        \label{references}
341
        \bibliography{references}
Alija Sabic's avatar
Alija Sabic committed
342
343
344
345
    \end{frame}


\end{document}