author | Walther Neuper <neuper@ist.tugraz.at> |
Thu, 12 Aug 2010 15:03:34 +0200 | |
branch | isac-from-Isabelle2009-2 |
changeset 37913 | 20e3616b2d9c |
parent 30210 | 853abb4853cc |
child 38630 | a461dd80f83c |
permissions | -rw-r--r-- |
haftmann@20948 | 1 |
|
haftmann@20948 | 2 |
%% toc |
haftmann@20948 | 3 |
\newcommand{\tocentry}[1]{\cleardoublepage\phantomsection\addcontentsline{toc}{chapter}{#1} |
haftmann@20948 | 4 |
\@mkboth{\MakeUppercase{#1}}{\MakeUppercase{#1}}} |
haftmann@20948 | 5 |
|
haftmann@30210 | 6 |
%% paragraphs |
haftmann@30210 | 7 |
\setlength{\parindent}{1em} |
haftmann@30210 | 8 |
|
haftmann@20948 | 9 |
%% references |
haftmann@20948 | 10 |
\newcommand{\secref}[1]{\S\ref{#1}} |
haftmann@20948 | 11 |
|
haftmann@29017 | 12 |
%% logical markup |
haftmann@29017 | 13 |
\newcommand{\strong}[1]{{\bfseries {#1}}} |
haftmann@29017 | 14 |
\newcommand{\qn}[1]{\emph{#1}} |
haftmann@20948 | 15 |
|
haftmann@29017 | 16 |
%% typographic conventions |
haftmann@29017 | 17 |
\newcommand{\qt}[1]{``{#1}''} |
haftmann@29017 | 18 |
|
haftmann@29017 | 19 |
%% verbatim text |
haftmann@29017 | 20 |
\newcommand{\isatypewriter}{\fontsize{9pt}{0pt}\tt\renewcommand{\baselinestretch}{1}\setlength{\baselineskip}{9pt}} |
haftmann@29017 | 21 |
|
haftmann@30210 | 22 |
%% quote environment |
haftmann@29017 | 23 |
\isakeeptag{quote} |
haftmann@30210 | 24 |
\renewenvironment{quote} |
haftmann@30210 | 25 |
{\list{}{\leftmargin2em\rightmargin0pt}\parindent0pt\parskip0pt\item\relax} |
haftmann@30210 | 26 |
{\endlist} |
haftmann@30210 | 27 |
\renewcommand{\isatagquote}{\begin{quote}} |
haftmann@30210 | 28 |
\renewcommand{\endisatagquote}{\end{quote}} |
haftmann@30210 | 29 |
\newcommand{\quotebreak}{\\[1.2ex]} |
haftmann@29017 | 30 |
|
haftmann@29017 | 31 |
\isakeeptag{quotett} |
haftmann@30210 | 32 |
\renewcommand{\isatagquotett}{\begin{quote}\isabellestyle{tt}\isastyle} |
haftmann@30210 | 33 |
\renewcommand{\endisatagquotett}{\end{quote}\isabellestyle{it}\isastyle} |
haftmann@29017 | 34 |
|
haftmann@29017 | 35 |
%% a trick |
haftmann@29017 | 36 |
\newcommand{\isasymSML}{SML} |
haftmann@29017 | 37 |
|
haftmann@29017 | 38 |
%% presentation |
haftmann@20948 | 39 |
\setcounter{secnumdepth}{2} \setcounter{tocdepth}{2} |
haftmann@20948 | 40 |
|
haftmann@30210 | 41 |
%% character detail |
haftmann@30210 | 42 |
\renewcommand{\isadigit}[1]{\isamath{#1}} |
haftmann@20948 | 43 |
\binperiod |
haftmann@29104 | 44 |
\underscoreoff |
haftmann@20948 | 45 |
|
haftmann@30210 | 46 |
%% format |
haftmann@30210 | 47 |
\pagestyle{headings} |
haftmann@30210 | 48 |
\isabellestyle{it} |
haftmann@20948 | 49 |
|
haftmann@29017 | 50 |
%% ml reference |
haftmann@20948 | 51 |
\newenvironment{mldecls}{\par\noindent\begingroup\footnotesize\def\isanewline{\\}\begin{tabular}{l}}{\end{tabular}\smallskip\endgroup} |
haftmann@20948 | 52 |
|
haftmann@20948 | 53 |
\isakeeptag{mlref} |
haftmann@20948 | 54 |
\renewcommand{\isatagmlref}{\subsection*{\makebox[0pt][r]{\fbox{\ML}~~}Reference}\begingroup\def\isastyletext{\rm}\small} |
haftmann@20948 | 55 |
\renewcommand{\endisatagmlref}{\endgroup} |
haftmann@20948 | 56 |
|
haftmann@29017 | 57 |
\isabellestyle{it} |
haftmann@20948 | 58 |
|
haftmann@20948 | 59 |
|
haftmann@20948 | 60 |
%%% Local Variables: |
haftmann@20948 | 61 |
%%% mode: latex |
haftmann@20948 | 62 |
%%% TeX-master: "implementation" |
haftmann@20948 | 63 |
%%% End: |