doc-src/IsarImplementation/style.sty
author wenzelm
Thu Aug 31 17:33:48 2006 +0200 (2006-08-31 ago)
changeset 20448 8aa6ff178f36
parent 20024 553d48cac687
child 20451 27ea2ba48fa3
permissions -rw-r--r--
mldecls: footnotesize;
     1 
     2 %% $Id$
     3 
     4 %% toc
     5 \newcommand{\tocentry}[1]{\cleardoublepage\phantomsection\addcontentsline{toc}{chapter}{#1}
     6 \@mkboth{\MakeUppercase{#1}}{\MakeUppercase{#1}}}
     7 
     8 %% references
     9 \newcommand{\secref}[1]{\S\ref{#1}}
    10 \newcommand{\figref}[1]{figure~\ref{#1}}
    11 
    12 %% glossary
    13 \renewcommand{\glossary}[2]{\nomenclature{\bf #1}{#2}}
    14 \newcommand{\seeglossary}[1]{\emph{#1}}
    15 \newcommand{\glossaryname}{Glossary}
    16 \renewcommand{\nomname}{\glossaryname}
    17 \renewcommand{\pagedeclaration}[1]{\nobreak\quad\dotfill~page~\bold{#1}}
    18 
    19 %% index
    20 \newcommand{\indexml}[1]{\index{\emph{#1}|bold}}
    21 \newcommand{\indexmltype}[1]{\index{\emph{#1} (type)|bold}}
    22 \newcommand{\indexmlstructure}[1]{\index{\emph{#1} (structure)|bold}}
    23 \newcommand{\indexmlfunctor}[1]{\index{\emph{#1} (functor)|bold}}
    24 
    25 
    26 \newcommand{\drv}{\mathrel{\vdash}}
    27 \newcommand{\edrv}{\mathop{\drv}\nolimits}
    28 \newcommand{\Drv}[1]{\mathrel{\vdash_{#1}}}
    29 \newcommand{\Or}{\mathrel{\;|\;}}
    30 
    31 \renewcommand{\vec}[1]{\overline{#1}}
    32 \renewcommand{\phi}{\varphi}
    33 
    34 \setcounter{secnumdepth}{2} \setcounter{tocdepth}{2}
    35 
    36 \pagestyle{headings}
    37 \sloppy
    38 \binperiod
    39 \underscoreon
    40 
    41 \newenvironment{mldecls}{\par\noindent\begingroup\footnotesize\def\isanewline{\\}\begin{tabular}{l}}{\end{tabular}\medskip\endgroup}
    42 
    43 \isafoldtag{FIXME}
    44 \isakeeptag{mlref}
    45 \renewcommand{\isatagmlref}{\subsection*{\makebox[0pt][r]{\fbox{\ML}~~}Reference}\begingroup\def\isastyletext{\rm}\small}
    46 \renewcommand{\endisatagmlref}{\endgroup}
    47 
    48 \newcommand{\isasymTHEORY}{\isakeyword{theory}}
    49 \newcommand{\isasymIMPORTS}{\isakeyword{imports}}
    50 \newcommand{\isasymUSES}{\isakeyword{uses}}
    51 \newcommand{\isasymBEGIN}{\isakeyword{begin}}
    52 \newcommand{\isasymEND}{\isakeyword{end}}
    53 \newcommand{\isasymCONSTS}{\isakeyword{consts}}
    54 \newcommand{\isasymDEFS}{\isakeyword{defs}}
    55 \newcommand{\isasymTHEOREM}{\isakeyword{theorem}}
    56 \newcommand{\isasymDEFINITION}{\isakeyword{definition}}
    57 
    58 \isabellestyle{it}
    59 
    60 %%% Local Variables: 
    61 %%% mode: latex
    62 %%% TeX-master: "implementation"
    63 %%% End: