--- a/slides/slides02.tex Fri Nov 17 02:13:40 2017 +0000
+++ b/slides/slides02.tex Fri Nov 17 09:13:03 2017 +0000
@@ -2,7 +2,9 @@
\usepackage{../slides}
\usepackage{../graphics}
\usepackage{../langs}
-%\usepackage{../data}
+\usepackage{chessboard}
+\usepackage[LSBC4,T1]{fontenc}
+% \usepackage{../data}
\hfuzz=220pt
@@ -193,7 +195,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[t]
-\frametitle{\begin{tabular}{c}Why Scala?\end{tabular}}
+\frametitle{Why Scala? No null!}
\begin{itemize}
@@ -217,55 +219,35 @@
\end{bubble}
\end{textblock}
-\begin{textblock}{5}(11.8,1)
-%%\includegraphics[scale=0.20]{hoare.jpg}\\
+\begin{textblock}{5}(12.5,1.9)
+\includegraphics[scale=0.05]{../pics/hoare.jpg}\\
\end{textblock}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\begin{frame}[c]
-\frametitle{Types}
-
-\begin{itemize}
-\item Base types\smallskip
-
- \begin{tabular}{@{}l@{}}
- \textcolor{codegreen}{\texttt{Int}},
- \textcolor{codegreen}{\texttt{Long}},
- \textcolor{codegreen}{\texttt{BigInt}},
- \textcolor{codegreen}{\texttt{Float}},
- \textcolor{codegreen}{\texttt{Double}}\\
- \textcolor{codegreen}{\texttt{String}},
- \textcolor{codegreen}{\texttt{Char}}\\
- \textcolor{codegreen}{\texttt{Boolean}}
- \end{tabular}
-
-\item Compound types \smallskip
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{frame}[c,fragile]
+\frametitle{\begin{tabular}{c}\\[1cm]\alert{Questions?}\end{tabular}}
- \begin{tabular}{@{}ll@{}}
- \textcolor{codegreen}{\texttt{List[Int]}} & lists of Int's \\
- \textcolor{codegreen}{\texttt{Set[Double]}} & sets of Double's \\
- \textcolor{codegreen}{\texttt{(Int, String)}} & Int-String pair\\
- \textcolor{codegreen}{\texttt{List[(BigInt, String)]}} &
- lists of BigInt-String\\
- & pairs\\
- \textcolor{codegreen}{\texttt{List[List[Int]]}} & list of lists of Int's\\
- \end{tabular}
-
-\end{itemize}
-
-\end{frame}
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\begin{frame}[c]
-\frametitle{\begin{tabular}{c}\\[3cm]\alert{Questions?}\end{tabular}}
-
-\mbox{}
+\begin{center}
+\chessboard[maxfield=g7,
+ color=blue!50,
+ linewidth=0.2em,
+ shortenstart=0.5ex,
+ shortenend=0.5ex,
+ markstyle=cross,
+ markfields={a4, c4, Z3, d3, Z1, d1, a0, c0},
+ color=red!50,
+ markfields={f5, e6},
+ boardfontsize=12pt,labelfontsize=8pt,
+ setpieces={Ng7, Nb2},showmover=false]
+\end{center}
+
+\begin{center}
+My Scala Office Hours: Thursdays 11 -- 13
+\end{center}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}