| author | wenzelm |
| Sat, 20 May 2023 22:41:37 +0200 | |
| changeset 78090 | 79ad3181071b |
| parent 61962 | 9c8fc56032e3 |
| permissions | -rw-r--r-- |
| 18537 | 1 |
%% toc |
| 18554 | 2 |
\newcommand{\tocentry}[1]{\cleardoublepage\phantomsection\addcontentsline{toc}{chapter}{#1}
|
3 |
\@mkboth{\MakeUppercase{#1}}{\MakeUppercase{#1}}}
|
|
| 18537 | 4 |
|
5 |
%% references |
|
6 |
\newcommand{\secref}[1]{\S\ref{#1}}
|
|
| 20470 | 7 |
\newcommand{\chref}[1]{chapter~\ref{#1}}
|
| 18537 | 8 |
\newcommand{\figref}[1]{figure~\ref{#1}}
|
9 |
||
| 20497 | 10 |
%% math |
11 |
\newcommand{\isasymvartheta}{\isamath{\theta}}
|
|
| 29776 | 12 |
\newcommand{\isactrlvec}[1]{\emph{$\vec{#1}$}}
|
| 29763 | 13 |
\newcommand{\isactrlBG}{\isacharbackquoteopen}
|
14 |
\newcommand{\isactrlEN}{\isacharbackquoteclose}
|
|
| 18537 | 15 |
|
16 |
\setcounter{secnumdepth}{2} \setcounter{tocdepth}{2}
|
|
17 |
||
18 |
\pagestyle{headings}
|
|
19 |
\sloppy |
|
20 |
\binperiod |
|
21 |
||
|
39861
b8d89db3e238
use continental paragraph style, which works better with mixture of (in)formal text;
wenzelm
parents:
39830
diff
changeset
|
22 |
\parindent 0pt\parskip 0.5ex |
|
b8d89db3e238
use continental paragraph style, which works better with mixture of (in)formal text;
wenzelm
parents:
39830
diff
changeset
|
23 |
|
| 20451 | 24 |
\renewcommand{\isadigit}[1]{\isamath{#1}}
|
25 |
||
| 20547 | 26 |
\newenvironment{mldecls}{\par\noindent\begingroup\footnotesize\def\isanewline{\\}\begin{tabular}{l}}{\end{tabular}\smallskip\endgroup}
|
| 18537 | 27 |
|
28 |
\isafoldtag{FIXME}
|
|
| 39830 | 29 |
|
| 18537 | 30 |
\isakeeptag{mlref}
|
| 39830 | 31 |
\renewcommand{\isatagmlref}{\subsection*{\makebox[0pt][r]{\fbox{ML}~~}Reference}}
|
32 |
\renewcommand{\endisatagmlref}{}
|
|
33 |
||
34 |
\isakeeptag{mlantiq}
|
|
35 |
\renewcommand{\isatagmlantiq}{\subsection*{\makebox[0pt][r]{\fbox{ML}~~}Antiquotations}}
|
|
36 |
\renewcommand{\endisatagmlantiq}{}
|
|
| 18537 | 37 |
|
| 34923 | 38 |
\isakeeptag{mlex}
|
|
39825
f9066b94bf07
eliminated fancy \ML logo for the sake of simpler source text (less dependence on LaTeX);
wenzelm
parents:
34923
diff
changeset
|
39 |
\renewcommand{\isatagmlex}{\subsection*{\makebox[0pt][r]{\fbox{ML}~~}Examples}}
|
| 34923 | 40 |
\renewcommand{\endisatagmlex}{}
|
41 |
||
42 |
\renewcommand{\isatagML}{\begingroup\isabellestyle{default}\isastyle\def\isadigit##1{##1}}
|
|
43 |
\renewcommand{\endisatagML}{\endgroup}
|
|
44 |
||
| 22868 | 45 |
\newcommand{\minorcmd}[1]{{\sf #1}}
|
46 |
\newcommand{\isasymtype}{\minorcmd{type}}
|
|
47 |
\newcommand{\isasymval}{\minorcmd{val}}
|
|
48 |
||
| 29763 | 49 |
\newcommand{\isasymFIX}{\isakeyword{fix}}
|
50 |
\newcommand{\isasymASSUME}{\isakeyword{assume}}
|
|
51 |
\newcommand{\isasymDEFINE}{\isakeyword{define}}
|
|
52 |
\newcommand{\isasymNOTE}{\isakeyword{note}}
|
|
| 20491 | 53 |
\newcommand{\isasymGUESS}{\isakeyword{guess}}
|
54 |
\newcommand{\isasymOBTAIN}{\isakeyword{obtain}}
|
|
| 18537 | 55 |
\newcommand{\isasymTHEORY}{\isakeyword{theory}}
|
56 |
\newcommand{\isasymUSES}{\isakeyword{uses}}
|
|
57 |
\newcommand{\isasymEND}{\isakeyword{end}}
|
|
58 |
\newcommand{\isasymCONSTS}{\isakeyword{consts}}
|
|
59 |
\newcommand{\isasymDEFS}{\isakeyword{defs}}
|
|
60 |
\newcommand{\isasymTHEOREM}{\isakeyword{theorem}}
|
|
| 20024 | 61 |
\newcommand{\isasymDEFINITION}{\isakeyword{definition}}
|
| 18537 | 62 |
|
|
45646
02afa20cf397
refined "literal" document style, with some correspondence to actual text source;
wenzelm
parents:
42666
diff
changeset
|
63 |
\isabellestyle{literal}
|
| 42653 | 64 |
|
| 42664 | 65 |
\railtermfont{\isabellestyle{tt}}
|
66 |
\railnontermfont{\isabellestyle{itunderscore}}
|
|
67 |
\railnamefont{\isabellestyle{itunderscore}}
|