-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathpresentation.tex
261 lines (192 loc) · 7.46 KB
/
presentation.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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
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
\documentclass[aspectratio=169,t,xcolor=table]{beamer}
\usepackage[utf8]{inputenc}
\usepackage{booktabs}
\usepackage{subcaption}
\usetheme{Ufg}
%-------------------------------------theorems--------------
\newtheorem{conj}{Conjetura}
\newtheorem{defi}{Definição}
\newtheorem{teo}{Teorema}
\newtheorem{lema}{Lema}
\newtheorem{prop}{Proposição}
\newtheorem{cor}{Corolário}
\newtheorem{ex}{Exemplo}
\newtheorem{exer}{Exercício}
\setbeamertemplate{theorems}[numbered]
\setbeamertemplate{caption}[numbered]
%-------------------------------------------------------------%
%----------------------- Primary Definitions -----------------%
% This command set the default Color, is also possible to choose a custom color
\setPrimaryColor{UFGBlue}
% First one is logo in title slide (we recommend use a horizontal image), and second one is the logo used in the remaining slides (we recommend use a square image)
\setLogos{lib/logos/infw.png}{lib/logos/infw2.png}
% -------------------------------------- Title Slide Information
\begin{document}
\title[Inf UFG]{Apresentações Instituto de informática}
\subtitle{Template Latex}
\author{Altino Dantas\inst{1} \and Deuslirio Junior\inst{2}}
\institute[UFG] % (optional)
{
\inst{1}%
Instituto de Informática\\
Federal University of Goiás
\and
\inst{2}%
Instituto de Informática\\
Federal University of Goiás
}
\date{2019}
%-----------------------The next statement creates the title page.
\frame[noframenumbering]{\titlepage}
%------------------------------------------------Slide 1
\setLayout{vertical} % This command define the layout. 'vertical' can be replace with 'horizontal', 'blank, 'mainpoint', 'titlepage'
\begin{frame}
\frametitle{Table of Contents}
\tableofcontents
\end{frame}
%---------------------------------------------------------
%---------------------------------------------------------Slide 2
\section{Common presentation elements}
\subsection{Box}
\setLayout{vertical}
\begin{frame}{Example on using box}
\footnotesize
\begin{ex}
Em uma versão da linguagem BASIC, o nome de uma variável é uma sequência de um ou dois caracteres alfanuméricos, em que letras maiúsculas e minúsculas não são distinguidas. Além disso, um nome de variável deve começar com uma letra e deve ser diferente das cinco sequências de dois caracteres reservadas para o uso de comandos. Quantos nomes diferentes de variáveis são possíveis nesta versão do BASIC?
\end{ex}
\begin{block}{Solução}
Pela regra da soma, $V=V_1+V_2$. Como as variáveis só podem começar com letras, temos que $V_1=26$. Pela regra do produto, há $26\cdot 36=936$ sequências de tamanho $2$ que comecem com uma letra e terminam com um caracter alfanumérico. Porém, não se deve usar $5$ variáveis reservadas. Assim, $V_2=26\cdot 36-5=931$. Logo, há $V=V_1+V_2 = 26+931=957$ nomes diferentes para variáveis nesta versão do BASIC.
\end{block}
\end{frame}
%---------------------------------------------------------
%--------------------------------------------------------- Slide 3
\subsection{Table}
\begin{frame}{Example on using table}
\begin{table}[]
\centering
\caption{\label{tab:1}Countries and their codes}
\renewcommand{\arraystretch}{1.5}
\setlength{\tabcolsep}{10pt}
{\rowcolors{2}{}{LightGray!10}
\begin{tabular}{ p{3cm}p{3cm}p{3cm} }
\toprule
\textbf{Country Name} & \textbf{Code 2} & \textbf{Code 3} \\
\midrule
Afghanistan & AF &AFG \\
Aland Islands & AX & ALA \\
Albania &AL & ALB \\
Algeria &DZ & DZA \\
\bottomrule
\end{tabular}
}
\end{table}
\end{frame}
%---------------------------------------------------------
\subsection{Image}
%--------------------------------------------------------- Slide 4
\begin{frame}{Example on using image}
\begin{figure}
\centering
\includegraphics[width=.9\textwidth]{readme/layouts.png}
\caption{Template's Layouts.}
\label{fig:layouts}
\end{figure}
\end{frame}
%---------------------------------------------------------
%--------------------------------------------------------- Slide 5
\section{Changing colors and Layouts}
\setLayout{blank} % Example of changing layout
\setBGColor{DarkOrange} %Example of changing background color
\begin{frame}{Clean layout and two-column text}
\begin{columns}
\column{0.5\textwidth}
This is a text in first column.
$$E=mc^2$$
$$ 1 + 2 + \cdots + k = \frac{k \cdot (k + 1)}{2}.$$
\begin{itemize}
\item First item
\item Second item
\end{itemize}
\column{0.5\textwidth}
This text will be in the second column
and on a second tought this is a nice looking
layout in some cases.
\begin{enumerate}
\item First
\item Second
\end{enumerate}
\end{columns}
\end{frame}
%---------------------------------------------------------
%---------------------------------------------------------Slide 6
%Highlighting text
\setLayout{vertical}
\begin{frame}{Sample frame title}
In this slide, some important text will be
\alert{highlighted} because it's important. Please, don't abuse it.
\begin{block}{Remark}
Sample text
\end{block}
\begin{alertblock}{Important theorem}
Sample text in alert box
\end{alertblock}
\begin{examples}
Sample text in green box. The title of the block is ``Examples".
\end{examples}
\end{frame}
%---------------------------------------------------------
%---------------------------------------------------------Slide 7
\section{Main point layout}
\setLayout{mainpoint}
\setBGColor{DarkPurple}
\begin{frame}{}
\frametitle{Preliminary Empirical Study}
\end{frame}
%-------------------------------------------------------
%---------------------------------------------------------Slide 8
\setLayout{horizontal}
\begin{frame}
\frametitle{Sample frame title}
This is a text in second frame. For the sake of showing an example.
\begin{itemize}
\item<1-> Text visible on slide 1
\item<2-> Text visible on slide 2
\begin{itemize}
\item text subitem
\end{itemize}
\item<3> Text visible on slides 3
\item<4-> Text visible on slide 4
\end{itemize}
\end{frame}
%---------------------------------------------------------
\section{Thanks example}
%---------------------------------------------------------Slide 9
\setLayout{blank}
\begin{frame}
\centering
\vspace{2cm}
\textbf{\Huge Thanks}
\ \\
\textbf{Doubts and Suggestions}
\ \\
\text{\footnotesize altinodantas@gmail.com or deuslirio.junior@gmail.com}
\vspace{2cm}
\begin{figure}
\centering
\begin{subfigure}{0.2\textwidth}
\centering
\includegraphics[height=1cm]{lib/logos/infw.png}
\end{subfigure}%
\qquad
\begin{subfigure}{0.2\textwidth}
\centering
\includegraphics[height=1cm]{lib/logos/ufgw.png}
\end{subfigure}
\end{figure}
\end{frame}
%---------------------------------------------------------Slide 10
\setLayout{titlepage}
\setBGColor{DarkGray}
\titlepage
%-------------------------------------
\end{document}