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