author | Christian Urban <urbanc@in.tum.de> |
Tue, 28 Jun 2011 14:49:48 +0100 | |
changeset 2917 | 6ad2f1c296a7 |
parent 2764 | 03de62208942 |
child 3052 | 41ec301eb062 |
permissions | -rw-r--r-- |
2351
842969a598f2
added material for slides
Christian Urban <urbanc@in.tum.de>
parents:
2302
diff
changeset
|
1 |
\usepackage{beamerthemeplainculight} |
2299 | 2 |
\usepackage[T1]{fontenc} |
3 |
\usepackage{proof} |
|
4 |
\usepackage{german} |
|
5 |
\usepackage[latin1]{inputenc} |
|
6 |
\usepackage{isabelle} |
|
7 |
\usepackage{isabellesym} |
|
2359 | 8 |
%%\usepackage{mathpartir} |
2299 | 9 |
\usepackage[absolute,overlay]{textpos} |
10 |
\usepackage{proof} |
|
11 |
\usepackage{ifthen} |
|
2359 | 12 |
%%\usepackage{animate} |
2299 | 13 |
\usepackage{tikz} |
14 |
\usepackage{pgf} |
|
15 |
\usepackage{calc} |
|
2751
3b8232f56941
final version of slides
Christian Urban <urbanc@in.tum.de>
parents:
2392
diff
changeset
|
16 |
\usepackage{ulem} |
2299 | 17 |
%%%\newcommand{\uline}[1]{} |
18 |
\usetikzlibrary{arrows} |
|
19 |
\usetikzlibrary{automata} |
|
20 |
\usetikzlibrary{shapes} |
|
21 |
\usetikzlibrary{shadows} |
|
2764 | 22 |
\usetikzlibrary{positioning} |
2299 | 23 |
%%%\usetikzlibrary{mindmap} |
24 |
||
25 |
\usepackage{graphicx} |
|
26 |
\usepackage{xcolor} |
|
27 |
||
2300
9fb315392493
added FSet to the correct paper
Christian Urban <urbanc@in.tum.de>
parents:
2299
diff
changeset
|
28 |
% general math stuff |
9fb315392493
added FSet to the correct paper
Christian Urban <urbanc@in.tum.de>
parents:
2299
diff
changeset
|
29 |
\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
|
30 |
\newcommand{\dnn}{\stackrel{\mbox{\Large def}}{=}} |
9fb315392493
added FSet to the correct paper
Christian Urban <urbanc@in.tum.de>
parents:
2299
diff
changeset
|
31 |
\renewcommand{\emptyset}{\varnothing}% nice round empty set |
9fb315392493
added FSet to the correct paper
Christian Urban <urbanc@in.tum.de>
parents:
2299
diff
changeset
|
32 |
\renewcommand{\Gamma}{\varGamma} |
9fb315392493
added FSet to the correct paper
Christian Urban <urbanc@in.tum.de>
parents:
2299
diff
changeset
|
33 |
\DeclareRobustCommand{\flqq}{\mbox{\guillemotleft}} |
9fb315392493
added FSet to the correct paper
Christian Urban <urbanc@in.tum.de>
parents:
2299
diff
changeset
|
34 |
\DeclareRobustCommand{\frqq}{\mbox{\guillemotright}} |
9fb315392493
added FSet to the correct paper
Christian Urban <urbanc@in.tum.de>
parents:
2299
diff
changeset
|
35 |
\newcommand{\smath}[1]{\textcolor{blue}{\ensuremath{#1}}} |
9fb315392493
added FSet to the correct paper
Christian Urban <urbanc@in.tum.de>
parents:
2299
diff
changeset
|
36 |
\newcommand{\fresh}{\mathrel{\#}} |
9fb315392493
added FSet to the correct paper
Christian Urban <urbanc@in.tum.de>
parents:
2299
diff
changeset
|
37 |
\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
|
38 |
\newcommand{\swap}[2]{(#1\,#2)}% swapping operation |
2299 | 39 |
|
40 |
||
41 |
||
42 |
% Isabelle configuration |
|
43 |
%%\urlstyle{rm} |
|
2302 | 44 |
\isabellestyle{rm} |
45 |
\renewcommand{\isastyle}{\rm}% |
|
46 |
\renewcommand{\isastyleminor}{\rm}% |
|
47 |
\renewcommand{\isastylescript}{\footnotesize\rm\slshape}% |
|
2299 | 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} |
|
2300
9fb315392493
added FSet to the correct paper
Christian Urban <urbanc@in.tum.de>
parents:
2299
diff
changeset
|
63 |
\renewcommand{\isasymequiv}{$\dn$} |
2299 | 64 |
|
65 |
% mathpatir |
|
2359 | 66 |
%%\mprset{sep=1em} |
2299 | 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=`\`% |
|
2392
9294d7cec5e2
proved rsp-helper lemmas of size functions
Christian Urban <urbanc@in.tum.de>
parents:
2359
diff
changeset
|
113 |
|
9294d7cec5e2
proved rsp-helper lemmas of size functions
Christian Urban <urbanc@in.tum.de>
parents:
2359
diff
changeset
|
114 |
\let\oldisachardoublequoteopen=\isachardoublequoteopen |
9294d7cec5e2
proved rsp-helper lemmas of size functions
Christian Urban <urbanc@in.tum.de>
parents:
2359
diff
changeset
|
115 |
\let\oldisachardoublequoteclose=\isachardoublequoteclose |
9294d7cec5e2
proved rsp-helper lemmas of size functions
Christian Urban <urbanc@in.tum.de>
parents:
2359
diff
changeset
|
116 |
\let\oldisacharbackquoteopen=\isacharbackquoteopen |
9294d7cec5e2
proved rsp-helper lemmas of size functions
Christian Urban <urbanc@in.tum.de>
parents:
2359
diff
changeset
|
117 |
\let\oldisacharbackquoteclose=\isacharbackquoteclose |
9294d7cec5e2
proved rsp-helper lemmas of size functions
Christian Urban <urbanc@in.tum.de>
parents:
2359
diff
changeset
|
118 |
\newenvironment{innerdouble}% |
9294d7cec5e2
proved rsp-helper lemmas of size functions
Christian Urban <urbanc@in.tum.de>
parents:
2359
diff
changeset
|
119 |
{\oldisachardoublequoteopen \color{isacol:green}}% |
9294d7cec5e2
proved rsp-helper lemmas of size functions
Christian Urban <urbanc@in.tum.de>
parents:
2359
diff
changeset
|
120 |
{\color{isacol:black} \oldisachardoublequoteclose} |
2299 | 121 |
\newenvironment{innersingle}% |
2392
9294d7cec5e2
proved rsp-helper lemmas of size functions
Christian Urban <urbanc@in.tum.de>
parents:
2359
diff
changeset
|
122 |
{\oldisacharbackquoteopen\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}\oldisacharbackquoteclose} |
9294d7cec5e2
proved rsp-helper lemmas of size functions
Christian Urban <urbanc@in.tum.de>
parents:
2359
diff
changeset
|
124 |
|
9294d7cec5e2
proved rsp-helper lemmas of size functions
Christian Urban <urbanc@in.tum.de>
parents:
2359
diff
changeset
|
125 |
\renewcommand{\isachardoublequoteopen}{\egroup\begin{innerdouble}\bgroup} |
9294d7cec5e2
proved rsp-helper lemmas of size functions
Christian Urban <urbanc@in.tum.de>
parents:
2359
diff
changeset
|
126 |
\renewcommand{\isachardoublequoteclose}{\egroup\end{innerdouble}\bgroup} |
9294d7cec5e2
proved rsp-helper lemmas of size functions
Christian Urban <urbanc@in.tum.de>
parents:
2359
diff
changeset
|
127 |
\renewcommand{\isacharbackquoteopen}{\egroup\begin{innersingle}\bgroup} |
9294d7cec5e2
proved rsp-helper lemmas of size functions
Christian Urban <urbanc@in.tum.de>
parents:
2359
diff
changeset
|
128 |
\renewcommand{\isacharbackquoteclose}{\egroup\end{innersingle}\bgroup} |
2299 | 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 |