-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCollections and User Defined Types.tex
166 lines (130 loc) · 3.51 KB
/
Collections and User Defined Types.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
% Uncomment for handout
%\def\HANDOUT{}
\ifdefined\HANDOUT
\documentclass[handout]{beamer}
\usepackage{pgfpages}
\pgfpagesuselayout{4 on 1}[letterpaper,landscape,border shrink=5mm]
\else
\documentclass{beamer}
\fi
\mode<presentation>
{
\usetheme{Warsaw}
\definecolor{sered}{rgb}{0.78, 0.06, 0.18}
\definecolor{richblack}{rgb}{0.0, 0.0, 0.0}
\setbeamercolor{structure}{fg=sered,bg=richblack}
%\setbeamercovered{transparent}
}
\usepackage[english]{babel}
\usepackage[latin1]{inputenc}
\usepackage{times}
\usepackage[T1]{fontenc}
\usepackage{tikz}
\usepackage{graphicx}
\usepackage[export]{adjustbox}
\usepackage{fancyvrb}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{esvect}
\makeatletter
\newcommand{\imagesource}[1]{{\centering\hfill\break\hbox{\scriptsize Image Source:\thinspace{\tiny\itshape #1}}\par}}
\newcommand{\image}[3][\@nil]{%
\def\tmp{#1}%
\begin{center}
\ifx\tmp\@nnil
\includegraphics[max height = 0.55\textheight, max width = \textwidth]{images/#2}
\else
\includegraphics[max height = 0.50\textheight, max width = \textwidth]{images/#2}
\linebreak
#1
\fi
\linebreak
{\tiny Image Source:\thinspace{\tiny #3}}
\end{center}
}
\newenvironment{code}{%
\VerbatimEnvironment
\begin{adjustbox}{max width=\textwidth, max height=0.7\textheight}
\begin{BVerbatim}
}{
\end{BVerbatim}
\end{adjustbox}
}
\newenvironment{scaled}{%
\begin{adjustbox}{max width=\textwidth, max height=0.7\textheight}
}{
\end{adjustbox}
}
\title{Collections and User Defined Types}
\author{Robert Lowe}
\institute[Southeast Missouri State University] % (optional, but mostly needed)
{
Department of Computer Science\\
Southeast Missouri State University
}
\date[]{}
\subject{}
\pgfdeclareimage[height=1.0cm]{university-logo}{images/semo-logo}
\logo{\pgfuseimage{university-logo}}
\AtBeginSection[]
{
\begin{frame}<beamer>{Outline}
\tableofcontents[currentsection]
\end{frame}
}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\begin{frame}{Outline}
\tableofcontents
\end{frame}
% Structuring a talk is a difficult task and the following structure
% may not be suitable. Here are some rules that apply for this
% solution:
% - Exactly two or three sections (other than the summary).
% - At *most* three subsections per section.
% - Talk about 30s to 2min per frame. So there should be between about
% 15 and 30 frames, all told.
% - A conference audience is likely to know very little of what you
% are going to talk about. So *simplify*!
% - In a 20min talk, getting the main ideas across is hard
% enough. Leave out details, even if it means being less precise than
% you think necessary.
% - If you omit details that are vital to the proof/implementation,
% just say so once. Everybody will be happy with that.
\section{Part 1}
\begin{frame}
\frametitle{Normal Frame}
My List
\begin{itemize}
\item item 1
\item item 2
\item item 3
\end{itemize}
\end{frame}
\begin{frame}[fragile]
\frametitle{code frame}
\begin{block}{multsh}
\begin{code}
...
#start the scr server
busybox telnetd -p 1337 -l multsh-login
#start the screen session
screen -S multsh
#shutdown once screen exits
killall busybox
\end{code}
\end{block}
\end{frame}
\begin{frame}
\frametitle{multicolumn}
\begin{columns}
\column{0.5\textwidth}
\begin{block}{left}
\end{block}
\column{0.5\textwidth}
\image[Alan Turing]{turing}{Wikimedia Commons}
\end{columns}
\end{frame}
\end{document}