\documentclass[dvipsnames,14pt,t,xelatex]{beamer}
\usepackage{../slides}
%\usepackage{../graphics}
\usepackage{../langs}
%\usepackage{../data}

\hfuzz=220pt 

%\setmonofont[Scale=.88]{Consolas}
%\newfontfamily{\consolas}{Consolas}

\lstset{language=Scala,
        style=mystyle,
        numbersep=0pt,
        numbers=none,
        xleftmargin=0mm}

\newcommand{\bl}[1]{\textcolor{blue}{#1}}     

% beamer stuff 
\renewcommand{\slidecaption}{PEP (Scala) 01, King's College London}


\begin{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[t]
\frametitle{%
  \begin{tabular}{@ {}c@ {}}
  \\[5mm]
  \huge PEP Scala (1) 
  \end{tabular}}

  \normalsize
  \begin{center}
  \begin{tabular}{ll}
  Email:  & christian.urban at kcl.ac.uk\\
  Office: & S1.27 (1st floor Strand Building)\\
  Slides \& Code: & KEATS
  \end{tabular}
  \end{center}


\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[c]
\frametitle{Why Scala?}

\begin{textblock}{6}(3,4)
\begin{tabular}{l}
\mbox{}\hspace{-1mm}\includegraphics[scale=0.36]{../pics/twitter.png}\\[-1mm]
\includegraphics[scale=0.30]{../pics/linked.png}\\
\includegraphics[scale=0.30]{../pics/guardian.jpg}\\[-3mm]
\mbox{}\hspace{-2mm}\includegraphics[scale=0.38]{../pics/morgan.png}\\[-3mm]
\includegraphics[scale=0.30]{../pics/suisse.png}\\
{\large\bf ...}
\end{tabular}
\end{textblock}

\begin{textblock}{6}(9,4)
\begin{tabular}{l}
\includegraphics[scale=0.20]{../pics/edf.png}\\[-1mm]
\includegraphics[scale=0.08]{../pics/novell.png}\\[-1mm]
\includegraphics[scale=0.30]{../pics/foursquare.png}\\
\includegraphics[scale=0.30]{../pics/hsbc.png}\\
{\large\bf ...}
\end{tabular}
\end{textblock}

\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[c]
\frametitle{Why Scala?}

\begin{itemize}
\item bla
\end{itemize}  

\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[c]
\frametitle{Types}

\begin{itemize}
\item Base types

  \begin{center}
  \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}}
  \end{tabular}
  \end{center}

\item Compound types    

  \begin{center}
  \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]]}} \\                                  
  \end{tabular}
  \end{center}

\end{itemize}  

\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   

\end{document}

%%% Local Variables:  
%%% mode: latex
%%% TeX-master: t
%%% End: 

