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