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