-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
170 lines (146 loc) · 3.22 KB
/
main.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
\documentclass[]{beamer}
\usepackage[utf8]{inputenc}
\usepackage{url}
\usepackage{listings}
%\usepackage[spanish]{babel} %use you language
\setbeamertemplate{bibliography item}[text]
\usetheme{UTN-BHI}
% Add a section slide. Remove it if you prefer that option.
\AtBeginSection[]{
\begin{frame}
\vfill
\centering
\begin{beamercolorbox}[sep=8pt,center]{title}
\usebeamerfont{title}\insertsectionhead\par%
\end{beamercolorbox}
\vfill
\end{frame}
}
% Code style
\lstdefinestyle{myC++Style}{
language=C++,
keywordstyle=\color{black},
showspaces=false,
showstringspaces=false
}
\urldef{\email}\path|jiparraguirre@frbb.utn.edu.ar|
\title[]{Custom Beamer Template}
\subtitle{UTN BHI Design}
\author[J. Iparraguirre] {Javier Iparraguirre}
\institute{
Universidad Tecnológica Nacional\\
11 de abril 461, Bahía Blanca, Argentina\\
\email\\
\url{http://www.frbb.utn.edu.ar/}}
\date{\today}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\section{Section}
\begin{frame}
\frametitle{Slide}
\begin{itemize}
\item Item.
\item Another item.
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{Another slide}
\begin{itemize}
\item Item.
\item You can cite \cite{iparraguirre2013speeded}.
\end{itemize}
\end{frame}
{
\usebackgroundtemplate{\includegraphics[width=\paperwidth]{theme/utn-bhi-page-blank}}
\section{Blank background}
\begin{frame}
\frametitle{Blank background}
Hello there!
\end{frame}
}
\section{Tables}
\begin{frame}
\frametitle{Tables}
\small{
\begin{table}
\centering
\begin{tabular}{ccc}
\hline
Column 1 & Column 2 & Column 3\\
\hline
Content & Content & Content \\
Content & Content & Content \\
\hline
\end{tabular}
\end{table}
}
\end{frame}
\section{Figures}
\begin{frame}
\frametitle{You can add figures}
\begin{figure}
\includegraphics[width=0.5\textwidth]{theme/utn-bhi-page}
\caption{A figure}
\end{figure}
\end{frame}
\section{URLs}
\begin{frame}
\frametitle{You can add links}
\begin{itemize}
\item \small{\url{www.javieriparraguirre.net/code/}}
\end{itemize}
\end{frame}
\section{Source Code}
\begin{frame}[fragile]
\frametitle{You can add colored source code}
\lstset{basicstyle=\small,style=myC++Style}
\begin{lstlisting}
int main(void) {
printf("Hello World!\n");
return 0;
}
\end{lstlisting}
\end{frame}
\begin{frame}[fragile]
\frametitle{You can change the font size}
\lstset{basicstyle=\Large,style=myC++Style}
\begin{lstlisting}
int main(void) {
printf("Hello World!\n");
return 0;
}
\end{lstlisting}
\end{frame}
\begin{frame}[fragile]
\frametitle{The style is not mandatory}
\lstset{}
\begin{lstlisting}
int main(void) {
printf("Hello World!\n");
return 0;
}
\end{lstlisting}
\end{frame}
\section{Closing Section}
\begin{frame}
\begin{center}
\begin{beamercolorbox}[sep=8pt,center]{title}
\Large{Thank you!}
\end{beamercolorbox}
\huge{Questions?}\\
\small{\email}\\
\small{\url{www.javieriparraguirre.net/code/}}
\end{center}
\end{frame}
{
\usebackgroundtemplate{\includegraphics[width=\paperwidth]{theme/utn-bhi-page-blank}}
\section{References}
\begin{frame}[allowframebreaks]
\frametitle{References}
\bibliographystyle{alpha}
\bibliography{references}
\end{frame}
}
\end{document}