slides/slides01.tex
author Christian Urban <urbanc@in.tum.de>
Thu, 10 Nov 2016 00:15:14 +0000
changeset 26 a7afc2540a88
parent 25 6253f4681451
child 32 45557ad18ea6
permissions -rw-r--r--
updated

\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}}\\
    \textcolor{codegreen}{\texttt{Boolean}}
  \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]]}} & list of lists of Int's\\                                  
  \end{tabular}
  \end{center}

\end{itemize}  

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

\end{document}

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