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