\documentclass[10pt,envcountsect]{beamer}

\mode<presentation> {
  \usetheme{Warsaw}
}

\usepackage[english]{babel}
\usepackage[latin1]{inputenc}
\usepackage{times}
\usepackage[T1]{fontenc}
\usepackage{pstricks,pstricks-add,pst-math,pst-xkey}
\usepackage{multicol}
\usepackage{colortbl}
\usepackage{pigpen}

\begin{document}

\title{\small {\pigpenfont EPISODE TEN} {\pigpenfont THE PIGPEN CIPHER}}
\subtitle{{\pigpenfont EUROPEAN SECTION} {\pigpenfont SEASON THREE}}
\author{}
\date{}

\begin{frame}
  \titlepage
\end{frame}

\title{Episode 10 -- The pigpen cipher}
\subtitle{European section -- Season 3}
\author{}
\date{}

\begin{frame}
  \titlepage
\end{frame}

\begin{frame}{Key diagram}
\begin{center}
\sf\Large
\psset{unit=1cm}
\begin{pspicture}(0,0)(3,3)
\psline(0,1)(3,1)
\psline(0,2)(3,2)
\psline(1,0)(1,3)
\psline(2,0)(2,3)
\uput{10pt}[ul](1,2){A}
\uput{7pt}[u](1.5,2){B}
\uput{10pt}[ur](2,2){C}
\uput{10pt}[ul](1,1){D}
\uput{7pt}[u](1.5,1){E}
\uput{10pt}[ur](2,1){F}
\uput{10pt}[ul](1,0){G}
\uput{7pt}[u](1.5,0){H}
\uput{10pt}[ur](2,0){J}
\end{pspicture}\quad
\begin{pspicture}(0,0)(3,3)
\psline(0,1)(3,1)
\psline(0,2)(3,2)
\psline(1,0)(1,3)
\psline(2,0)(2,3)
\uput{10pt}[ul](1,2){J}
\uput{7pt}[u](1.5,2){K}
\uput{10pt}[ur](2,2){L}
\uput{10pt}[ul](1,1){M}
\uput{7pt}[u](1.5,1){N}
\uput{10pt}[ur](2,1){O}
\uput{10pt}[ul](1,0){P}
\uput{7pt}[u](1.5,0){Q}
\uput{10pt}[ur](2,0){R}
\psdots(0.85,2.15)(1.5,2.15)(2.15,2.15)(0.85,1.5)(1.5,1.15)(2.15,1.5)(0.85,0.85)(1.5,0.85)(2.15,0.85)
\end{pspicture}

\bigskip

\psset{unit=0.75cm}
\begin{pspicture}(0,0)(3,3)
\psline(0,0)(3,3)
\psline(0,3)(3,0)
\uput{20pt}[u](1.5,1.5){S}
\uput{20pt}[l](1.5,1.5){T}
\uput{20pt}[d](1.5,1.5){V}
\uput{20pt}[r](1.5,1.5){U}
\end{pspicture}
\quad
\begin{pspicture}(0,0)(3,3)
\psline(0,0)(3,3)
\psline(0,3)(3,0)
\uput{20pt}[u](1.5,1.5){W}
\uput{20pt}[l](1.5,1.5){X}
\uput{20pt}[d](1.5,1.5){Z}
\uput{20pt}[r](1.5,1.5){Y}
\psdots(1.5,1.75)(1.75,1.5)(1.5,1.25)(1.25,1.5)
\end{pspicture}
\end{center}
\end{frame}

\begin{frame}{Correspondance table}

\begin{center}\sf
\begin{tabular}{|c|c|c|c|c|c|c|c|c|c|c|c|c|}
\hline
\rowcolor{lightgray} A & B & C & D & E & F & G & H & I & J & K & L & M \rule{0pt}{13pt}\\
\hline
{\pigpenfont A} & {\pigpenfont B} & {\pigpenfont C} & {\pigpenfont D} & {\pigpenfont E} & {\pigpenfont F} & {\pigpenfont
G} &
{\pigpenfont H} & {\pigpenfont I} & {\pigpenfont J} & {\pigpenfont K} & {\pigpenfont L} & {\pigpenfont M}
\rule{0pt}{15pt} \\
\hline
\rowcolor{lightgray} N & O & P & Q & R & S & T & U & V & W & X & Y & Z \rule{0pt}{13pt} \\
\hline
{\pigpenfont N} & {\pigpenfont O} & {\pigpenfont P} & {\pigpenfont Q} & {\pigpenfont R} & {\pigpenfont S} & {\pigpenfont
T} &
{\pigpenfont U} & {\pigpenfont V} & {\pigpenfont W} & {\pigpenfont X} & {\pigpenfont Y} & {\pigpenfont Z}
\rule{0pt}{15pt}\\
\hline
\end{tabular}
\end{center}
 
\end{frame}

\begin{frame}{The Freemason's cipher}

\begin{center}
\includegraphics[width=5cm]{images/freemasons.eps}
\end{center}

\end{frame}

\begin{frame}{Ciphered gravestones}

\begin{multicols}{2}
\begin{center}
\includegraphics[width=5cm]{images/jamesleeson.eps}

\includegraphics[width=4cm]{images/brierley.eps}
\end{center}
\end{multicols}

\end{frame}

\begin{frame}{In popular culture}

\begin{multicols}{3}
\begin{center}
\includegraphics[width=3cm]{images/lostsymbol.eps}

\includegraphics[width=3cm]{images/assasinscreed.eps}

\includegraphics[width=3cm]{images/sherlock.eps}
\end{center}
\end{multicols}
 
\end{frame}

\begin{frame}{The New York Trilogy, by Paul Auster}

\begin{center}
\includegraphics[width=4cm]{images/nytrilogy.eps}
\end{center}
 
\end{frame}






\end{document}
