-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexample.tex
124 lines (109 loc) · 3.23 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
% ARFC Team: Some good examples of how to use beamer are in this file.
% You can use this to guide the preparation of slides.
\begin{frame}
\frametitle{Columns}
% a comment
\begin{columns}
\column[t]{5cm}
Sometimes things need to be put side by side, in two nice
looking columns.
Maybe one column involves a quotation.
\begin{quote}
Explicit is better than implicit. -- The Zen of Python
\end{quote}
And, also, perhaps, a logo.
\begin{center}
\includegraphics[height=0.2\textheight]{./images/arfc-logo}
\end{center}
\column[t]{5cm}
\begin{figure}[htbp!]
\begin{center}
\includegraphics[height=4cm]{./images/kitten}
\end{center}
\caption{A caption describing the image. \cite{lastname_firstword_1900}.}
\label{fig:kittenfigure}
\end{figure}
\end{columns}
\end{frame}
\begin{frame}[fragile]
\frametitle{Some Code}
I have to use the fragile syntax for code slides.
\begin{minted}{python}
def meow(volume):
"""Make a demanding noise at the specified volume
Parameters
----------
volume: int
The volume of the demand. No relation to importance.
Returns
-------
str
meow
"""
o = 'o'*volume
return 'me'+ o + 'ow'
\end{minted}
\end{frame}
\begin{frame}
\frametitle{An Image}
% a comment
\begin{figure}[htbp!]
\begin{center}
\includegraphics[height=4cm]{./images/kitten}
\end{center}
\caption{A caption describing the image. \cite{lastname_firstword_1900}.}
\label{fig:kittenfigure}
\end{figure}
\end{frame}
\begin{frame}
\frametitle{A Table}
Frames (slides) can have ``blocks.''
\begin{block}{This one is about a cat}
A cat in a hat.
\end{block}
\begin{block}{A cat}
In a hat.
\includegraphics[height=0.2\textheight]{./images/catinhat}
\end{block}
\end{frame}
\begin{frame}
\frametitle{Cat Math: Part 1}
% a comment
\begin{align}
x &= y
\intertext{where}
x &= \mbox{cats}\\
y &= \mbox{peculiar}
\end{align}
\end{frame}
\begin{frame}
\frametitle{Cat Math: Part 2}
Everything in Beamer is just like in \LaTeX.
Right down to the theorems.
\begin{theorem}[Pythagoras]
$ a^2 + b^2 = c^2$
\end{theorem}
\begin{corollary}
$ x + y = y + x $
\end{corollary}
\begin{proof}
$\omega +\phi = \epsilon $
\end{proof}
\end{frame}
\begin{frame}
\frametitle{Blue and Orange are Fierce}
% a comment
Those are the Illini Colors. Use them like you see them in Figure
\ref{fig:fierce}.
\begin{figure}[htbp!]
\begin{center}
\includegraphics[height=4cm]{./images/fierce}
\end{center}
\caption{Kristofer Hivju is pretty serious about this color palette \cite{lastname_firstword_1900}.}
\label{fig:fierce}
\end{figure}
\end{frame}
\begin{frame}
\frametitle{Table}
\input{tab}
\end{frame}