author | wenzelm |
Sun, 25 Apr 2010 22:50:47 +0200 | |
changeset 36329 | 85004134055c |
parent 34923 | e59915c6a552 |
child 39825 | f9066b94bf07 |
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 |
||
20451 | 23 |
\renewcommand{\isadigit}[1]{\isamath{#1}} |
24 |
||
20547 | 25 |
\newenvironment{mldecls}{\par\noindent\begingroup\footnotesize\def\isanewline{\\}\begin{tabular}{l}}{\end{tabular}\smallskip\endgroup} |
18537 | 26 |
|
27 |
\isafoldtag{FIXME} |
|
28 |
\isakeeptag{mlref} |
|
29 |
\renewcommand{\isatagmlref}{\subsection*{\makebox[0pt][r]{\fbox{\ML}~~}Reference}\begingroup\def\isastyletext{\rm}\small} |
|
30 |
\renewcommand{\endisatagmlref}{\endgroup} |
|
31 |
||
34923 | 32 |
\isakeeptag{mlex} |
33 |
\renewcommand{\isatagmlex}{\subsection*{\makebox[0pt][r]{\fbox{\ML}~~}Examples}} |
|
34 |
\renewcommand{\endisatagmlex}{} |
|
35 |
||
36 |
\renewcommand{\isatagML}{\begingroup\isabellestyle{default}\isastyle\def\isadigit##1{##1}} |
|
37 |
\renewcommand{\endisatagML}{\endgroup} |
|
38 |
||
22868 | 39 |
\newcommand{\minorcmd}[1]{{\sf #1}} |
40 |
\newcommand{\isasymtype}{\minorcmd{type}} |
|
41 |
\newcommand{\isasymval}{\minorcmd{val}} |
|
42 |
||
29763 | 43 |
\newcommand{\isasymFIX}{\isakeyword{fix}} |
44 |
\newcommand{\isasymASSUME}{\isakeyword{assume}} |
|
45 |
\newcommand{\isasymDEFINE}{\isakeyword{define}} |
|
46 |
\newcommand{\isasymNOTE}{\isakeyword{note}} |
|
20491 | 47 |
\newcommand{\isasymGUESS}{\isakeyword{guess}} |
48 |
\newcommand{\isasymOBTAIN}{\isakeyword{obtain}} |
|
18537 | 49 |
\newcommand{\isasymTHEORY}{\isakeyword{theory}} |
50 |
\newcommand{\isasymUSES}{\isakeyword{uses}} |
|
51 |
\newcommand{\isasymEND}{\isakeyword{end}} |
|
52 |
\newcommand{\isasymCONSTS}{\isakeyword{consts}} |
|
53 |
\newcommand{\isasymDEFS}{\isakeyword{defs}} |
|
54 |
\newcommand{\isasymTHEOREM}{\isakeyword{theorem}} |
|
20024 | 55 |
\newcommand{\isasymDEFINITION}{\isakeyword{definition}} |
18537 | 56 |
|
57 |
\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
|
58 |
\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
|
59 |
\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
|
60 |
\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
|
61 |
\newcommand{\isasymdash}{\mbox{-}} |