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