20948
|
1 |
|
|
2 |
%% toc
|
|
3 |
\newcommand{\tocentry}[1]{\cleardoublepage\phantomsection\addcontentsline{toc}{chapter}{#1}
|
|
4 |
\@mkboth{\MakeUppercase{#1}}{\MakeUppercase{#1}}}
|
|
5 |
|
|
6 |
%% references
|
|
7 |
\newcommand{\secref}[1]{\S\ref{#1}}
|
|
8 |
|
|
9 |
%% index
|
|
10 |
\newcommand{\indexml}[1]{\index{\emph{#1}|bold}}
|
|
11 |
\newcommand{\indexmltype}[1]{\index{\emph{#1} (type)|bold}}
|
|
12 |
\newcommand{\indexmlstructure}[1]{\index{\emph{#1} (structure)|bold}}
|
|
13 |
\newcommand{\indexmlfunctor}[1]{\index{\emph{#1} (functor)|bold}}
|
|
14 |
|
29017
|
15 |
%% logical markup
|
|
16 |
\newcommand{\strong}[1]{{\bfseries {#1}}}
|
|
17 |
\newcommand{\qn}[1]{\emph{#1}}
|
|
18 |
|
|
19 |
%% typographic conventions
|
|
20 |
\newcommand{\qt}[1]{``{#1}''}
|
|
21 |
|
|
22 |
%% verbatim text
|
|
23 |
\newcommand{\isatypewriter}{\fontsize{9pt}{0pt}\tt\renewcommand{\baselinestretch}{1}\setlength{\baselineskip}{9pt}}
|
20948
|
24 |
|
29017
|
25 |
%% quoted segments
|
|
26 |
\makeatletter
|
|
27 |
\isakeeptag{quote}
|
|
28 |
\newenvironment{quotesegment}{\begin{quote}\isa@parindent\parindent\parindent0pt\isa@parskip\parskip\parskip0pt}{\end{quote}}
|
|
29 |
\renewcommand{\isatagquote}{\begin{quotesegment}}
|
|
30 |
\renewcommand{\endisatagquote}{\end{quotesegment}}
|
|
31 |
\makeatother
|
|
32 |
|
|
33 |
\isakeeptag{quotett}
|
|
34 |
\renewcommand{\isatagquotett}{\begin{quotesegment}\isabellestyle{tt}\isastyle}
|
|
35 |
\renewcommand{\endisatagquotett}{\end{quotesegment}\isabellestyle{it}\isastyle}
|
|
36 |
|
|
37 |
%% a trick
|
|
38 |
\newcommand{\isasymSML}{SML}
|
|
39 |
|
|
40 |
%% presentation
|
20948
|
41 |
\setcounter{secnumdepth}{2} \setcounter{tocdepth}{2}
|
|
42 |
|
|
43 |
\pagestyle{headings}
|
|
44 |
\binperiod
|
29104
|
45 |
\underscoreoff
|
20948
|
46 |
|
|
47 |
\renewcommand{\isadigit}[1]{\isamath{#1}}
|
|
48 |
|
29017
|
49 |
%% ml reference
|
20948
|
50 |
\newenvironment{mldecls}{\par\noindent\begingroup\footnotesize\def\isanewline{\\}\begin{tabular}{l}}{\end{tabular}\smallskip\endgroup}
|
|
51 |
|
|
52 |
\isakeeptag{mlref}
|
|
53 |
\renewcommand{\isatagmlref}{\subsection*{\makebox[0pt][r]{\fbox{\ML}~~}Reference}\begingroup\def\isastyletext{\rm}\small}
|
|
54 |
\renewcommand{\endisatagmlref}{\endgroup}
|
|
55 |
|
29017
|
56 |
\isabellestyle{it}
|
20948
|
57 |
|
|
58 |
|
|
59 |
%%% Local Variables:
|
|
60 |
%%% mode: latex
|
|
61 |
%%% TeX-master: "implementation"
|
|
62 |
%%% End:
|