cookbook.tex
author Christian Urban <urbanc@in.tum.de>
Wed, 03 Sep 2008 18:29:48 +0200
changeset 1 b729345319f0
permissions -rw-r--r--
added necessary files
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
\documentclass[11pt,a4paper]{article}
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
\usepackage{amsmath,amsthm}
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
\usepackage{CookBook/generated/isabelle,CookBook/generated/isabellesym}
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
% Cross references to other manuals:
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
\usepackage{xr}
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
\externaldocument[I-]{implementation}
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
\newcommand{\impref}[1]{\ref{I-#1}}
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
\newcommand{\ichcite}[1]{[Impl.\,Man., ch.~\impref{#1}]}
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
\newcommand{\isccite}[1]{[Impl.\,Man., sec.~\impref{#1}]}
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    12
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    13
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    14
% further packages required for unusual symbols (see also
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    15
% isabellesym.sty), use only when needed
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    16
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    17
%\usepackage{amssymb}
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    18
  %for \<leadsto>, \<box>, \<diamond>, \<sqsupset>, \<mho>, \<Join>,
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    19
  %\<lhd>, \<lesssim>, \<greatersim>, \<lessapprox>, \<greaterapprox>,
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    20
  %\<triangleq>, \<yen>, \<lozenge>
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    21
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    22
%\usepackage[greek,english]{babel}
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    23
  %option greek for \<euro>
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    24
  %option english (default language) for \<guillemotleft>, \<guillemotright>
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    25
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    26
%\usepackage[latin1]{inputenc}
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    27
  %for \<onesuperior>, \<onequarter>, \<twosuperior>, \<onehalf>,
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    28
  %\<threesuperior>, \<threequarters>, \<degree>
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    29
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    30
%\usepackage[only,bigsqcap]{stmaryrd}
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    31
  %for \<Sqinter>
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    32
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    33
%\usepackage{eufrak}
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    34
  %for \<AA> ... \<ZZ>, \<aa> ... \<zz> (also included in amssymb)
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    35
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    36
%\usepackage{textcomp}
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    37
  %for \<cent>, \<currency>
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    38
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    39
% this should be the last package used
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    40
\usepackage{pdfsetup}
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    41
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    42
\urlstyle{rm}
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    43
\renewcommand{\isastyletxt}{\isastyletext}% use same formatting for txt and text
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    44
\renewcommand{\isastyle}{\isastyleminor}% use same formatting for txt and text
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    45
\isadroptag{theory}
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    46
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    47
\newenvironment{readmore}{\makebox[0pt][r]{\fbox{\textbf{Read More}}~~}\it}{}
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    48
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    49
\newtheorem{exercise}{Exercise}[section]
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    50
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    51
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    52
\begin{document}
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    53
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    54
\title{The Isabelle Programmer's Cookbook (fragment)}
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    55
\author{Alexander Krauss}
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    56
\maketitle
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    57
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    58
\tableofcontents
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    59
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    60
% sane default for proof documents
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    61
\parindent 0pt\parskip 0.5ex
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    62
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    63
% generated text of all theories
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    64
\input{CookBook/generated/CookBook}
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    65
\newpage\section{Recipes}
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    66
\input{CookBook/generated/NamedThms}
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    67
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    68
\newpage
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    69
\bibliographystyle{abbrv}
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    70
\bibliography{manual,cookbook}
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    71
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    72
\end{document}
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    73
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    74
%%% Local Variables:
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    75
%%% mode: latex
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    76
%%% TeX-master: t
b729345319f0 added necessary files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    77
%%% End: