-
Notifications
You must be signed in to change notification settings - Fork 7
/
cat_appearance.tex
51 lines (44 loc) · 1.33 KB
/
cat_appearance.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
\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}