| author | bulwahn |
| Fri, 29 Oct 2010 08:44:46 +0200 | |
| changeset 40247 | 2c646d3a8137 |
| parent 39861 | b8d89db3e238 |
| child 40400 | db905e068a60 |
| 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 |
|
64 |
\isabellestyle{it}
|
|
|
34920
3343670206eb
make underscores visually appear as such, although TeX-nically they are just rules (e.g. cannot be searched);
wenzelm
parents:
30242
diff
changeset
|
65 |
\underscoreon |
|
3343670206eb
make underscores visually appear as such, although TeX-nically they are just rules (e.g. cannot be searched);
wenzelm
parents:
30242
diff
changeset
|
66 |
\renewcommand{\isacharunderscore}{\_}
|
|
3343670206eb
make underscores visually appear as such, although TeX-nically they are just rules (e.g. cannot be searched);
wenzelm
parents:
30242
diff
changeset
|
67 |
\renewcommand{\isacharunderscorekeyword}{\_}
|
|
3343670206eb
make underscores visually appear as such, although TeX-nically they are just rules (e.g. cannot be searched);
wenzelm
parents:
30242
diff
changeset
|
68 |
\newcommand{\isasymdash}{\mbox{-}}
|