wrestlers.tex: Let `\section' act as a section header in the source.
[doc/wrestlers] / wrslides.tex
1 \documentclass[t]{beamer}
2 \usetheme{Madrid}
3 \usefonttheme[stillsansseriflarge, stillsansserifsmall]{serif}
4 \usepackage[T1]{fontenc}
5 \usepackage[utf8]{inputenc}
6 \usepackage[palatino, helvetica, courier, maths = palatino]{mdwfonts}
7 \usepackage{tikz}
8 \usepackage{crypto, mdwmath}
9
10 \newcommand{\E}{{\mathcal{E}}}
11
12 \errorcontextlines=999
13
14 \def\Wident{\Xid{W}{ident}}
15 \def\Wkx{\Xid{W}{kx}}
16 \def\Nupto#1{\{0, 1, \ldots, #1 - 1\}}
17 \def\Bin{\{0, 1\}}
18 \let\op\star
19 \let\le\leqslant
20 \let\ge\geqslant
21 \let\epsilon\varepsilon
22
23 \title{The Wrestlers Protocol}
24 \subtitle{A simple, practical, secure, deniable protocol for key-exchange}
25 \author{Mark Wooding}
26
27 \newdimen\boxwd
28 \newenvironment{protocol}[2]{%
29 \small
30 \begin{tikzpicture}[x = 1cm, y = -\baselineskip]
31 \tikzstyle{thoughts} = [text width = #1cm - 4mm, anchor = north]
32 \tikzstyle{alice} = [xshift = 12cm - #1cm/2]
33 \tikzstyle{bob} = [xshift = #1cm/2]
34 \tikzstyle{other} = [text = blue]
35 \tikzstyle{message} =
36 [xshift = #1cm + 2mm, x = 11.6cm - #1cm*2, draw, font = \footnotesize]
37 \draw [rounded corners, fill = blue!20]
38 (0, 0) rectangle +(#1, #2);
39 \draw [rounded corners, fill = red!20]
40 (12cm - #1cm, 0) rectangle +(#1, #2);
41 \path node [alice] at (0, 1) {\normalsize Alice}
42 node [bob] at (0, 1) {\normalsize Bob}
43 ;
44 }{%
45 \end{tikzpicture}
46 }
47
48 \begin{document}
49
50 \frame{\titlepage}
51 \frame{\tableofcontents}
52
53 %%%\include{wr-backg}
54 \include{wr-main}
55
56 \end{document}
57
58 %%% Local Variables:
59 %%% mode: latex
60 %%% TeX-master: t
61 %%% TeX-PDF-mode: t
62 %%% End: