doc-src/IsarImplementation/style.sty
author wenzelm
Tue Sep 05 22:04:56 2006 +0200 (2006-09-05 ago)
changeset 20478 de1bd9717d6c
parent 20470 c839b38a1f32
child 20491 98ba42f19995
permissions -rw-r--r--
added \isactrlvec;
     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{\chref}[1]{chapter~\ref{#1}}
    11 \newcommand{\figref}[1]{figure~\ref{#1}}
    12 
    13 %% glossary
    14 \renewcommand{\glossary}[2]{\nomenclature{\bf #1}{#2}}
    15 \newcommand{\seeglossary}[1]{\emph{#1}}
    16 \newcommand{\glossaryname}{Glossary}
    17 \renewcommand{\nomname}{\glossaryname}
    18 \renewcommand{\pagedeclaration}[1]{\nobreak\quad\dotfill~page~\bold{#1}}
    19 
    20 %% index
    21 \newcommand{\indexml}[1]{\index{\emph{#1}|bold}}
    22 \newcommand{\indexmltype}[1]{\index{\emph{#1} (type)|bold}}
    23 \newcommand{\indexmlstructure}[1]{\index{\emph{#1} (structure)|bold}}
    24 \newcommand{\indexmlfunctor}[1]{\index{\emph{#1} (functor)|bold}}
    25 
    26 
    27 \newcommand{\drv}{\mathrel{\vdash}}
    28 \newcommand{\edrv}{\mathop{\drv}\nolimits}
    29 \newcommand{\Drv}[1]{\mathrel{\vdash_{#1}}}
    30 \newcommand{\Or}{\mathrel{\;|\;}}
    31 
    32 \renewcommand{\vec}[1]{\overline{#1}}
    33 \newcommand{\isactrlvec}[1]{\emph{$\vec{#1}$}}
    34 \renewcommand{\phi}{\varphi}
    35 
    36 \setcounter{secnumdepth}{2} \setcounter{tocdepth}{2}
    37 
    38 \pagestyle{headings}
    39 \sloppy
    40 \binperiod
    41 \underscoreon
    42 
    43 \renewcommand{\isadigit}[1]{\isamath{#1}}
    44 
    45 \newenvironment{mldecls}{\par\noindent\begingroup\footnotesize\def\isanewline{\\}\begin{tabular}{l}}{\end{tabular}\medskip\endgroup}
    46 
    47 \isafoldtag{FIXME}
    48 \isakeeptag{mlref}
    49 \renewcommand{\isatagmlref}{\subsection*{\makebox[0pt][r]{\fbox{\ML}~~}Reference}\begingroup\def\isastyletext{\rm}\small}
    50 \renewcommand{\endisatagmlref}{\endgroup}
    51 
    52 \newcommand{\isasymTHEORY}{\isakeyword{theory}}
    53 \newcommand{\isasymIMPORTS}{\isakeyword{imports}}
    54 \newcommand{\isasymUSES}{\isakeyword{uses}}
    55 \newcommand{\isasymBEGIN}{\isakeyword{begin}}
    56 \newcommand{\isasymEND}{\isakeyword{end}}
    57 \newcommand{\isasymCONSTS}{\isakeyword{consts}}
    58 \newcommand{\isasymDEFS}{\isakeyword{defs}}
    59 \newcommand{\isasymTHEOREM}{\isakeyword{theorem}}
    60 \newcommand{\isasymDEFINITION}{\isakeyword{definition}}
    61 
    62 \isabellestyle{it}
    63 
    64 %%% Local Variables: 
    65 %%% mode: latex
    66 %%% TeX-master: "implementation"
    67 %%% End: