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