--- a/slides/slides02.tex Sat Sep 27 00:37:02 2014 +0100
+++ b/slides/slides02.tex Sun Sep 28 18:07:58 2014 +0100
@@ -4,32 +4,6 @@
\usepackage{../langs}
\usepackage{../data}
-%\usepackage{beamerthemeplaincu}
-%\usepackage[absolute,overlay]{textpos}
-%\usepackage{ifthen}
-%\usepackage{tikz}
-%\usepackage{pgf}
-%\usepackage{calc}
-%\usepackage{ulem}
-%\usepackage{courier}
-%\usepackage{listings}
-%\renewcommand{\uline}[1]{#1}
-%\usetikzlibrary{arrows}
-%\usetikzlibrary{automata}
-%\usetikzlibrary{shapes}
-%\usetikzlibrary{shadows}
-%\usetikzlibrary{positioning}
-%\usetikzlibrary{plotmarks}
-%\usetikzlibrary{calc}
-%\usepackage{graphicx}
-%\usepackage{../langs}
-%\usepackage{../data}
-
-%\makeatletter
-%\lst@CCPutMacro\lst@ProcessOther {"2D}{\lst@ttfamily{-{}}{-{}}}
-%\@empty\z@\@empty
-%\makeatother
-
\hfuzz=220pt
\lstset{language=Scala,
@@ -47,8 +21,7 @@
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\mode<presentation>{
-\begin{frame}<1>[t]
+\begin{frame}[t]
\frametitle{%
\begin{tabular}{@ {}c@ {}}
\\[-3mm]
@@ -56,13 +29,7 @@
\LARGE Formal Languages (2)\\[3mm]
\end{tabular}}
- %\begin{center}
- %\includegraphics[scale=0.3]{pics/ante1.jpg}\hspace{5mm}
- %\includegraphics[scale=0.31]{pics/ante2.jpg}\\
- %\footnotesize\textcolor{gray}{Antikythera automaton, 100 BC (Archimedes?)}
- %\end{center}
-
-\normalsize
+ \normalsize
\begin{center}
\begin{tabular}{ll}
Email: & christian.urban at kcl.ac.uk\\
@@ -71,20 +38,24 @@
\end{tabular}
\end{center}
-
-\end{frame}}
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\end{frame}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\mode<presentation>{
\begin{frame}[c]
-\frametitle{\begin{tabular}{c}Languages\end{tabular}}
+\frametitle{Languages, Strings}
-A \alert{language} is a set of strings.\bigskip
+\begin{itemize}
+\item A \alert{language} is a set of strings.\medskip
+\begin{center}
+\bl{\{[], hello, foobar, a, abc\}}
+\end{center}\bigskip
-A \alert{regular expression} specifies a set of strings, or language.
-
-\end{frame}}
+\item The \alert{meaning} of a regular expression is a set of
+ strings, or language.
+\end{itemize}
+
+\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%