Slides/document/root.tex
author urbanc
Mon, 07 Feb 2011 20:30:10 +0000
changeset 75 d63baacbdb16
parent 16 663816814e3e
child 204 e7edf55befc6
permissions -rw-r--r--
parts of the 3 section
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
     1
\usepackage{beamerthemeplaincu}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
     2
\usepackage[T1]{fontenc}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
     3
\usepackage{proof}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
     4
\usepackage[latin1]{inputenc}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
     5
\usepackage{isabelle}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
     6
\usepackage{isabellesym}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
     7
\usepackage{mathpartir}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
     8
\usepackage[absolute, overlay]{textpos}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
     9
\usepackage{proof}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    10
\usepackage{ifthen}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    11
\usepackage{animate}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    12
\usepackage{tikz}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    13
\usepackage{pgf}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    14
\usetikzlibrary{arrows}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    15
\usetikzlibrary{automata}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    16
\usetikzlibrary{shapes}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    17
\usetikzlibrary{shadows}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    18
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    19
% Isabelle configuration
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    20
%%\urlstyle{rm}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    21
\isabellestyle{rm}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    22
\renewcommand{\isastyle}{\rm}%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    23
\renewcommand{\isastyleminor}{\rm}%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    24
\renewcommand{\isastylescript}{\footnotesize\rm\slshape}%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    25
\renewcommand{\isatagproof}{}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    26
\renewcommand{\endisatagproof}{}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    27
\renewcommand{\isamarkupcmt}[1]{#1}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    28
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    29
% Isabelle characters
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    30
\renewcommand{\isacharunderscore}{\_}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    31
\renewcommand{\isacharbar}{\isamath{\mid}}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    32
\renewcommand{\isasymiota}{}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    33
\renewcommand{\isacharbraceleft}{\{}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    34
\renewcommand{\isacharbraceright}{\}}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    35
\renewcommand{\isacharless}{$\langle$}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    36
\renewcommand{\isachargreater}{$\rangle$}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    37
\renewcommand{\isasymsharp}{\isamath{\#}}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    38
\renewcommand{\isasymdots}{\isamath{...}}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    39
\renewcommand{\isasymbullet}{\act}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    40
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    41
% mathpatir
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    42
\mprset{sep=1em}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    43
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    44
% general math stuff
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    45
\newcommand{\dn}{\stackrel{\mbox{\scriptsize def}}{=}}% for definitions
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    46
\newcommand{\dnn}{\stackrel{\mbox{\Large def}}{=}}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    47
\renewcommand{\emptyset}{\varnothing}% nice round empty set
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    48
\renewcommand{\Gamma}{\varGamma} 
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    49
\DeclareRobustCommand{\flqq}{\mbox{\guillemotleft}}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    50
\DeclareRobustCommand{\frqq}{\mbox{\guillemotright}}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    51
\newcommand{\smath}[1]{\textcolor{blue}{\ensuremath{#1}}}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    52
\newcommand{\fresh}{\mathrel{\#}}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    53
\newcommand{\act}{{\raisebox{-0.5mm}{\Large$\boldsymbol{\cdot}$}}}% swapping action
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    54
\newcommand{\swap}[2]{(#1\,#2)}% swapping operation
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    55
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    56
% beamer stuff 
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    57
\renewcommand{\slidecaption}{Salvador, 26.~August 2008}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    58
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    59
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    60
% colours for Isar Code (in article mode everything is black and white)
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    61
\mode<presentation>{
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    62
\definecolor{isacol:brown}{rgb}{.823,.411,.117}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    63
\definecolor{isacol:lightblue}{rgb}{.274,.509,.705}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    64
\definecolor{isacol:green}{rgb}{0,.51,0.14}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    65
\definecolor{isacol:red}{rgb}{.803,0,0}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    66
\definecolor{isacol:blue}{rgb}{0,0,.803}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    67
\definecolor{isacol:darkred}{rgb}{.545,0,0}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    68
\definecolor{isacol:black}{rgb}{0,0,0}}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    69
\mode<article>{
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    70
\definecolor{isacol:brown}{rgb}{0,0,0}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    71
\definecolor{isacol:lightblue}{rgb}{0,0,0}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    72
\definecolor{isacol:green}{rgb}{0,0,0}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    73
\definecolor{isacol:red}{rgb}{0,0,0}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    74
\definecolor{isacol:blue}{rgb}{0,0,0}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    75
\definecolor{isacol:darkred}{rgb}{0,0,0}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    76
\definecolor{isacol:black}{rgb}{0,0,0}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    77
}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    78
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    79
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    80
\newcommand{\strong}[1]{{\bfseries {#1}}}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    81
\newcommand{\bluecmd}[1]{{\color{isacol:lightblue}{\strong{#1}}}}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    82
\newcommand{\browncmd}[1]{{\color{isacol:brown}{\strong{#1}}}}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    83
\newcommand{\redcmd}[1]{{\color{isacol:red}{\strong{#1}}}}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    84
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    85
\renewcommand{\isakeyword}[1]{%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    86
\ifthenelse{\equal{#1}{show}}{\browncmd{#1}}{%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    87
\ifthenelse{\equal{#1}{case}}{\browncmd{#1}}{%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    88
\ifthenelse{\equal{#1}{assume}}{\browncmd{#1}}{%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    89
\ifthenelse{\equal{#1}{obtain}}{\browncmd{#1}}{%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    90
\ifthenelse{\equal{#1}{fix}}{\browncmd{#1}}{%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    91
\ifthenelse{\equal{#1}{oops}}{\redcmd{#1}}{%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    92
\ifthenelse{\equal{#1}{thm}}{\redcmd{#1}}{%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    93
{\bluecmd{#1}}}}}}}}}}%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    94
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    95
% inner syntax colour
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    96
\chardef\isachardoublequoteopen=`\"%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    97
\chardef\isachardoublequoteclose=`\"%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    98
\chardef\isacharbackquoteopen=`\`%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
    99
\chardef\isacharbackquoteclose=`\`%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   100
\newenvironment{innersingle}%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   101
{\isacharbackquoteopen\color{isacol:green}}%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   102
{\color{isacol:black}\isacharbackquoteclose}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   103
\newenvironment{innerdouble}%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   104
{\isachardoublequoteopen\color{isacol:green}}%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   105
{\color{isacol:black}\isachardoublequoteclose}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   106
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   107
%% misc
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   108
\newcommand{\gb}[1]{\textcolor{isacol:green}{#1}}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   109
\newcommand{\rb}[1]{\textcolor{red}{#1}}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   110
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   111
%% animations
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   112
\newcounter{growcnt}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   113
\newcommand{\grow}[2]
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   114
{\begin{tikzpicture}[baseline=(n.base)]%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   115
    \node[scale=(0.1 *#1 + 0.001),inner sep=0pt] (n) {#2};
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   116
  \end{tikzpicture}%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   117
}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   118
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   119
%% isatabbing
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   120
%\renewcommand{\isamarkupcmt}[1]%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   121
%{\ifthenelse{\equal{TABSET}{#1}}{\=}%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   122
% {\ifthenelse{\equal{TAB}{#1}}{\>}%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   123
%  {\ifthenelse{\equal{NEWLINE}{#1}}{\\}%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   124
%   {\ifthenelse{\equal{DOTS}{#1}}{\ldots}{\isastylecmt--- {#1}}}%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   125
%  }%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   126
% }%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   127
%}%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   128
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   129
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   130
\newenvironment{isatabbing}%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   131
{\renewcommand{\isanewline}{\\}\begin{tabbing}}%
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   132
{\end{tabbing}}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   133
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   134
\begin{document}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   135
\input{session}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   136
\end{document}
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   137
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   138
%%% Local Variables:  
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   139
%%% mode: latex
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   140
%%% TeX-master: t
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   141
%%% TeX-command-default: "Slides"
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   142
%%% TeX-view-style: (("." "kghostview --landscape --scale 0.45 --geometry 605x505 %f"))
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   143
%%% End: 
663816814e3e added initial slides for informal talk in Cambridge
urbanc
parents:
diff changeset
   144