-
Notifications
You must be signed in to change notification settings - Fork 1
/
example.tex
162 lines (132 loc) · 3.65 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
\documentclass[aspectratio=169]{beamer}
% Needed packages
\usepackage{hyperref}
\usepackage{listings}
\usepackage{tabularx}
% Use the Fontys theme
\usetheme[lang=en]{Fontys}
% Title page settings
\title{Example presentation for testing the Fontys theme}
\institute{FHTenL}
\author{M. Bonajo}
% Start the document
\begin{document}
% Create title page
\begin{titleframe}
\titlepage
\end{titleframe}
\begin{frame}
\tableofcontents
\end{frame}
\section{Different lists}
% Example frame for itemize
\begin{frame}
\frametitle{Frame showing itemize}
\begin{itemize}
\item Option one
\begin{itemize}
\item Suboption one
\item Suboption one
\end{itemize}
\item Option two
\item Option three
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{Frame showing enumerate}
\begin{enumerate}
\item Option one
\begin{enumerate}
\item Suboption one
\item Suboption two
\end{enumerate}
\item Option two
\item Option three
\end{enumerate}
\EN{English text here}
\DE{German text here}
\end{frame}
\begin{frame}
\frametitle{Frame showing description}
\begin{columns}
\begin{column}{0.5\textwidth}
Default alignment
\setbeamertemplate{description item}[default]
\begin{description}%
\item[One] Option one%
\item[Two] Option two%
\item[Three] Option three%
\end{description}%
\end{column}
\begin{column}{0.5\textwidth}
Left alignment
\setbeamertemplate{description item}[align left]
\begin{description}%
\item[One] Option one%
\item[Two] Option two%
\item[Three] Option three%
\end{description}%
\end{column}
\end{columns}
\end{frame}
\section{Example of URL}
% Example frame for URL
\begin{frame}
\frametitle{Frame showing an URL}
You can find more information here \href{http://www.example.com}{Example link}
\end{frame}
\section{Example of custom frametitle}
\begin{titleframe}
\frametitle{Frame showing you can have multiple titleframes}
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
\end{titleframe}
\section{Example of graphics}
\begin{frame}
\frametitle{Frame showing graphics}
\begin{figure}
\centering
\includegraphics[width=0.8\textwidth]{logo_purple_society_en.png}
\caption{The Fontys logo with for society used in English communication}
\label{fig:logo}
\end{figure}
\end{frame}
\section{Example of table}
\begin{frame}
\frametitle{Frame showing table}
\begin{table}
\begin{tabularx}{\textwidth}{ |X|X|X|X| }
\hline
label 1 & label 2 & label 3 & label 4 \\
\hline
item 1 & item 2 & item 3 & item 4 \\
\hline
item 1 & item 2 & item 3 & item 4 \\
\hline
item 1 & item 2 & item 3 & item 4 \\
\hline
\end{tabularx}
\caption{Example table}
\end{table}
\end{frame}
\section{Example of source code}
\begin{frame}[containsverbatim]
\frametitle{Frame showing code in lstlisting}
\begin{lstlisting}[language=Java]
static int gcd( int a, int b ) {
// make sure params to computation are positive.
if (a < 0){
a = -a;
}
if (b < 0){
b = -b;
}
while(b != 0){
int t = b;
b = a % b;
a = t;
}
return a;
}
\end{lstlisting}
\end{frame}
\end{document}