-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathuaBeamerExample.tex
143 lines (116 loc) · 4.78 KB
/
uaBeamerExample.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
\documentclass[pdflatex,compress]{beamer}
%\usetheme[darktitle,framenumber,totalframenumber]{UniversiteitAntwerpen}
\usetheme[light,framenumber,totalframenumber]{UniversiteitAntwerpen}
% \setbeamertemplate{background}[grid][step=1cm]
% \beamertemplategridbackground{1}
% Fonts. Use Auto 1, the official UA font.
% \usepackage{fontspec,microtype}
% \usepackage{unicode-math}
% \defaultfontfeatures{Ligatures=TeX, Scale=MatchLowercase, Numbers=Lining}
% \setmainfont{auto1}
% \setsansfont{auto1}
% \setmathfont{XITS Math} % for math symbols, can be any other OpenType math font
% \setmathfont[range=\mathup] {auto1}
% \setmathfont[range=\mathbfup]{auto1 Bold}
% \setmathfont[range=\mathbfit]{auto1 Bold Italic}
% \setmathfont[range=\mathit] {auto1 Italic}
\usepackage{lipsum}
\title{Some slides with a UA beamer theme}
\subtitle{This is a dummy subtitle}
\author{Nico~Schl\"omer}
\begin{document}
% ----------------------------------------------------------------------------
% *** Titlepage <<<
% ----------------------------------------------------------------------------
\maketitle
% ----------------------------------------------------------------------------
% *** END of Titlepage >>>
% ----------------------------------------------------------------------------
\section{My section}
\subsection{My subsection}
% ----------------------------------------------------------------------------
% *** Test frame <<<
% ----------------------------------------------------------------------------
\begin{frame}
\frametitle{A first test frame}
\lipsum[1]
\end{frame}
% ----------------------------------------------------------------------------
% *** END of Test frame >>>
% ----------------------------------------------------------------------------
% ----------------------------------------------------------------------------
% *** Test frame with overflow <<<
% ----------------------------------------------------------------------------
\begin{frame}
\frametitle{Test frame with overflow}
\lipsum%
\end{frame}
% ----------------------------------------------------------------------------
% *** END of Test frame >>>
% ----------------------------------------------------------------------------
% ----------------------------------------------------------------------------
% *** Test frame with overflow <<<
% ----------------------------------------------------------------------------
%\begin{frame}
%\frametitle{The is a test frame with a pretty long frame title}
%\lipsum
%\end{frame}
% ----------------------------------------------------------------------------
% *** END of Test frame >>>
% ----------------------------------------------------------------------------
\subsection{My subsection 2}
% ----------------------------------------------------------------------------
% *** Test frame with Itemize <<<
% ----------------------------------------------------------------------------
\begin{frame}
\frametitle{Test frame with itemize}
\begin{itemize}
\item<1-> firstly
\item<2-> secondly
\begin{itemize}
\item sub-item
\item another sub-item
\end{itemize}
\item<3-> thirdly
\end{itemize}
\end{frame}
% ----------------------------------------------------------------------------
% *** END of Test frame with Itemize >>>
% ----------------------------------------------------------------------------
% ----------------------------------------------------------------------------
% *** Test frame with Math <<<
% ----------------------------------------------------------------------------
\begin{frame}
\frametitle{A math frame}
\begin{theorem}[Pythagoras]
The square of the hypotenuse of a \alert{right} triangle is equal to the sum of the squares on the other two sides:
\[
a^2 + b^2 = c^2.
\]
\end{theorem}
\begin{proof}
Straightforward.
\end{proof}
\end{frame}
% ----------------------------------------------------------------------------
% *** END of Test frame with Math >>>
% ----------------------------------------------------------------------------
% ----------------------------------------------------------------------------
% *** Test frame with Environments <<<
% ----------------------------------------------------------------------------
\begin{frame}
\frametitle{Environments}
\begin{definition}
A \textbf{prime number} (or a prime) is a natural number which has exactly two distinct natural number divisors: 1 and itself.
\end{definition}
\begin{exampleblock}{Example}
The first five prime numbers are $2$, $3$, $5$, $7$, and $11$.
\end{exampleblock}
\begin{alertblock}{Alert block}
Note that $1$ is not a prime number.
\end{alertblock}
\end{frame}
% ----------------------------------------------------------------------------
% *** END of Test frame with Environments >>>
% ----------------------------------------------------------------------------
\end{document}