doc-src/ZF/isabelle.sty
author wenzelm
Fri, 17 Aug 2007 23:10:49 +0200
changeset 24315 09b35593d091
parent 22649 6cf96b9f7b9e
child 25056 743f3603ba8b
permissions -rw-r--r--
updated generated file;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14152
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
     1
%%
17536
1b7c2f7df2e6 updated;
wenzelm
parents: 17214
diff changeset
     2
%% 
14152
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
     3
%%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
     4
%% macros for Isabelle generated LaTeX output
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
     5
%%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
     6
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
     7
%%% Simple document preparation (based on theory token language and symbols)
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
     8
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
     9
% isabelle environments
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    10
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    11
\newcommand{\isabellecontext}{UNKNOWN}
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    12
18962
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    13
\newcommand{\isastyle}{\UNDEF}
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    14
\newcommand{\isastyleminor}{\UNDEF}
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    15
\newcommand{\isastylescript}{\UNDEF}
14152
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    16
\newcommand{\isastyletext}{\normalsize\rm}
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    17
\newcommand{\isastyletxt}{\rm}
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    18
\newcommand{\isastylecmt}{\rm}
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    19
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    20
%symbol markup -- \emph achieves decent spacing via italic corrections
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    21
\newcommand{\isamath}[1]{\emph{$#1$}}
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    22
\newcommand{\isatext}[1]{\emph{#1}}
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    23
\newcommand{\isascriptstyle}{\def\isamath##1{##1}\def\isatext##1{\mbox{\isastylescript##1}}}
17181
5f42dd5e6570 updated;
wenzelm
parents: 17175
diff changeset
    24
\newcommand{\isactrlsub}[1]{\emph{\isascriptstyle${}\sb{#1}$}}
5f42dd5e6570 updated;
wenzelm
parents: 17175
diff changeset
    25
\newcommand{\isactrlsup}[1]{\emph{\isascriptstyle${}\sp{#1}$}}
5f42dd5e6570 updated;
wenzelm
parents: 17175
diff changeset
    26
\newcommand{\isactrlisub}[1]{\emph{\isascriptstyle${}\sb{#1}$}}
5f42dd5e6570 updated;
wenzelm
parents: 17175
diff changeset
    27
\newcommand{\isactrlisup}[1]{\emph{\isascriptstyle${}\sp{#1}$}}
16353
94e565ded526 updated;
wenzelm
parents: 14981
diff changeset
    28
\newcommand{\isactrlbsub}{\emph\bgroup\begin{math}{}\sb\bgroup\mbox\bgroup\isastylescript}
94e565ded526 updated;
wenzelm
parents: 14981
diff changeset
    29
\newcommand{\isactrlesub}{\egroup\egroup\end{math}\egroup}
94e565ded526 updated;
wenzelm
parents: 14981
diff changeset
    30
\newcommand{\isactrlbsup}{\emph\bgroup\begin{math}{}\sp\bgroup\mbox\bgroup\isastylescript}
94e565ded526 updated;
wenzelm
parents: 14981
diff changeset
    31
\newcommand{\isactrlesup}{\egroup\egroup\end{math}\egroup}
14152
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    32
\newcommand{\isactrlbold}[1]{{\bfseries\upshape\boldmath#1}}
17175
1eced27ee0e1 updated;
wenzelm
parents: 17126
diff changeset
    33
\newcommand{\isactrlloc}[1]{{\bfseries\upshape\boldmath#1}}
22649
6cf96b9f7b9e updated;
wenzelm
parents: 18962
diff changeset
    34
\newenvironment{isaantiq}{{\isacharat\isacharbraceleft}}{{\isacharbraceright}}
14152
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    35
16353
94e565ded526 updated;
wenzelm
parents: 14981
diff changeset
    36
14152
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    37
\newdimen\isa@parindent\newdimen\isa@parskip
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    38
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    39
\newenvironment{isabellebody}{%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    40
\isamarkuptrue\par%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    41
\isa@parindent\parindent\parindent0pt%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    42
\isa@parskip\parskip\parskip0pt%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    43
\isastyle}{\par}
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    44
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    45
\newenvironment{isabelle}
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    46
{\begin{trivlist}\begin{isabellebody}\item\relax}
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    47
{\end{isabellebody}\end{trivlist}}
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    48
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    49
\newcommand{\isa}[1]{\emph{\isastyleminor #1}}
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    50
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    51
\newcommand{\isaindent}[1]{\hphantom{#1}}
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    52
\newcommand{\isanewline}{\mbox{}\par\mbox{}}
17175
1eced27ee0e1 updated;
wenzelm
parents: 17126
diff changeset
    53
\newcommand{\isasep}{}
14152
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    54
\newcommand{\isadigit}[1]{#1}
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    55
18962
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    56
\newcommand{\isachardefaults}{%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    57
\chardef\isacharbang=`\!%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    58
\chardef\isachardoublequote=`\"%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    59
\chardef\isachardoublequoteopen=`\"%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    60
\chardef\isachardoublequoteclose=`\"%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    61
\chardef\isacharhash=`\#%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    62
\chardef\isachardollar=`\$%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    63
\chardef\isacharpercent=`\%%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    64
\chardef\isacharampersand=`\&%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    65
\chardef\isacharprime=`\'%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    66
\chardef\isacharparenleft=`\(%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    67
\chardef\isacharparenright=`\)%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    68
\chardef\isacharasterisk=`\*%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    69
\chardef\isacharplus=`\+%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    70
\chardef\isacharcomma=`\,%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    71
\chardef\isacharminus=`\-%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    72
\chardef\isachardot=`\.%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    73
\chardef\isacharslash=`\/%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    74
\chardef\isacharcolon=`\:%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    75
\chardef\isacharsemicolon=`\;%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    76
\chardef\isacharless=`\<%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    77
\chardef\isacharequal=`\=%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    78
\chardef\isachargreater=`\>%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    79
\chardef\isacharquery=`\?%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    80
\chardef\isacharat=`\@%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    81
\chardef\isacharbrackleft=`\[%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    82
\chardef\isacharbackslash=`\\%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    83
\chardef\isacharbrackright=`\]%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    84
\chardef\isacharcircum=`\^%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    85
\chardef\isacharunderscore=`\_%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    86
\def\isacharunderscorekeyword{\_}%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    87
\chardef\isacharbackquote=`\`%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    88
\chardef\isacharbackquoteopen=`\`%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    89
\chardef\isacharbackquoteclose=`\`%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    90
\chardef\isacharbraceleft=`\{%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    91
\chardef\isacharbar=`\|%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    92
\chardef\isacharbraceright=`\}%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    93
\chardef\isachartilde=`\~%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    94
\def\isacharverbatimopen{\isacharbraceleft\isacharasterisk}%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    95
\def\isacharverbatimclose{\isacharasterisk\isacharbraceright}%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
    96
}
14152
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    97
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    98
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
    99
% keyword and section markup
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   100
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   101
\newcommand{\isakeyword}[1]
18962
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
   102
{\emph{\bf\def\isachardot{.}\def\isacharunderscore{\isacharunderscorekeyword}%
14152
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   103
\def\isacharbraceleft{\{}\def\isacharbraceright{\}}#1}}
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   104
\newcommand{\isacommand}[1]{\isakeyword{#1}}
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   105
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   106
\newcommand{\isamarkupheader}[1]{\section{#1}}
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   107
\newcommand{\isamarkupchapter}[1]{\chapter{#1}}
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   108
\newcommand{\isamarkupsection}[1]{\section{#1}}
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   109
\newcommand{\isamarkupsubsection}[1]{\subsection{#1}}
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   110
\newcommand{\isamarkupsubsubsection}[1]{\subsubsection{#1}}
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   111
\newcommand{\isamarkupsect}[1]{\section{#1}}
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   112
\newcommand{\isamarkupsubsect}[1]{\subsection{#1}}
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   113
\newcommand{\isamarkupsubsubsect}[1]{\subsubsection{#1}}
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   114
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   115
\newif\ifisamarkup
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   116
\newcommand{\isabeginpar}{\par\ifisamarkup\relax\else\medskip\fi}
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   117
\newcommand{\isaendpar}{\par\medskip}
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   118
\newenvironment{isapar}{\parindent\isa@parindent\parskip\isa@parskip\isabeginpar}{\isaendpar}
17214
af174eeafba1 updated;
wenzelm
parents: 17181
diff changeset
   119
\newenvironment{isamarkuptext}{\par\isastyletext\begin{isapar}}{\end{isapar}}
af174eeafba1 updated;
wenzelm
parents: 17181
diff changeset
   120
\newenvironment{isamarkuptxt}{\par\isastyletxt\begin{isapar}}{\end{isapar}}
14152
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   121
\newcommand{\isamarkupcmt}[1]{{\isastylecmt--- #1}}
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   122
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   123
18962
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
   124
% styles
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
   125
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
   126
\def\isabellestyle#1{\csname isabellestyle#1\endcsname}
14152
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   127
18962
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
   128
\newcommand{\isabellestyledefault}{%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
   129
\renewcommand{\isastyle}{\small\tt\slshape}%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
   130
\renewcommand{\isastyleminor}{\small\tt\slshape}%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
   131
\renewcommand{\isastylescript}{\footnotesize\tt\slshape}%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
   132
\isachardefaults%
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
   133
}
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
   134
\isabellestyledefault
14152
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   135
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   136
\newcommand{\isabellestylett}{%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   137
\renewcommand{\isastyle}{\small\tt}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   138
\renewcommand{\isastyleminor}{\small\tt}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   139
\renewcommand{\isastylescript}{\footnotesize\tt}%
18962
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
   140
\isachardefaults%
14152
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   141
}
18962
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
   142
14152
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   143
\newcommand{\isabellestyleit}{%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   144
\renewcommand{\isastyle}{\small\it}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   145
\renewcommand{\isastyleminor}{\it}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   146
\renewcommand{\isastylescript}{\footnotesize\it}%
18962
d6ecc5828b14 updated;
wenzelm
parents: 17536
diff changeset
   147
\renewcommand{\isacharunderscorekeyword}{\mbox{-}}%
14152
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   148
\renewcommand{\isacharbang}{\isamath{!}}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   149
\renewcommand{\isachardoublequote}{}%
17175
1eced27ee0e1 updated;
wenzelm
parents: 17126
diff changeset
   150
\renewcommand{\isachardoublequoteopen}{}%
1eced27ee0e1 updated;
wenzelm
parents: 17126
diff changeset
   151
\renewcommand{\isachardoublequoteclose}{}%
14152
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   152
\renewcommand{\isacharhash}{\isamath{\#}}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   153
\renewcommand{\isachardollar}{\isamath{\$}}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   154
\renewcommand{\isacharpercent}{\isamath{\%}}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   155
\renewcommand{\isacharampersand}{\isamath{\&}}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   156
\renewcommand{\isacharprime}{\isamath{\mskip2mu{'}\mskip-2mu}}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   157
\renewcommand{\isacharparenleft}{\isamath{(}}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   158
\renewcommand{\isacharparenright}{\isamath{)}}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   159
\renewcommand{\isacharasterisk}{\isamath{*}}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   160
\renewcommand{\isacharplus}{\isamath{+}}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   161
\renewcommand{\isacharcomma}{\isamath{\mathord,}}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   162
\renewcommand{\isacharminus}{\isamath{-}}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   163
\renewcommand{\isachardot}{\isamath{\mathord.}}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   164
\renewcommand{\isacharslash}{\isamath{/}}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   165
\renewcommand{\isacharcolon}{\isamath{\mathord:}}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   166
\renewcommand{\isacharsemicolon}{\isamath{\mathord;}}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   167
\renewcommand{\isacharless}{\isamath{<}}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   168
\renewcommand{\isacharequal}{\isamath{=}}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   169
\renewcommand{\isachargreater}{\isamath{>}}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   170
\renewcommand{\isacharat}{\isamath{@}}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   171
\renewcommand{\isacharbrackleft}{\isamath{[}}%
17126
ff9ad5b17100 updated;
wenzelm
parents: 16353
diff changeset
   172
\renewcommand{\isacharbackslash}{\isamath{\backslash}}%
14152
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   173
\renewcommand{\isacharbrackright}{\isamath{]}}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   174
\renewcommand{\isacharunderscore}{\mbox{-}}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   175
\renewcommand{\isacharbraceleft}{\isamath{\{}}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   176
\renewcommand{\isacharbar}{\isamath{\mid}}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   177
\renewcommand{\isacharbraceright}{\isamath{\}}}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   178
\renewcommand{\isachartilde}{\isamath{{}\sp{\sim}}}%
17175
1eced27ee0e1 updated;
wenzelm
parents: 17126
diff changeset
   179
\renewcommand{\isacharbackquoteopen}{\isatext{\raise.3ex\hbox{$\scriptscriptstyle\langle$}}}%
1eced27ee0e1 updated;
wenzelm
parents: 17126
diff changeset
   180
\renewcommand{\isacharbackquoteclose}{\isatext{\raise.3ex\hbox{$\scriptscriptstyle\rangle$}}}%
17181
5f42dd5e6570 updated;
wenzelm
parents: 17175
diff changeset
   181
\renewcommand{\isacharverbatimopen}{\isamath{\langle\!\langle}}%
5f42dd5e6570 updated;
wenzelm
parents: 17175
diff changeset
   182
\renewcommand{\isacharverbatimclose}{\isamath{\rangle\!\rangle}}%
14152
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   183
}
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   184
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   185
\newcommand{\isabellestylesl}{%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   186
\isabellestyleit%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   187
\renewcommand{\isastyle}{\small\sl}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   188
\renewcommand{\isastyleminor}{\sl}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   189
\renewcommand{\isastylescript}{\footnotesize\sl}%
12f6f18e7afc For the Isar version of the ZF logics manual
paulson
parents:
diff changeset
   190
}
17126
ff9ad5b17100 updated;
wenzelm
parents: 16353
diff changeset
   191
ff9ad5b17100 updated;
wenzelm
parents: 16353
diff changeset
   192
ff9ad5b17100 updated;
wenzelm
parents: 16353
diff changeset
   193
% tagged regions
ff9ad5b17100 updated;
wenzelm
parents: 16353
diff changeset
   194
ff9ad5b17100 updated;
wenzelm
parents: 16353
diff changeset
   195
%plain TeX version of comment package -- much faster!
ff9ad5b17100 updated;
wenzelm
parents: 16353
diff changeset
   196
\let\isafmtname\fmtname\def\fmtname{plain}
ff9ad5b17100 updated;
wenzelm
parents: 16353
diff changeset
   197
\usepackage{comment}
ff9ad5b17100 updated;
wenzelm
parents: 16353
diff changeset
   198
\let\fmtname\isafmtname
ff9ad5b17100 updated;
wenzelm
parents: 16353
diff changeset
   199
ff9ad5b17100 updated;
wenzelm
parents: 16353
diff changeset
   200
\newcommand{\isafold}[1]{\emph{$\langle\mathord{\mathit{#1}}\rangle$}}
ff9ad5b17100 updated;
wenzelm
parents: 16353
diff changeset
   201
ff9ad5b17100 updated;
wenzelm
parents: 16353
diff changeset
   202
\newcommand{\isakeeptag}[1]%
ff9ad5b17100 updated;
wenzelm
parents: 16353
diff changeset
   203
{\includecomment{isadelim#1}\includecomment{isatag#1}\csarg\def{isafold#1}{}}
ff9ad5b17100 updated;
wenzelm
parents: 16353
diff changeset
   204
\newcommand{\isadroptag}[1]%
ff9ad5b17100 updated;
wenzelm
parents: 16353
diff changeset
   205
{\excludecomment{isadelim#1}\excludecomment{isatag#1}\csarg\def{isafold#1}{}}
ff9ad5b17100 updated;
wenzelm
parents: 16353
diff changeset
   206
\newcommand{\isafoldtag}[1]%
ff9ad5b17100 updated;
wenzelm
parents: 16353
diff changeset
   207
{\includecomment{isadelim#1}\excludecomment{isatag#1}\csarg\def{isafold#1}{\isafold{#1}}}
ff9ad5b17100 updated;
wenzelm
parents: 16353
diff changeset
   208
ff9ad5b17100 updated;
wenzelm
parents: 16353
diff changeset
   209
\isakeeptag{theory}
ff9ad5b17100 updated;
wenzelm
parents: 16353
diff changeset
   210
\isakeeptag{proof}
ff9ad5b17100 updated;
wenzelm
parents: 16353
diff changeset
   211
\isakeeptag{ML}
ff9ad5b17100 updated;
wenzelm
parents: 16353
diff changeset
   212
\isakeeptag{visible}
ff9ad5b17100 updated;
wenzelm
parents: 16353
diff changeset
   213
\isadroptag{invisible}
ff9ad5b17100 updated;
wenzelm
parents: 16353
diff changeset
   214
ff9ad5b17100 updated;
wenzelm
parents: 16353
diff changeset
   215
\IfFileExists{isabelletags.sty}{\usepackage{isabelletags}}{}