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