| author | huffman | 
| Fri, 19 Nov 2010 09:07:23 -0800 | |
| changeset 40624 | 2df58ba31be7 | 
| parent 40400 | db905e068a60 | 
| child 42653 | d25bf6996368 | 
| 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: 
39830diff
changeset | 23 | \parindent 0pt\parskip 0.5ex | 
| 
b8d89db3e238
use continental paragraph style, which works better with mixture of (in)formal text;
 wenzelm parents: 
39830diff
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: 
34923diff
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 | |
| 67 | \isabellestyle{it}
 | |
| 34920 
3343670206eb
make underscores visually appear as such, although TeX-nically they are just rules (e.g. cannot be searched);
 wenzelm parents: 
30242diff
changeset | 68 | \underscoreon | 
| 
3343670206eb
make underscores visually appear as such, although TeX-nically they are just rules (e.g. cannot be searched);
 wenzelm parents: 
30242diff
changeset | 69 | \renewcommand{\isacharunderscore}{\_}
 | 
| 
3343670206eb
make underscores visually appear as such, although TeX-nically they are just rules (e.g. cannot be searched);
 wenzelm parents: 
30242diff
changeset | 70 | \renewcommand{\isacharunderscorekeyword}{\_}
 | 
| 
3343670206eb
make underscores visually appear as such, although TeX-nically they are just rules (e.g. cannot be searched);
 wenzelm parents: 
30242diff
changeset | 71 | \newcommand{\isasymdash}{\mbox{-}}
 |