lib/texinputs/isabelle.sty
author wenzelm
Wed, 31 Mar 2021 11:24:46 +0200
changeset 73772 d3f2038198ae
parent 73728 2cc9bd9a7357
child 74010 cd7eb3cdab4c
permissions -rw-r--r--
clarified (again): local tip could be actually more recent;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7709
545637744a85 macros for Isabelle generated LaTeX output;
wenzelm
parents:
diff changeset
     1
%%
545637744a85 macros for Isabelle generated LaTeX output;
wenzelm
parents:
diff changeset
     2
%% macros for Isabelle generated LaTeX output
545637744a85 macros for Isabelle generated LaTeX output;
wenzelm
parents:
diff changeset
     3
%%
545637744a85 macros for Isabelle generated LaTeX output;
wenzelm
parents:
diff changeset
     4
9913
b9ecbe4667d0 added \isabellecontext;
wenzelm
parents: 9818
diff changeset
     5
%%% Simple document preparation (based on theory token language and symbols)
7709
545637744a85 macros for Isabelle generated LaTeX output;
wenzelm
parents:
diff changeset
     6
8714
61cafd91963c \newenvironment{isabellequote};
wenzelm
parents: 8713
diff changeset
     7
% isabelle environments
7788
825b8b1ad136 removed verbatim markups;
wenzelm
parents: 7771
diff changeset
     8
9913
b9ecbe4667d0 added \isabellecontext;
wenzelm
parents: 9818
diff changeset
     9
\newcommand{\isabellecontext}{UNKNOWN}
58870
e2c0d8ef29cb more flexibile \setisabellecontext, independently of header;
wenzelm
parents: 58868
diff changeset
    10
\newcommand{\setisabellecontext}[1]{\def\isabellecontext{#1}}
9913
b9ecbe4667d0 added \isabellecontext;
wenzelm
parents: 9818
diff changeset
    11
18860
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
    12
\newcommand{\isastyle}{\UNDEF}
58716
23a380cc45f4 official support for "tt" style variants, avoid fragile \verb in LaTeX;
wenzelm
parents: 55365
diff changeset
    13
\newcommand{\isastylett}{\UNDEF}
18860
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
    14
\newcommand{\isastyleminor}{\UNDEF}
58716
23a380cc45f4 official support for "tt" style variants, avoid fragile \verb in LaTeX;
wenzelm
parents: 55365
diff changeset
    15
\newcommand{\isastyleminortt}{\UNDEF}
18860
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
    16
\newcommand{\isastylescript}{\UNDEF}
67527
a93a9e89da72 expand definitions of \DeclareOldFontCommand in traditional article.cls, e.g. KOMA-Script no longer provides these;
wenzelm
parents: 67416
diff changeset
    17
\newcommand{\isastyletext}{\normalsize\normalfont\rmfamily}
a93a9e89da72 expand definitions of \DeclareOldFontCommand in traditional article.cls, e.g. KOMA-Script no longer provides these;
wenzelm
parents: 67416
diff changeset
    18
\newcommand{\isastyletxt}{\normalfont\rmfamily}
a93a9e89da72 expand definitions of \DeclareOldFontCommand in traditional article.cls, e.g. KOMA-Script no longer provides these;
wenzelm
parents: 67416
diff changeset
    19
\newcommand{\isastylecmt}{\normalfont\rmfamily}
8713
05688a1a4f41 global \isa@parindent, \isa@parskip;
wenzelm
parents: 8662
diff changeset
    20
43327
c835416237b3 even more robust \isaspacing;
wenzelm
parents: 43325
diff changeset
    21
\newcommand{\isaspacing}{%
c835416237b3 even more robust \isaspacing;
wenzelm
parents: 43325
diff changeset
    22
  \sfcode 42 1000 % .
c835416237b3 even more robust \isaspacing;
wenzelm
parents: 43325
diff changeset
    23
  \sfcode 63 1000 % ?
c835416237b3 even more robust \isaspacing;
wenzelm
parents: 43325
diff changeset
    24
  \sfcode 33 1000 % !
c835416237b3 even more robust \isaspacing;
wenzelm
parents: 43325
diff changeset
    25
  \sfcode 58 1000 % :
c835416237b3 even more robust \isaspacing;
wenzelm
parents: 43325
diff changeset
    26
  \sfcode 59 1000 % ;
c835416237b3 even more robust \isaspacing;
wenzelm
parents: 43325
diff changeset
    27
  \sfcode 44 1000 % ,
c835416237b3 even more robust \isaspacing;
wenzelm
parents: 43325
diff changeset
    28
}
43325
4384f4ae0574 some attempts at robust \isaspacing so that \isa{...} can be used in section headings etc. (need to avoid `\? for some reason);
wenzelm
parents: 43321
diff changeset
    29
10220
2a726de6e124 proper symbol markup with \isamath, \isatext;
wenzelm
parents: 10188
diff changeset
    30
%symbol markup -- \emph achieves decent spacing via italic corrections
2a726de6e124 proper symbol markup with \isamath, \isatext;
wenzelm
parents: 10188
diff changeset
    31
\newcommand{\isamath}[1]{\emph{$#1$}}
2a726de6e124 proper symbol markup with \isamath, \isatext;
wenzelm
parents: 10188
diff changeset
    32
\newcommand{\isatext}[1]{\emph{#1}}
43325
4384f4ae0574 some attempts at robust \isaspacing so that \isa{...} can be used in section headings etc. (need to avoid `\? for some reason);
wenzelm
parents: 43321
diff changeset
    33
\DeclareRobustCommand{\isascriptstyle}{\def\isamath##1{##1}\def\isatext##1{\mbox{\isaspacing\isastylescript##1}}}
17180
5fefe658a6f8 recover original definitions of \isactrlsub etc.;
wenzelm
parents: 17173
diff changeset
    34
\newcommand{\isactrlsub}[1]{\emph{\isascriptstyle${}\sb{#1}$}}
5fefe658a6f8 recover original definitions of \isactrlsub etc.;
wenzelm
parents: 17173
diff changeset
    35
\newcommand{\isactrlsup}[1]{\emph{\isascriptstyle${}\sp{#1}$}}
43325
4384f4ae0574 some attempts at robust \isaspacing so that \isa{...} can be used in section headings etc. (need to avoid `\? for some reason);
wenzelm
parents: 43321
diff changeset
    36
\DeclareRobustCommand{\isactrlbsub}{\emph\bgroup\math{}\sb\bgroup\mbox\bgroup\isaspacing\isastylescript}
25081
aabaab4ad212 DeclareRobustCommand \isactrlbsub/esub etc.;
wenzelm
parents: 25055
diff changeset
    37
\DeclareRobustCommand{\isactrlesub}{\egroup\egroup\endmath\egroup}
43325
4384f4ae0574 some attempts at robust \isaspacing so that \isa{...} can be used in section headings etc. (need to avoid `\? for some reason);
wenzelm
parents: 43321
diff changeset
    38
\DeclareRobustCommand{\isactrlbsup}{\emph\bgroup\math{}\sp\bgroup\mbox\bgroup\isaspacing\isastylescript}
25081
aabaab4ad212 DeclareRobustCommand \isactrlbsub/esub etc.;
wenzelm
parents: 25055
diff changeset
    39
\DeclareRobustCommand{\isactrlesup}{\egroup\egroup\endmath\egroup}
11573
4f85af77038f bold symbols;
wenzelm
parents: 10949
diff changeset
    40
\newcommand{\isactrlbold}[1]{{\bfseries\upshape\boldmath#1}}
27337
ed3719ffdf00 added isaantiqopen/close;
wenzelm
parents: 25081
diff changeset
    41
73720
1e5c1f8a35cd clarified package name (actually both pxfonts and txfonts exist and have this font);
wenzelm
parents: 73714
diff changeset
    42
%blackboard-bold (requires font txmia from pxfonts)
73714
1f1f4462a6ae high-quality blackboard-bold fonts from "txmia" (package "txfonts");
wenzelm
parents: 73656
diff changeset
    43
\DeclareSymbolFont{bbbfont}{U}{txmia}{m}{it}
1f1f4462a6ae high-quality blackboard-bold fonts from "txmia" (package "txfonts");
wenzelm
parents: 73656
diff changeset
    44
\SetSymbolFont{bbbfont}{bold}{U}{txmia}{bx}{it}
1f1f4462a6ae high-quality blackboard-bold fonts from "txmia" (package "txfonts");
wenzelm
parents: 73656
diff changeset
    45
\DeclareMathSymbol{\bbbA}{\mathord}{bbbfont}{129}
1f1f4462a6ae high-quality blackboard-bold fonts from "txmia" (package "txfonts");
wenzelm
parents: 73656
diff changeset
    46
\DeclareMathSymbol{\bbbB}{\mathord}{bbbfont}{130}
1f1f4462a6ae high-quality blackboard-bold fonts from "txmia" (package "txfonts");
wenzelm
parents: 73656
diff changeset
    47
\DeclareMathSymbol{\bbbC}{\mathord}{bbbfont}{131}
1f1f4462a6ae high-quality blackboard-bold fonts from "txmia" (package "txfonts");
wenzelm
parents: 73656
diff changeset
    48
\DeclareMathSymbol{\bbbD}{\mathord}{bbbfont}{132}
1f1f4462a6ae high-quality blackboard-bold fonts from "txmia" (package "txfonts");
wenzelm
parents: 73656
diff changeset
    49
\DeclareMathSymbol{\bbbE}{\mathord}{bbbfont}{133}
1f1f4462a6ae high-quality blackboard-bold fonts from "txmia" (package "txfonts");
wenzelm
parents: 73656
diff changeset
    50
\DeclareMathSymbol{\bbbF}{\mathord}{bbbfont}{134}
1f1f4462a6ae high-quality blackboard-bold fonts from "txmia" (package "txfonts");
wenzelm
parents: 73656
diff changeset
    51
\DeclareMathSymbol{\bbbG}{\mathord}{bbbfont}{135}
1f1f4462a6ae high-quality blackboard-bold fonts from "txmia" (package "txfonts");
wenzelm
parents: 73656
diff changeset
    52
\DeclareMathSymbol{\bbbH}{\mathord}{bbbfont}{136}
1f1f4462a6ae high-quality blackboard-bold fonts from "txmia" (package "txfonts");
wenzelm
parents: 73656
diff changeset
    53
\DeclareMathSymbol{\bbbI}{\mathord}{bbbfont}{137}
1f1f4462a6ae high-quality blackboard-bold fonts from "txmia" (package "txfonts");
wenzelm
parents: 73656
diff changeset
    54
\DeclareMathSymbol{\bbbJ}{\mathord}{bbbfont}{138}
1f1f4462a6ae high-quality blackboard-bold fonts from "txmia" (package "txfonts");
wenzelm
parents: 73656
diff changeset
    55
\DeclareMathSymbol{\bbbK}{\mathord}{bbbfont}{139}
1f1f4462a6ae high-quality blackboard-bold fonts from "txmia" (package "txfonts");
wenzelm
parents: 73656
diff changeset
    56
\DeclareMathSymbol{\bbbL}{\mathord}{bbbfont}{140}
1f1f4462a6ae high-quality blackboard-bold fonts from "txmia" (package "txfonts");
wenzelm
parents: 73656
diff changeset
    57
\DeclareMathSymbol{\bbbM}{\mathord}{bbbfont}{141}
1f1f4462a6ae high-quality blackboard-bold fonts from "txmia" (package "txfonts");
wenzelm
parents: 73656
diff changeset
    58
\DeclareMathSymbol{\bbbN}{\mathord}{bbbfont}{142}
1f1f4462a6ae high-quality blackboard-bold fonts from "txmia" (package "txfonts");
wenzelm
parents: 73656
diff changeset
    59
\DeclareMathSymbol{\bbbO}{\mathord}{bbbfont}{143}
1f1f4462a6ae high-quality blackboard-bold fonts from "txmia" (package "txfonts");
wenzelm
parents: 73656
diff changeset
    60
\DeclareMathSymbol{\bbbP}{\mathord}{bbbfont}{144}
1f1f4462a6ae high-quality blackboard-bold fonts from "txmia" (package "txfonts");
wenzelm
parents: 73656
diff changeset
    61
\DeclareMathSymbol{\bbbQ}{\mathord}{bbbfont}{145}
1f1f4462a6ae high-quality blackboard-bold fonts from "txmia" (package "txfonts");
wenzelm
parents: 73656
diff changeset
    62
\DeclareMathSymbol{\bbbR}{\mathord}{bbbfont}{146}
1f1f4462a6ae high-quality blackboard-bold fonts from "txmia" (package "txfonts");
wenzelm
parents: 73656
diff changeset
    63
\DeclareMathSymbol{\bbbS}{\mathord}{bbbfont}{147}
1f1f4462a6ae high-quality blackboard-bold fonts from "txmia" (package "txfonts");
wenzelm
parents: 73656
diff changeset
    64
\DeclareMathSymbol{\bbbT}{\mathord}{bbbfont}{148}
1f1f4462a6ae high-quality blackboard-bold fonts from "txmia" (package "txfonts");
wenzelm
parents: 73656
diff changeset
    65
\DeclareMathSymbol{\bbbU}{\mathord}{bbbfont}{149}
1f1f4462a6ae high-quality blackboard-bold fonts from "txmia" (package "txfonts");
wenzelm
parents: 73656
diff changeset
    66
\DeclareMathSymbol{\bbbV}{\mathord}{bbbfont}{150}
1f1f4462a6ae high-quality blackboard-bold fonts from "txmia" (package "txfonts");
wenzelm
parents: 73656
diff changeset
    67
\DeclareMathSymbol{\bbbW}{\mathord}{bbbfont}{151}
1f1f4462a6ae high-quality blackboard-bold fonts from "txmia" (package "txfonts");
wenzelm
parents: 73656
diff changeset
    68
\DeclareMathSymbol{\bbbX}{\mathord}{bbbfont}{152}
1f1f4462a6ae high-quality blackboard-bold fonts from "txmia" (package "txfonts");
wenzelm
parents: 73656
diff changeset
    69
\DeclareMathSymbol{\bbbY}{\mathord}{bbbfont}{153}
1f1f4462a6ae high-quality blackboard-bold fonts from "txmia" (package "txfonts");
wenzelm
parents: 73656
diff changeset
    70
\DeclareMathSymbol{\bbbZ}{\mathord}{bbbfont}{154}
1f1f4462a6ae high-quality blackboard-bold fonts from "txmia" (package "txfonts");
wenzelm
parents: 73656
diff changeset
    71
22647
d920afb63323 newenvironment{isaantiq};
wenzelm
parents: 21185
diff changeset
    72
\newenvironment{isaantiq}{{\isacharat\isacharbraceleft}}{{\isacharbraceright}}
14332
fd3535af90ab spanning super and sub scripts \<^bsub> .. \<^esub> and \<^bsup> .. \<^esup>
kleing
parents: 14234
diff changeset
    73
8713
05688a1a4f41 global \isa@parindent, \isa@parskip;
wenzelm
parents: 8662
diff changeset
    74
\newdimen\isa@parindent\newdimen\isa@parskip
9657
0a187a43ef21 added \isachar definitions;
wenzelm
parents: 8822
diff changeset
    75
9702
f23bee3c0682 \newenvironment{isabellebody}: version without trivlist;
wenzelm
parents: 9688
diff changeset
    76
\newenvironment{isabellebody}{%
11863
87643169ae7d \newif\ifisamarkup controls spacing of isabeginpar;
wenzelm
parents: 11573
diff changeset
    77
\isamarkuptrue\par%
9702
f23bee3c0682 \newenvironment{isabellebody}: version without trivlist;
wenzelm
parents: 9688
diff changeset
    78
\isa@parindent\parindent\parindent0pt%
8713
05688a1a4f41 global \isa@parindent, \isa@parskip;
wenzelm
parents: 8662
diff changeset
    79
\isa@parskip\parskip\parskip0pt%
43325
4384f4ae0574 some attempts at robust \isaspacing so that \isa{...} can be used in section headings etc. (need to avoid `\? for some reason);
wenzelm
parents: 43321
diff changeset
    80
\isaspacing\isastyle}{\par}
9702
f23bee3c0682 \newenvironment{isabellebody}: version without trivlist;
wenzelm
parents: 9688
diff changeset
    81
58716
23a380cc45f4 official support for "tt" style variants, avoid fragile \verb in LaTeX;
wenzelm
parents: 55365
diff changeset
    82
\newenvironment{isabellebodytt}{%
23a380cc45f4 official support for "tt" style variants, avoid fragile \verb in LaTeX;
wenzelm
parents: 55365
diff changeset
    83
\isamarkuptrue\par%
23a380cc45f4 official support for "tt" style variants, avoid fragile \verb in LaTeX;
wenzelm
parents: 55365
diff changeset
    84
\isa@parindent\parindent\parindent0pt%
23a380cc45f4 official support for "tt" style variants, avoid fragile \verb in LaTeX;
wenzelm
parents: 55365
diff changeset
    85
\isa@parskip\parskip\parskip0pt%
23a380cc45f4 official support for "tt" style variants, avoid fragile \verb in LaTeX;
wenzelm
parents: 55365
diff changeset
    86
\isaspacing\isastylett}{\par}
23a380cc45f4 official support for "tt" style variants, avoid fragile \verb in LaTeX;
wenzelm
parents: 55365
diff changeset
    87
9702
f23bee3c0682 \newenvironment{isabellebody}: version without trivlist;
wenzelm
parents: 9688
diff changeset
    88
\newenvironment{isabelle}
10422
b5a577a800bc tuned isabelle environment;
wenzelm
parents: 10260
diff changeset
    89
{\begin{trivlist}\begin{isabellebody}\item\relax}
b5a577a800bc tuned isabelle environment;
wenzelm
parents: 10260
diff changeset
    90
{\end{isabellebody}\end{trivlist}}
8713
05688a1a4f41 global \isa@parindent, \isa@parskip;
wenzelm
parents: 8662
diff changeset
    91
58716
23a380cc45f4 official support for "tt" style variants, avoid fragile \verb in LaTeX;
wenzelm
parents: 55365
diff changeset
    92
\newenvironment{isabellett}
23a380cc45f4 official support for "tt" style variants, avoid fragile \verb in LaTeX;
wenzelm
parents: 55365
diff changeset
    93
{\begin{trivlist}\begin{isabellebodytt}\item\relax}
23a380cc45f4 official support for "tt" style variants, avoid fragile \verb in LaTeX;
wenzelm
parents: 55365
diff changeset
    94
{\end{isabellebodytt}\end{trivlist}}
23a380cc45f4 official support for "tt" style variants, avoid fragile \verb in LaTeX;
wenzelm
parents: 55365
diff changeset
    95
43325
4384f4ae0574 some attempts at robust \isaspacing so that \isa{...} can be used in section headings etc. (need to avoid `\? for some reason);
wenzelm
parents: 43321
diff changeset
    96
\newcommand{\isa}[1]{\emph{\isaspacing\isastyleminor #1}}
58716
23a380cc45f4 official support for "tt" style variants, avoid fragile \verb in LaTeX;
wenzelm
parents: 55365
diff changeset
    97
\newcommand{\isatt}[1]{\emph{\isaspacing\isastyleminortt #1}}
8714
61cafd91963c \newenvironment{isabellequote};
wenzelm
parents: 8713
diff changeset
    98
10949
98cdeb6beb3b \isaindent;
wenzelm
parents: 10822
diff changeset
    99
\newcommand{\isaindent}[1]{\hphantom{#1}}
13933
b224c2fd4288 in \isanewline: \\ -> \par
kleing
parents: 11863
diff changeset
   100
\newcommand{\isanewline}{\mbox{}\par\mbox{}}
17158
d68bf267cbba added \isachardoublequoteopen/close, \isacharbackquoteopen/close;
wenzelm
parents: 17052
diff changeset
   101
\newcommand{\isasep}{}
9669
542fb6c6c9b2 added \isastyleminor;
wenzelm
parents: 9657
diff changeset
   102
\newcommand{\isadigit}[1]{#1}
7752
7ee322caf59c accomodate markup commands;
wenzelm
parents: 7709
diff changeset
   103
18860
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   104
\newcommand{\isachardefaults}{%
64525
9c3da2276e19 avoid extra space intruding rail diagrams (amending 4854f7ee0987);
wenzelm
parents: 63590
diff changeset
   105
\def\isacharbell{\isamath{\bigbox}}%requires stmaryrd
18860
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   106
\chardef\isacharbang=`\!%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   107
\chardef\isachardoublequote=`\"%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   108
\chardef\isachardoublequoteopen=`\"%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   109
\chardef\isachardoublequoteclose=`\"%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   110
\chardef\isacharhash=`\#%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   111
\chardef\isachardollar=`\$%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   112
\chardef\isacharpercent=`\%%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   113
\chardef\isacharampersand=`\&%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   114
\chardef\isacharprime=`\'%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   115
\chardef\isacharparenleft=`\(%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   116
\chardef\isacharparenright=`\)%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   117
\chardef\isacharasterisk=`\*%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   118
\chardef\isacharplus=`\+%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   119
\chardef\isacharcomma=`\,%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   120
\chardef\isacharminus=`\-%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   121
\chardef\isachardot=`\.%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   122
\chardef\isacharslash=`\/%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   123
\chardef\isacharcolon=`\:%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   124
\chardef\isacharsemicolon=`\;%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   125
\chardef\isacharless=`\<%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   126
\chardef\isacharequal=`\=%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   127
\chardef\isachargreater=`\>%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   128
\chardef\isacharquery=`\?%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   129
\chardef\isacharat=`\@%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   130
\chardef\isacharbrackleft=`\[%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   131
\chardef\isacharbackslash=`\\%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   132
\chardef\isacharbrackright=`\]%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   133
\chardef\isacharcircum=`\^%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   134
\chardef\isacharunderscore=`\_%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   135
\def\isacharunderscorekeyword{\_}%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   136
\chardef\isacharbackquote=`\`%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   137
\chardef\isacharbackquoteopen=`\`%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   138
\chardef\isacharbackquoteclose=`\`%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   139
\chardef\isacharbraceleft=`\{%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   140
\chardef\isacharbar=`\|%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   141
\chardef\isacharbraceright=`\}%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   142
\chardef\isachartilde=`\~%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   143
\def\isacharverbatimopen{\isacharbraceleft\isacharasterisk}%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   144
\def\isacharverbatimclose{\isacharasterisk\isacharbraceright}%
73656
299f6a8faccc proper type-setting of cartouches (requires T1);
wenzelm
parents: 70556
diff changeset
   145
\def\isacartoucheopen{\isatext{\guilsinglleft}}%
299f6a8faccc proper type-setting of cartouches (requires T1);
wenzelm
parents: 70556
diff changeset
   146
\def\isacartoucheclose{\isatext{\guilsinglright}}%
18860
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   147
}
7788
825b8b1ad136 removed verbatim markups;
wenzelm
parents: 7771
diff changeset
   148
7797
38a46d9ea08a improved special chars;
wenzelm
parents: 7788
diff changeset
   149
38a46d9ea08a improved special chars;
wenzelm
parents: 7788
diff changeset
   150
% keyword and section markup
7788
825b8b1ad136 removed verbatim markups;
wenzelm
parents: 7771
diff changeset
   151
9669
542fb6c6c9b2 added \isastyleminor;
wenzelm
parents: 9657
diff changeset
   152
\newcommand{\isakeyword}[1]
67527
a93a9e89da72 expand definitions of \DeclareOldFontCommand in traditional article.cls, e.g. KOMA-Script no longer provides these;
wenzelm
parents: 67416
diff changeset
   153
{\emph{\normalfont\bfseries\def\isachardot{.}\def\isacharunderscore{\isacharunderscorekeyword}%
9669
542fb6c6c9b2 added \isastyleminor;
wenzelm
parents: 9657
diff changeset
   154
\def\isacharbraceleft{\{}\def\isacharbraceright{\}}#1}}
542fb6c6c9b2 added \isastyleminor;
wenzelm
parents: 9657
diff changeset
   155
\newcommand{\isacommand}[1]{\isakeyword{#1}}
7758
d36c19045493 tuned markup commands;
wenzelm
parents: 7752
diff changeset
   156
67146
909dcdec2122 more embedded cartouche arguments;
wenzelm
parents: 67139
diff changeset
   157
\newcommand{\isakeywordcontrol}[1]
67527
a93a9e89da72 expand definitions of \DeclareOldFontCommand in traditional article.cls, e.g. KOMA-Script no longer provides these;
wenzelm
parents: 67416
diff changeset
   158
{\emph{\normalfont\bfseries\itshape\def\isacharunderscore{\isacharunderscorekeyword}#1\,}}
67146
909dcdec2122 more embedded cartouche arguments;
wenzelm
parents: 67139
diff changeset
   159
7752
7ee322caf59c accomodate markup commands;
wenzelm
parents: 7709
diff changeset
   160
\newcommand{\isamarkupchapter}[1]{\chapter{#1}}
7ee322caf59c accomodate markup commands;
wenzelm
parents: 7709
diff changeset
   161
\newcommand{\isamarkupsection}[1]{\section{#1}}
7ee322caf59c accomodate markup commands;
wenzelm
parents: 7709
diff changeset
   162
\newcommand{\isamarkupsubsection}[1]{\subsection{#1}}
7ee322caf59c accomodate markup commands;
wenzelm
parents: 7709
diff changeset
   163
\newcommand{\isamarkupsubsubsection}[1]{\subsubsection{#1}}
61463
8e46cea6a45a added 'paragraph', 'subparagraph';
wenzelm
parents: 61461
diff changeset
   164
\newcommand{\isamarkupparagraph}[1]{\paragraph{#1}}
8e46cea6a45a added 'paragraph', 'subparagraph';
wenzelm
parents: 61461
diff changeset
   165
\newcommand{\isamarkupsubparagraph}[1]{\subparagraph{#1}}
8662
f9679ddbc492 isapar, isamarkuptext, isamarkuptxt turned into environments;
wenzelm
parents: 8512
diff changeset
   166
11863
87643169ae7d \newif\ifisamarkup controls spacing of isabeginpar;
wenzelm
parents: 11573
diff changeset
   167
\newif\ifisamarkup
87643169ae7d \newif\ifisamarkup controls spacing of isabeginpar;
wenzelm
parents: 11573
diff changeset
   168
\newcommand{\isabeginpar}{\par\ifisamarkup\relax\else\medskip\fi}
10586
b3f386ec0fd2 added \isabeginpar, \isaendpar;
wenzelm
parents: 10470
diff changeset
   169
\newcommand{\isaendpar}{\par\medskip}
b3f386ec0fd2 added \isabeginpar, \isaendpar;
wenzelm
parents: 10470
diff changeset
   170
\newenvironment{isapar}{\parindent\isa@parindent\parskip\isa@parskip\isabeginpar}{\isaendpar}
17215
8b969275a5d2 isamarkuptext/txt: \par before changing sizes prevents spacing anomaly;
wenzelm
parents: 17180
diff changeset
   171
\newenvironment{isamarkuptext}{\par\isastyletext\begin{isapar}}{\end{isapar}}
8b969275a5d2 isamarkuptext/txt: \par before changing sizes prevents spacing anomaly;
wenzelm
parents: 17180
diff changeset
   172
\newenvironment{isamarkuptxt}{\par\isastyletxt\begin{isapar}}{\end{isapar}}
9657
0a187a43ef21 added \isachar definitions;
wenzelm
parents: 8822
diff changeset
   173
\newcommand{\isamarkupcmt}[1]{{\isastylecmt--- #1}}
0a187a43ef21 added \isachar definitions;
wenzelm
parents: 8822
diff changeset
   174
0a187a43ef21 added \isachar definitions;
wenzelm
parents: 8822
diff changeset
   175
18860
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   176
% styles
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   177
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   178
\def\isabellestyle#1{\csname isabellestyle#1\endcsname}
9657
0a187a43ef21 added \isachar definitions;
wenzelm
parents: 8822
diff changeset
   179
18860
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   180
\newcommand{\isabellestyledefault}{%
67527
a93a9e89da72 expand definitions of \DeclareOldFontCommand in traditional article.cls, e.g. KOMA-Script no longer provides these;
wenzelm
parents: 67416
diff changeset
   181
\def\isastyle{\small\normalfont\ttfamily\slshape}%
a93a9e89da72 expand definitions of \DeclareOldFontCommand in traditional article.cls, e.g. KOMA-Script no longer provides these;
wenzelm
parents: 67416
diff changeset
   182
\def\isastylett{\small\normalfont\ttfamily}%
a93a9e89da72 expand definitions of \DeclareOldFontCommand in traditional article.cls, e.g. KOMA-Script no longer provides these;
wenzelm
parents: 67416
diff changeset
   183
\def\isastyleminor{\small\normalfont\ttfamily\slshape}%
a93a9e89da72 expand definitions of \DeclareOldFontCommand in traditional article.cls, e.g. KOMA-Script no longer provides these;
wenzelm
parents: 67416
diff changeset
   184
\def\isastyleminortt{\small\normalfont\ttfamily}%
a93a9e89da72 expand definitions of \DeclareOldFontCommand in traditional article.cls, e.g. KOMA-Script no longer provides these;
wenzelm
parents: 67416
diff changeset
   185
\def\isastylescript{\footnotesize\normalfont\ttfamily\slshape}%
18860
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   186
\isachardefaults%
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   187
}
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   188
\isabellestyledefault
9657
0a187a43ef21 added \isachar definitions;
wenzelm
parents: 8822
diff changeset
   189
10024
f79ce04d0b94 added plain "tt" style;
wenzelm
parents: 9975
diff changeset
   190
\newcommand{\isabellestylett}{%
67527
a93a9e89da72 expand definitions of \DeclareOldFontCommand in traditional article.cls, e.g. KOMA-Script no longer provides these;
wenzelm
parents: 67416
diff changeset
   191
\def\isastyle{\small\normalfont\ttfamily}%
a93a9e89da72 expand definitions of \DeclareOldFontCommand in traditional article.cls, e.g. KOMA-Script no longer provides these;
wenzelm
parents: 67416
diff changeset
   192
\def\isastylett{\small\normalfont\ttfamily}%
a93a9e89da72 expand definitions of \DeclareOldFontCommand in traditional article.cls, e.g. KOMA-Script no longer provides these;
wenzelm
parents: 67416
diff changeset
   193
\def\isastyleminor{\small\normalfont\ttfamily}%
a93a9e89da72 expand definitions of \DeclareOldFontCommand in traditional article.cls, e.g. KOMA-Script no longer provides these;
wenzelm
parents: 67416
diff changeset
   194
\def\isastyleminortt{\small\normalfont\ttfamily}%
a93a9e89da72 expand definitions of \DeclareOldFontCommand in traditional article.cls, e.g. KOMA-Script no longer provides these;
wenzelm
parents: 67416
diff changeset
   195
\def\isastylescript{\footnotesize\normalfont\ttfamily}%
18860
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   196
\isachardefaults%
10024
f79ce04d0b94 added plain "tt" style;
wenzelm
parents: 9975
diff changeset
   197
}
18860
9089cdb4c5fd all styles now reset to defaults first, i.e. the document may switch styles back and forth;
wenzelm
parents: 17531
diff changeset
   198
9669
542fb6c6c9b2 added \isastyleminor;
wenzelm
parents: 9657
diff changeset
   199
\newcommand{\isabellestyleit}{%
67527
a93a9e89da72 expand definitions of \DeclareOldFontCommand in traditional article.cls, e.g. KOMA-Script no longer provides these;
wenzelm
parents: 67416
diff changeset
   200
\def\isastyle{\small\normalfont\itshape}%
a93a9e89da72 expand definitions of \DeclareOldFontCommand in traditional article.cls, e.g. KOMA-Script no longer provides these;
wenzelm
parents: 67416
diff changeset
   201
\def\isastylett{\small\normalfont\ttfamily}%
a93a9e89da72 expand definitions of \DeclareOldFontCommand in traditional article.cls, e.g. KOMA-Script no longer provides these;
wenzelm
parents: 67416
diff changeset
   202
\def\isastyleminor{\normalfont\itshape}%
a93a9e89da72 expand definitions of \DeclareOldFontCommand in traditional article.cls, e.g. KOMA-Script no longer provides these;
wenzelm
parents: 67416
diff changeset
   203
\def\isastyleminortt{\normalfont\ttfamily}%
a93a9e89da72 expand definitions of \DeclareOldFontCommand in traditional article.cls, e.g. KOMA-Script no longer provides these;
wenzelm
parents: 67416
diff changeset
   204
\def\isastylescript{\footnotesize\normalfont\itshape}%
42514
f32500b4bc23 localized \isabellestyle;
wenzelm
parents: 40407
diff changeset
   205
\isachardefaults%
f32500b4bc23 localized \isabellestyle;
wenzelm
parents: 40407
diff changeset
   206
\def\isacharunderscorekeyword{\mbox{-}}%
f32500b4bc23 localized \isabellestyle;
wenzelm
parents: 40407
diff changeset
   207
\def\isacharbang{\isamath{!}}%
49320
94bd2fb83d11 discontinued experiment with literal replacement text in PDF (cf. b646316f8b3c, 2ff10e613689);
wenzelm
parents: 45646
diff changeset
   208
\def\isachardoublequote{}%
94bd2fb83d11 discontinued experiment with literal replacement text in PDF (cf. b646316f8b3c, 2ff10e613689);
wenzelm
parents: 45646
diff changeset
   209
\def\isachardoublequoteopen{}%
94bd2fb83d11 discontinued experiment with literal replacement text in PDF (cf. b646316f8b3c, 2ff10e613689);
wenzelm
parents: 45646
diff changeset
   210
\def\isachardoublequoteclose{}%
42514
f32500b4bc23 localized \isabellestyle;
wenzelm
parents: 40407
diff changeset
   211
\def\isacharhash{\isamath{\#}}%
f32500b4bc23 localized \isabellestyle;
wenzelm
parents: 40407
diff changeset
   212
\def\isachardollar{\isamath{\$}}%
f32500b4bc23 localized \isabellestyle;
wenzelm
parents: 40407
diff changeset
   213
\def\isacharpercent{\isamath{\%}}%
f32500b4bc23 localized \isabellestyle;
wenzelm
parents: 40407
diff changeset
   214
\def\isacharampersand{\isamath{\&}}%
f32500b4bc23 localized \isabellestyle;
wenzelm
parents: 40407
diff changeset
   215
\def\isacharprime{\isamath{\mskip2mu{'}\mskip-2mu}}%
f32500b4bc23 localized \isabellestyle;
wenzelm
parents: 40407
diff changeset
   216
\def\isacharparenleft{\isamath{(}}%
f32500b4bc23 localized \isabellestyle;
wenzelm
parents: 40407
diff changeset
   217
\def\isacharparenright{\isamath{)}}%
f32500b4bc23 localized \isabellestyle;
wenzelm
parents: 40407
diff changeset
   218
\def\isacharasterisk{\isamath{*}}%
f32500b4bc23 localized \isabellestyle;
wenzelm
parents: 40407
diff changeset
   219
\def\isacharplus{\isamath{+}}%
f32500b4bc23 localized \isabellestyle;
wenzelm
parents: 40407
diff changeset
   220
\def\isacharcomma{\isamath{\mathord,}}%
f32500b4bc23 localized \isabellestyle;
wenzelm
parents: 40407
diff changeset
   221
\def\isacharminus{\isamath{-}}%
f32500b4bc23 localized \isabellestyle;
wenzelm
parents: 40407
diff changeset
   222
\def\isachardot{\isamath{\mathord.}}%
f32500b4bc23 localized \isabellestyle;
wenzelm
parents: 40407
diff changeset
   223
\def\isacharslash{\isamath{/}}%
f32500b4bc23 localized \isabellestyle;
wenzelm
parents: 40407
diff changeset
   224
\def\isacharcolon{\isamath{\mathord:}}%
f32500b4bc23 localized \isabellestyle;
wenzelm
parents: 40407
diff changeset
   225
\def\isacharsemicolon{\isamath{\mathord;}}%
f32500b4bc23 localized \isabellestyle;
wenzelm
parents: 40407
diff changeset
   226
\def\isacharless{\isamath{<}}%
f32500b4bc23 localized \isabellestyle;
wenzelm
parents: 40407
diff changeset
   227
\def\isacharequal{\isamath{=}}%
f32500b4bc23 localized \isabellestyle;
wenzelm
parents: 40407
diff changeset
   228
\def\isachargreater{\isamath{>}}%
f32500b4bc23 localized \isabellestyle;
wenzelm
parents: 40407
diff changeset
   229
\def\isacharat{\isamath{@}}%
f32500b4bc23 localized \isabellestyle;
wenzelm
parents: 40407
diff changeset
   230
\def\isacharbrackleft{\isamath{[}}%
f32500b4bc23 localized \isabellestyle;
wenzelm
parents: 40407
diff changeset
   231
\def\isacharbackslash{\isamath{\backslash}}%
f32500b4bc23 localized \isabellestyle;
wenzelm
parents: 40407
diff changeset
   232
\def\isacharbrackright{\isamath{]}}%
f32500b4bc23 localized \isabellestyle;
wenzelm
parents: 40407
diff changeset
   233
\def\isacharunderscore{\mbox{-}}%
f32500b4bc23 localized \isabellestyle;
wenzelm
parents: 40407
diff changeset
   234
\def\isacharbraceleft{\isamath{\{}}%
f32500b4bc23 localized \isabellestyle;
wenzelm
parents: 40407
diff changeset
   235
\def\isacharbar{\isamath{\mid}}%
f32500b4bc23 localized \isabellestyle;
wenzelm
parents: 40407
diff changeset
   236
\def\isacharbraceright{\isamath{\}}}%
f32500b4bc23 localized \isabellestyle;
wenzelm
parents: 40407
diff changeset
   237
\def\isachartilde{\isamath{{}\sp{\sim}}}%
73656
299f6a8faccc proper type-setting of cartouches (requires T1);
wenzelm
parents: 70556
diff changeset
   238
\def\isacharbackquoteopen{\isatext{\guilsinglleft}}%
299f6a8faccc proper type-setting of cartouches (requires T1);
wenzelm
parents: 70556
diff changeset
   239
\def\isacharbackquoteclose{\isatext{\guilsinglright}}%
9657
0a187a43ef21 added \isachar definitions;
wenzelm
parents: 8822
diff changeset
   240
}
0a187a43ef21 added \isachar definitions;
wenzelm
parents: 8822
diff changeset
   241
45646
02afa20cf397 refined "literal" document style, with some correspondence to actual text source;
wenzelm
parents: 43458
diff changeset
   242
\newcommand{\isabellestyleliteral}{%
42663
c31df4184ead provide \isabellestyle{itunderscore} (requires underscore.sty);
wenzelm
parents: 42514
diff changeset
   243
\isabellestyleit%
c31df4184ead provide \isabellestyle{itunderscore} (requires underscore.sty);
wenzelm
parents: 42514
diff changeset
   244
\def\isacharunderscore{\_}%
c31df4184ead provide \isabellestyle{itunderscore} (requires underscore.sty);
wenzelm
parents: 42514
diff changeset
   245
\def\isacharunderscorekeyword{\_}%
45646
02afa20cf397 refined "literal" document style, with some correspondence to actual text source;
wenzelm
parents: 43458
diff changeset
   246
\chardef\isacharbackquoteopen=`\`%
02afa20cf397 refined "literal" document style, with some correspondence to actual text source;
wenzelm
parents: 43458
diff changeset
   247
\chardef\isacharbackquoteclose=`\`%
42663
c31df4184ead provide \isabellestyle{itunderscore} (requires underscore.sty);
wenzelm
parents: 42514
diff changeset
   248
}
c31df4184ead provide \isabellestyle{itunderscore} (requires underscore.sty);
wenzelm
parents: 42514
diff changeset
   249
55365
9d5aba2baa4c yet another attempt at actual underscore;
wenzelm
parents: 55033
diff changeset
   250
\newcommand{\isabellestyleliteralunderscore}{%
9d5aba2baa4c yet another attempt at actual underscore;
wenzelm
parents: 55033
diff changeset
   251
\isabellestyleliteral%
9d5aba2baa4c yet another attempt at actual underscore;
wenzelm
parents: 55033
diff changeset
   252
\def\isacharunderscore{\textunderscore}%
9d5aba2baa4c yet another attempt at actual underscore;
wenzelm
parents: 55033
diff changeset
   253
\def\isacharunderscorekeyword{\textunderscore}%
9d5aba2baa4c yet another attempt at actual underscore;
wenzelm
parents: 55033
diff changeset
   254
}
9d5aba2baa4c yet another attempt at actual underscore;
wenzelm
parents: 55033
diff changeset
   255
9975
236cf072264d fixed "sl" style;
wenzelm
parents: 9913
diff changeset
   256
\newcommand{\isabellestylesl}{%
236cf072264d fixed "sl" style;
wenzelm
parents: 9913
diff changeset
   257
\isabellestyleit%
67527
a93a9e89da72 expand definitions of \DeclareOldFontCommand in traditional article.cls, e.g. KOMA-Script no longer provides these;
wenzelm
parents: 67416
diff changeset
   258
\def\isastyle{\small\normalfont\slshape}%
a93a9e89da72 expand definitions of \DeclareOldFontCommand in traditional article.cls, e.g. KOMA-Script no longer provides these;
wenzelm
parents: 67416
diff changeset
   259
\def\isastylett{\small\normalfont\ttfamily}%
a93a9e89da72 expand definitions of \DeclareOldFontCommand in traditional article.cls, e.g. KOMA-Script no longer provides these;
wenzelm
parents: 67416
diff changeset
   260
\def\isastyleminor{\normalfont\slshape}%
a93a9e89da72 expand definitions of \DeclareOldFontCommand in traditional article.cls, e.g. KOMA-Script no longer provides these;
wenzelm
parents: 67416
diff changeset
   261
\def\isastyleminortt{\normalfont\ttfamily}%
a93a9e89da72 expand definitions of \DeclareOldFontCommand in traditional article.cls, e.g. KOMA-Script no longer provides these;
wenzelm
parents: 67416
diff changeset
   262
\def\isastylescript{\footnotesize\normalfont\slshape}%
9975
236cf072264d fixed "sl" style;
wenzelm
parents: 9913
diff changeset
   263
}
17052
30781cc78fc6 \isabellestyleit: proper \isacharbackslash;
wenzelm
parents: 16558
diff changeset
   264
30781cc78fc6 \isabellestyleit: proper \isacharbackslash;
wenzelm
parents: 16558
diff changeset
   265
67416
efc9ec539224 clarified default;
wenzelm
parents: 67413
diff changeset
   266
% cancel text
efc9ec539224 clarified default;
wenzelm
parents: 67413
diff changeset
   267
efc9ec539224 clarified default;
wenzelm
parents: 67413
diff changeset
   268
\usepackage[normalem]{ulem}
67571
f858fe5531ac more uniform treatment of formal comments within document source;
wenzelm
parents: 67527
diff changeset
   269
\newcommand{\isamarkupcancel}[1]{\isa{\xout{#1}}}
67416
efc9ec539224 clarified default;
wenzelm
parents: 67413
diff changeset
   270
efc9ec539224 clarified default;
wenzelm
parents: 67413
diff changeset
   271
17052
30781cc78fc6 \isabellestyleit: proper \isacharbackslash;
wenzelm
parents: 16558
diff changeset
   272
% tagged regions
30781cc78fc6 \isabellestyleit: proper \isacharbackslash;
wenzelm
parents: 16558
diff changeset
   273
30781cc78fc6 \isabellestyleit: proper \isacharbackslash;
wenzelm
parents: 16558
diff changeset
   274
%plain TeX version of comment package -- much faster!
30781cc78fc6 \isabellestyleit: proper \isacharbackslash;
wenzelm
parents: 16558
diff changeset
   275
\let\isafmtname\fmtname\def\fmtname{plain}
30781cc78fc6 \isabellestyleit: proper \isacharbackslash;
wenzelm
parents: 16558
diff changeset
   276
\usepackage{comment}
30781cc78fc6 \isabellestyleit: proper \isacharbackslash;
wenzelm
parents: 16558
diff changeset
   277
\let\fmtname\isafmtname
30781cc78fc6 \isabellestyleit: proper \isacharbackslash;
wenzelm
parents: 16558
diff changeset
   278
30781cc78fc6 \isabellestyleit: proper \isacharbackslash;
wenzelm
parents: 16558
diff changeset
   279
\newcommand{\isafold}[1]{\emph{$\langle\mathord{\mathit{#1}}\rangle$}}
30781cc78fc6 \isabellestyleit: proper \isacharbackslash;
wenzelm
parents: 16558
diff changeset
   280
30781cc78fc6 \isabellestyleit: proper \isacharbackslash;
wenzelm
parents: 16558
diff changeset
   281
\newcommand{\isakeeptag}[1]%
30781cc78fc6 \isabellestyleit: proper \isacharbackslash;
wenzelm
parents: 16558
diff changeset
   282
{\includecomment{isadelim#1}\includecomment{isatag#1}\csarg\def{isafold#1}{}}
30781cc78fc6 \isabellestyleit: proper \isacharbackslash;
wenzelm
parents: 16558
diff changeset
   283
\newcommand{\isadroptag}[1]%
30781cc78fc6 \isabellestyleit: proper \isacharbackslash;
wenzelm
parents: 16558
diff changeset
   284
{\excludecomment{isadelim#1}\excludecomment{isatag#1}\csarg\def{isafold#1}{}}
30781cc78fc6 \isabellestyleit: proper \isacharbackslash;
wenzelm
parents: 16558
diff changeset
   285
\newcommand{\isafoldtag}[1]%
30781cc78fc6 \isabellestyleit: proper \isacharbackslash;
wenzelm
parents: 16558
diff changeset
   286
{\includecomment{isadelim#1}\excludecomment{isatag#1}\csarg\def{isafold#1}{\isafold{#1}}}
30781cc78fc6 \isabellestyleit: proper \isacharbackslash;
wenzelm
parents: 16558
diff changeset
   287
67139
8fe0aba577af explicit tag for document commands: avoid implicit use of document_tags;
wenzelm
parents: 64525
diff changeset
   288
\isakeeptag{document}
17052
30781cc78fc6 \isabellestyleit: proper \isacharbackslash;
wenzelm
parents: 16558
diff changeset
   289
\isakeeptag{theory}
30781cc78fc6 \isabellestyleit: proper \isacharbackslash;
wenzelm
parents: 16558
diff changeset
   290
\isakeeptag{proof}
30781cc78fc6 \isabellestyleit: proper \isacharbackslash;
wenzelm
parents: 16558
diff changeset
   291
\isakeeptag{ML}
30781cc78fc6 \isabellestyleit: proper \isacharbackslash;
wenzelm
parents: 16558
diff changeset
   292
\isakeeptag{visible}
30781cc78fc6 \isabellestyleit: proper \isacharbackslash;
wenzelm
parents: 16558
diff changeset
   293
\isadroptag{invisible}
67151
d1ace598c026 more default tags;
wenzelm
parents: 67146
diff changeset
   294
\isakeeptag{important}
d1ace598c026 more default tags;
wenzelm
parents: 67146
diff changeset
   295
\isakeeptag{unimportant}
17052
30781cc78fc6 \isabellestyleit: proper \isacharbackslash;
wenzelm
parents: 16558
diff changeset
   296
30781cc78fc6 \isabellestyleit: proper \isacharbackslash;
wenzelm
parents: 16558
diff changeset
   297
\IfFileExists{isabelletags.sty}{\usepackage{isabelletags}}{}