| author | wenzelm | 
| Mon, 09 Mar 2009 17:53:53 +0100 | |
| changeset 30390 | ad591ee76c78 | 
| parent 29145 | b1c6f4563df7 | 
| child 39538 | 5aced2f43837 | 
| permissions | -rw-r--r-- | 
| 7709 | 1 | %% | 
| 2 | %% macros for Isabelle generated LaTeX output | |
| 3 | %% | |
| 4 | ||
| 9913 | 5 | %%% Simple document preparation (based on theory token language and symbols) | 
| 7709 | 6 | |
| 8714 | 7 | % isabelle environments | 
| 7788 | 8 | |
| 9913 | 9 | \newcommand{\isabellecontext}{UNKNOWN}
 | 
| 10 | ||
| 18860 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 11 | \newcommand{\isastyle}{\UNDEF}
 | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 12 | \newcommand{\isastyleminor}{\UNDEF}
 | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 13 | \newcommand{\isastylescript}{\UNDEF}
 | 
| 9657 | 14 | \newcommand{\isastyletext}{\normalsize\rm}
 | 
| 15 | \newcommand{\isastyletxt}{\rm}
 | |
| 16 | \newcommand{\isastylecmt}{\rm}
 | |
| 8713 | 17 | |
| 10220 | 18 | %symbol markup -- \emph achieves decent spacing via italic corrections | 
| 19 | \newcommand{\isamath}[1]{\emph{$#1$}}
 | |
| 20 | \newcommand{\isatext}[1]{\emph{#1}}
 | |
| 25055 
3bb2ad8b1b37
DeclareRobustCommand isascriptstyle (enables sub/superscripts within section headings etc.);
 wenzelm parents: 
22647diff
changeset | 21 | \DeclareRobustCommand{\isascriptstyle}{\def\isamath##1{##1}\def\isatext##1{\mbox{\isastylescript##1}}}
 | 
| 17180 
5fefe658a6f8
recover original definitions of \isactrlsub etc.;
 wenzelm parents: 
17173diff
changeset | 22 | \newcommand{\isactrlsub}[1]{\emph{\isascriptstyle${}\sb{#1}$}}
 | 
| 
5fefe658a6f8
recover original definitions of \isactrlsub etc.;
 wenzelm parents: 
17173diff
changeset | 23 | \newcommand{\isactrlsup}[1]{\emph{\isascriptstyle${}\sp{#1}$}}
 | 
| 
5fefe658a6f8
recover original definitions of \isactrlsub etc.;
 wenzelm parents: 
17173diff
changeset | 24 | \newcommand{\isactrlisub}[1]{\emph{\isascriptstyle${}\sb{#1}$}}
 | 
| 
5fefe658a6f8
recover original definitions of \isactrlsub etc.;
 wenzelm parents: 
17173diff
changeset | 25 | \newcommand{\isactrlisup}[1]{\emph{\isascriptstyle${}\sp{#1}$}}
 | 
| 25081 | 26 | \DeclareRobustCommand{\isactrlbsub}{\emph\bgroup\math{}\sb\bgroup\mbox\bgroup\isastylescript}
 | 
| 27 | \DeclareRobustCommand{\isactrlesub}{\egroup\egroup\endmath\egroup}
 | |
| 28 | \DeclareRobustCommand{\isactrlbsup}{\emph\bgroup\math{}\sp\bgroup\mbox\bgroup\isastylescript}
 | |
| 29 | \DeclareRobustCommand{\isactrlesup}{\egroup\egroup\endmath\egroup}
 | |
| 11573 | 30 | \newcommand{\isactrlbold}[1]{{\bfseries\upshape\boldmath#1}}
 | 
| 17173 | 31 | \newcommand{\isactrlloc}[1]{{\bfseries\upshape\boldmath#1}}
 | 
| 27337 | 32 | |
| 22647 | 33 | \newenvironment{isaantiq}{{\isacharat\isacharbraceleft}}{{\isacharbraceright}}
 | 
| 27337 | 34 | \newcommand{\isaantiqopen}{\isakeyword{\isacharbraceleft}}
 | 
| 35 | \newcommand{\isaantiqclose}{\isakeyword{\isacharbraceright}}
 | |
| 14332 
fd3535af90ab
spanning super and sub scripts \<^bsub> .. \<^esub> and \<^bsup> .. \<^esup>
 kleing parents: 
14234diff
changeset | 36 | |
| 8713 | 37 | \newdimen\isa@parindent\newdimen\isa@parskip | 
| 9657 | 38 | |
| 9702 
f23bee3c0682
\newenvironment{isabellebody}: version without trivlist;
 wenzelm parents: 
9688diff
changeset | 39 | \newenvironment{isabellebody}{%
 | 
| 11863 
87643169ae7d
\newif\ifisamarkup controls spacing of isabeginpar;
 wenzelm parents: 
11573diff
changeset | 40 | \isamarkuptrue\par% | 
| 9702 
f23bee3c0682
\newenvironment{isabellebody}: version without trivlist;
 wenzelm parents: 
9688diff
changeset | 41 | \isa@parindent\parindent\parindent0pt% | 
| 8713 | 42 | \isa@parskip\parskip\parskip0pt% | 
| 10470 | 43 | \isastyle}{\par}
 | 
| 9702 
f23bee3c0682
\newenvironment{isabellebody}: version without trivlist;
 wenzelm parents: 
9688diff
changeset | 44 | |
| 
f23bee3c0682
\newenvironment{isabellebody}: version without trivlist;
 wenzelm parents: 
9688diff
changeset | 45 | \newenvironment{isabelle}
 | 
| 10422 | 46 | {\begin{trivlist}\begin{isabellebody}\item\relax}
 | 
| 47 | {\end{isabellebody}\end{trivlist}}
 | |
| 8713 | 48 | |
| 9669 | 49 | \newcommand{\isa}[1]{\emph{\isastyleminor #1}}
 | 
| 8714 | 50 | |
| 10949 | 51 | \newcommand{\isaindent}[1]{\hphantom{#1}}
 | 
| 13933 | 52 | \newcommand{\isanewline}{\mbox{}\par\mbox{}}
 | 
| 17158 
d68bf267cbba
added \isachardoublequoteopen/close, \isacharbackquoteopen/close;
 wenzelm parents: 
17052diff
changeset | 53 | \newcommand{\isasep}{}
 | 
| 9669 | 54 | \newcommand{\isadigit}[1]{#1}
 | 
| 7752 | 55 | |
| 18860 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 56 | \newcommand{\isachardefaults}{%
 | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 57 | \chardef\isacharbang=`\!% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 58 | \chardef\isachardoublequote=`\"% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 59 | \chardef\isachardoublequoteopen=`\"% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 60 | \chardef\isachardoublequoteclose=`\"% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 61 | \chardef\isacharhash=`\#% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 62 | \chardef\isachardollar=`\$% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 63 | \chardef\isacharpercent=`\%% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 64 | \chardef\isacharampersand=`\&% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 65 | \chardef\isacharprime=`\'% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 66 | \chardef\isacharparenleft=`\(% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 67 | \chardef\isacharparenright=`\)% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 68 | \chardef\isacharasterisk=`\*% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 69 | \chardef\isacharplus=`\+% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 70 | \chardef\isacharcomma=`\,% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 71 | \chardef\isacharminus=`\-% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 72 | \chardef\isachardot=`\.% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 73 | \chardef\isacharslash=`\/% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 74 | \chardef\isacharcolon=`\:% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 75 | \chardef\isacharsemicolon=`\;% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 76 | \chardef\isacharless=`\<% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 77 | \chardef\isacharequal=`\=% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 78 | \chardef\isachargreater=`\>% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 79 | \chardef\isacharquery=`\?% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 80 | \chardef\isacharat=`\@% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 81 | \chardef\isacharbrackleft=`\[% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 82 | \chardef\isacharbackslash=`\\% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 83 | \chardef\isacharbrackright=`\]% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 84 | \chardef\isacharcircum=`\^% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 85 | \chardef\isacharunderscore=`\_% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 86 | \def\isacharunderscorekeyword{\_}%
 | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 87 | \chardef\isacharbackquote=`\`% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 88 | \chardef\isacharbackquoteopen=`\`% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 89 | \chardef\isacharbackquoteclose=`\`% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 90 | \chardef\isacharbraceleft=`\{%
 | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 91 | \chardef\isacharbar=`\|% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 92 | \chardef\isacharbraceright=`\}% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 93 | \chardef\isachartilde=`\~% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 94 | \def\isacharverbatimopen{\isacharbraceleft\isacharasterisk}%
 | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 95 | \def\isacharverbatimclose{\isacharasterisk\isacharbraceright}%
 | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 96 | } | 
| 7788 | 97 | |
| 7797 | 98 | |
| 99 | % keyword and section markup | |
| 7788 | 100 | |
| 9669 | 101 | \newcommand{\isakeyword}[1]
 | 
| 18860 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 102 | {\emph{\bf\def\isachardot{.}\def\isacharunderscore{\isacharunderscorekeyword}%
 | 
| 9669 | 103 | \def\isacharbraceleft{\{}\def\isacharbraceright{\}}#1}}
 | 
| 104 | \newcommand{\isacommand}[1]{\isakeyword{#1}}
 | |
| 7758 | 105 | |
| 8501 | 106 | \newcommand{\isamarkupheader}[1]{\section{#1}}
 | 
| 7752 | 107 | \newcommand{\isamarkupchapter}[1]{\chapter{#1}}
 | 
| 108 | \newcommand{\isamarkupsection}[1]{\section{#1}}
 | |
| 109 | \newcommand{\isamarkupsubsection}[1]{\subsection{#1}}
 | |
| 110 | \newcommand{\isamarkupsubsubsection}[1]{\subsubsection{#1}}
 | |
| 111 | \newcommand{\isamarkupsect}[1]{\section{#1}}
 | |
| 112 | \newcommand{\isamarkupsubsect}[1]{\subsection{#1}}
 | |
| 113 | \newcommand{\isamarkupsubsubsect}[1]{\subsubsection{#1}}
 | |
| 8662 
f9679ddbc492
isapar, isamarkuptext, isamarkuptxt turned into environments;
 wenzelm parents: 
8512diff
changeset | 114 | |
| 11863 
87643169ae7d
\newif\ifisamarkup controls spacing of isabeginpar;
 wenzelm parents: 
11573diff
changeset | 115 | \newif\ifisamarkup | 
| 
87643169ae7d
\newif\ifisamarkup controls spacing of isabeginpar;
 wenzelm parents: 
11573diff
changeset | 116 | \newcommand{\isabeginpar}{\par\ifisamarkup\relax\else\medskip\fi}
 | 
| 10586 | 117 | \newcommand{\isaendpar}{\par\medskip}
 | 
| 118 | \newenvironment{isapar}{\parindent\isa@parindent\parskip\isa@parskip\isabeginpar}{\isaendpar}
 | |
| 17215 
8b969275a5d2
isamarkuptext/txt: \par before changing sizes prevents spacing anomaly;
 wenzelm parents: 
17180diff
changeset | 119 | \newenvironment{isamarkuptext}{\par\isastyletext\begin{isapar}}{\end{isapar}}
 | 
| 
8b969275a5d2
isamarkuptext/txt: \par before changing sizes prevents spacing anomaly;
 wenzelm parents: 
17180diff
changeset | 120 | \newenvironment{isamarkuptxt}{\par\isastyletxt\begin{isapar}}{\end{isapar}}
 | 
| 9657 | 121 | \newcommand{\isamarkupcmt}[1]{{\isastylecmt--- #1}}
 | 
| 122 | ||
| 123 | ||
| 18860 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 124 | % styles | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 125 | |
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 126 | \def\isabellestyle#1{\csname isabellestyle#1\endcsname}
 | 
| 9657 | 127 | |
| 18860 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 128 | \newcommand{\isabellestyledefault}{%
 | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 129 | \renewcommand{\isastyle}{\small\tt\slshape}%
 | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 130 | \renewcommand{\isastyleminor}{\small\tt\slshape}%
 | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 131 | \renewcommand{\isastylescript}{\footnotesize\tt\slshape}%
 | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 132 | \isachardefaults% | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 133 | } | 
| 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 134 | \isabellestyledefault | 
| 9657 | 135 | |
| 10024 | 136 | \newcommand{\isabellestylett}{%
 | 
| 137 | \renewcommand{\isastyle}{\small\tt}%
 | |
| 10188 | 138 | \renewcommand{\isastyleminor}{\small\tt}%
 | 
| 10220 | 139 | \renewcommand{\isastylescript}{\footnotesize\tt}%
 | 
| 18860 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 140 | \isachardefaults% | 
| 10024 | 141 | } | 
| 18860 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 142 | |
| 9669 | 143 | \newcommand{\isabellestyleit}{%
 | 
| 144 | \renewcommand{\isastyle}{\small\it}%
 | |
| 145 | \renewcommand{\isastyleminor}{\it}%
 | |
| 10220 | 146 | \renewcommand{\isastylescript}{\footnotesize\it}%
 | 
| 18860 
9089cdb4c5fd
all styles now reset to defaults first, i.e. the document may switch styles back and forth;
 wenzelm parents: 
17531diff
changeset | 147 | \renewcommand{\isacharunderscorekeyword}{\mbox{-}}%
 | 
| 10220 | 148 | \renewcommand{\isacharbang}{\isamath{!}}%
 | 
| 9669 | 149 | \renewcommand{\isachardoublequote}{}%
 | 
| 17158 
d68bf267cbba
added \isachardoublequoteopen/close, \isacharbackquoteopen/close;
 wenzelm parents: 
17052diff
changeset | 150 | \renewcommand{\isachardoublequoteopen}{}%
 | 
| 
d68bf267cbba
added \isachardoublequoteopen/close, \isacharbackquoteopen/close;
 wenzelm parents: 
17052diff
changeset | 151 | \renewcommand{\isachardoublequoteclose}{}%
 | 
| 10220 | 152 | \renewcommand{\isacharhash}{\isamath{\#}}%
 | 
| 153 | \renewcommand{\isachardollar}{\isamath{\$}}%
 | |
| 154 | \renewcommand{\isacharpercent}{\isamath{\%}}%
 | |
| 155 | \renewcommand{\isacharampersand}{\isamath{\&}}%
 | |
| 156 | \renewcommand{\isacharprime}{\isamath{\mskip2mu{'}\mskip-2mu}}%
 | |
| 157 | \renewcommand{\isacharparenleft}{\isamath{(}}%
 | |
| 158 | \renewcommand{\isacharparenright}{\isamath{)}}%
 | |
| 159 | \renewcommand{\isacharasterisk}{\isamath{*}}%
 | |
| 160 | \renewcommand{\isacharplus}{\isamath{+}}%
 | |
| 161 | \renewcommand{\isacharcomma}{\isamath{\mathord,}}%
 | |
| 162 | \renewcommand{\isacharminus}{\isamath{-}}%
 | |
| 163 | \renewcommand{\isachardot}{\isamath{\mathord.}}%
 | |
| 164 | \renewcommand{\isacharslash}{\isamath{/}}%
 | |
| 165 | \renewcommand{\isacharcolon}{\isamath{\mathord:}}%
 | |
| 166 | \renewcommand{\isacharsemicolon}{\isamath{\mathord;}}%
 | |
| 167 | \renewcommand{\isacharless}{\isamath{<}}%
 | |
| 168 | \renewcommand{\isacharequal}{\isamath{=}}%
 | |
| 169 | \renewcommand{\isachargreater}{\isamath{>}}%
 | |
| 170 | \renewcommand{\isacharat}{\isamath{@}}%
 | |
| 171 | \renewcommand{\isacharbrackleft}{\isamath{[}}%
 | |
| 17052 | 172 | \renewcommand{\isacharbackslash}{\isamath{\backslash}}%
 | 
| 10220 | 173 | \renewcommand{\isacharbrackright}{\isamath{]}}%
 | 
| 9725 | 174 | \renewcommand{\isacharunderscore}{\mbox{-}}%
 | 
| 10220 | 175 | \renewcommand{\isacharbraceleft}{\isamath{\{}}%
 | 
| 176 | \renewcommand{\isacharbar}{\isamath{\mid}}%
 | |
| 177 | \renewcommand{\isacharbraceright}{\isamath{\}}}%
 | |
| 10260 | 178 | \renewcommand{\isachartilde}{\isamath{{}\sp{\sim}}}%
 | 
| 17158 
d68bf267cbba
added \isachardoublequoteopen/close, \isacharbackquoteopen/close;
 wenzelm parents: 
17052diff
changeset | 179 | \renewcommand{\isacharbackquoteopen}{\isatext{\raise.3ex\hbox{$\scriptscriptstyle\langle$}}}%
 | 
| 
d68bf267cbba
added \isachardoublequoteopen/close, \isacharbackquoteopen/close;
 wenzelm parents: 
17052diff
changeset | 180 | \renewcommand{\isacharbackquoteclose}{\isatext{\raise.3ex\hbox{$\scriptscriptstyle\rangle$}}}%
 | 
| 17180 
5fefe658a6f8
recover original definitions of \isactrlsub etc.;
 wenzelm parents: 
17173diff
changeset | 181 | \renewcommand{\isacharverbatimopen}{\isamath{\langle\!\langle}}%
 | 
| 
5fefe658a6f8
recover original definitions of \isactrlsub etc.;
 wenzelm parents: 
17173diff
changeset | 182 | \renewcommand{\isacharverbatimclose}{\isamath{\rangle\!\rangle}}%
 | 
| 9657 | 183 | } | 
| 184 | ||
| 9975 | 185 | \newcommand{\isabellestylesl}{%
 | 
| 186 | \isabellestyleit% | |
| 187 | \renewcommand{\isastyle}{\small\sl}%
 | |
| 188 | \renewcommand{\isastyleminor}{\sl}%
 | |
| 10220 | 189 | \renewcommand{\isastylescript}{\footnotesize\sl}%
 | 
| 9975 | 190 | } | 
| 17052 | 191 | |
| 192 | ||
| 193 | % tagged regions | |
| 194 | ||
| 195 | %plain TeX version of comment package -- much faster! | |
| 196 | \let\isafmtname\fmtname\def\fmtname{plain}
 | |
| 197 | \usepackage{comment}
 | |
| 198 | \let\fmtname\isafmtname | |
| 199 | ||
| 200 | \newcommand{\isafold}[1]{\emph{$\langle\mathord{\mathit{#1}}\rangle$}}
 | |
| 201 | ||
| 202 | \newcommand{\isakeeptag}[1]%
 | |
| 203 | {\includecomment{isadelim#1}\includecomment{isatag#1}\csarg\def{isafold#1}{}}
 | |
| 204 | \newcommand{\isadroptag}[1]%
 | |
| 205 | {\excludecomment{isadelim#1}\excludecomment{isatag#1}\csarg\def{isafold#1}{}}
 | |
| 206 | \newcommand{\isafoldtag}[1]%
 | |
| 207 | {\includecomment{isadelim#1}\excludecomment{isatag#1}\csarg\def{isafold#1}{\isafold{#1}}}
 | |
| 208 | ||
| 209 | \isakeeptag{theory}
 | |
| 210 | \isakeeptag{proof}
 | |
| 211 | \isakeeptag{ML}
 | |
| 212 | \isakeeptag{visible}
 | |
| 213 | \isadroptag{invisible}
 | |
| 214 | ||
| 215 | \IfFileExists{isabelletags.sty}{\usepackage{isabelletags}}{}
 |