| author | kuncar |
| Tue, 15 Jan 2013 12:13:27 +0100 | |
| changeset 50996 | 51ad7b4ac096 |
| parent 48985 | 5386df44a037 |
| child 53167 | 4e7ddd76e632 |
| 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 |
||
| 40400 | 27 |
\renewcommand{\isaantiqopen}{\isasymlbrace}
|
28 |
\renewcommand{\isaantiqclose}{\isasymrbrace}
|
|
29 |
||
| 20547 | 30 |
\newenvironment{mldecls}{\par\noindent\begingroup\footnotesize\def\isanewline{\\}\begin{tabular}{l}}{\end{tabular}\smallskip\endgroup}
|
| 18537 | 31 |
|
32 |
\isafoldtag{FIXME}
|
|
| 39830 | 33 |
|
| 18537 | 34 |
\isakeeptag{mlref}
|
| 39830 | 35 |
\renewcommand{\isatagmlref}{\subsection*{\makebox[0pt][r]{\fbox{ML}~~}Reference}}
|
36 |
\renewcommand{\endisatagmlref}{}
|
|
37 |
||
38 |
\isakeeptag{mlantiq}
|
|
39 |
\renewcommand{\isatagmlantiq}{\subsection*{\makebox[0pt][r]{\fbox{ML}~~}Antiquotations}}
|
|
40 |
\renewcommand{\endisatagmlantiq}{}
|
|
| 18537 | 41 |
|
| 34923 | 42 |
\isakeeptag{mlex}
|
|
39825
f9066b94bf07
eliminated fancy \ML logo for the sake of simpler source text (less dependence on LaTeX);
wenzelm
parents:
34923
diff
changeset
|
43 |
\renewcommand{\isatagmlex}{\subsection*{\makebox[0pt][r]{\fbox{ML}~~}Examples}}
|
| 34923 | 44 |
\renewcommand{\endisatagmlex}{}
|
45 |
||
46 |
\renewcommand{\isatagML}{\begingroup\isabellestyle{default}\isastyle\def\isadigit##1{##1}}
|
|
47 |
\renewcommand{\endisatagML}{\endgroup}
|
|
48 |
||
| 22868 | 49 |
\newcommand{\minorcmd}[1]{{\sf #1}}
|
50 |
\newcommand{\isasymtype}{\minorcmd{type}}
|
|
51 |
\newcommand{\isasymval}{\minorcmd{val}}
|
|
52 |
||
| 29763 | 53 |
\newcommand{\isasymFIX}{\isakeyword{fix}}
|
54 |
\newcommand{\isasymASSUME}{\isakeyword{assume}}
|
|
55 |
\newcommand{\isasymDEFINE}{\isakeyword{define}}
|
|
56 |
\newcommand{\isasymNOTE}{\isakeyword{note}}
|
|
| 20491 | 57 |
\newcommand{\isasymGUESS}{\isakeyword{guess}}
|
58 |
\newcommand{\isasymOBTAIN}{\isakeyword{obtain}}
|
|
| 18537 | 59 |
\newcommand{\isasymTHEORY}{\isakeyword{theory}}
|
60 |
\newcommand{\isasymUSES}{\isakeyword{uses}}
|
|
61 |
\newcommand{\isasymEND}{\isakeyword{end}}
|
|
62 |
\newcommand{\isasymCONSTS}{\isakeyword{consts}}
|
|
63 |
\newcommand{\isasymDEFS}{\isakeyword{defs}}
|
|
64 |
\newcommand{\isasymTHEOREM}{\isakeyword{theorem}}
|
|
| 20024 | 65 |
\newcommand{\isasymDEFINITION}{\isakeyword{definition}}
|
| 18537 | 66 |
|
|
45646
02afa20cf397
refined "literal" document style, with some correspondence to actual text source;
wenzelm
parents:
42666
diff
changeset
|
67 |
\isabellestyle{literal}
|
| 42653 | 68 |
|
| 42664 | 69 |
\railtermfont{\isabellestyle{tt}}
|
70 |
\railnontermfont{\isabellestyle{itunderscore}}
|
|
71 |
\railnamefont{\isabellestyle{itunderscore}}
|