doc-src/IsarImplementation/style.sty
author wenzelm
Fri, 02 May 2008 16:39:44 +0200
changeset 26770 d688166808c0
parent 22868 c82dd66560ac
child 30084 7a3b5bbed313
child 30240 5b25fee0362c
permissions -rw-r--r--
moved begin and imports to ../isar.sty;
     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{\indexmlexception}[1]{\index{\emph{#1} (exception)|bold}}
    23 \newcommand{\indexmltype}[1]{\index{\emph{#1} (type)|bold}}
    24 \newcommand{\indexmlstructure}[1]{\index{\emph{#1} (structure)|bold}}
    25 \newcommand{\indexmlfunctor}[1]{\index{\emph{#1} (functor)|bold}}
    26 
    27 %% math
    28 \newcommand{\text}[1]{\mbox{#1}}
    29 \newcommand{\isasymvartheta}{\isamath{\theta}}
    30 \newcommand{\isactrlvec}[1]{\emph{$\overline{#1}$}}
    31 
    32 \setcounter{secnumdepth}{2} \setcounter{tocdepth}{2}
    33 
    34 \pagestyle{headings}
    35 \sloppy
    36 \binperiod
    37 \underscoreon
    38 
    39 \renewcommand{\isadigit}[1]{\isamath{#1}}
    40 
    41 \newenvironment{mldecls}{\par\noindent\begingroup\footnotesize\def\isanewline{\\}\begin{tabular}{l}}{\end{tabular}\smallskip\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{\minorcmd}[1]{{\sf #1}}
    49 \newcommand{\isasymtype}{\minorcmd{type}}
    50 \newcommand{\isasymval}{\minorcmd{val}}
    51 
    52 \newcommand{\isasymGUESS}{\isakeyword{guess}}
    53 \newcommand{\isasymOBTAIN}{\isakeyword{obtain}}
    54 \newcommand{\isasymTHEORY}{\isakeyword{theory}}
    55 \newcommand{\isasymUSES}{\isakeyword{uses}}
    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: