doc-src/IsarImplementation/style.sty
author wenzelm
Tue Jan 03 13:59:55 2006 +0100 (2006-01-03 ago)
changeset 18554 bff7a1466fe4
parent 18537 2681f9e34390
child 20024 553d48cac687
permissions -rw-r--r--
more stuff;
     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\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 
    57 \isabellestyle{it}
    58 
    59 %%% Local Variables: 
    60 %%% mode: latex
    61 %%% TeX-master: "implementation"
    62 %%% End: