doc-src/IsarImplementation/style.sty
author wenzelm
Mon, 16 Feb 2009 21:23:33 +0100
changeset 30084 7a3b5bbed313
parent 26770 d688166808c0
child 30089 c0f2c8424848
permissions -rw-r--r--
removed rudiments of glossary;
     1 %% toc
     2 \newcommand{\tocentry}[1]{\cleardoublepage\phantomsection\addcontentsline{toc}{chapter}{#1}
     3 \@mkboth{\MakeUppercase{#1}}{\MakeUppercase{#1}}}
     4 
     5 %% references
     6 \newcommand{\secref}[1]{\S\ref{#1}}
     7 \newcommand{\chref}[1]{chapter~\ref{#1}}
     8 \newcommand{\figref}[1]{figure~\ref{#1}}
     9 
    10 %% index
    11 \newcommand{\indexml}[1]{\index{\emph{#1}|bold}}
    12 \newcommand{\indexmlexception}[1]{\index{\emph{#1} (exception)|bold}}
    13 \newcommand{\indexmltype}[1]{\index{\emph{#1} (type)|bold}}
    14 \newcommand{\indexmlstructure}[1]{\index{\emph{#1} (structure)|bold}}
    15 \newcommand{\indexmlfunctor}[1]{\index{\emph{#1} (functor)|bold}}
    16 
    17 %% math
    18 \newcommand{\text}[1]{\mbox{#1}}
    19 \newcommand{\isasymvartheta}{\isamath{\theta}}
    20 \newcommand{\isactrlvec}[1]{\emph{$\overline{#1}$}}
    21 
    22 \setcounter{secnumdepth}{2} \setcounter{tocdepth}{2}
    23 
    24 \pagestyle{headings}
    25 \sloppy
    26 \binperiod
    27 \underscoreon
    28 
    29 \renewcommand{\isadigit}[1]{\isamath{#1}}
    30 
    31 \newenvironment{mldecls}{\par\noindent\begingroup\footnotesize\def\isanewline{\\}\begin{tabular}{l}}{\end{tabular}\smallskip\endgroup}
    32 
    33 \isafoldtag{FIXME}
    34 \isakeeptag{mlref}
    35 \renewcommand{\isatagmlref}{\subsection*{\makebox[0pt][r]{\fbox{\ML}~~}Reference}\begingroup\def\isastyletext{\rm}\small}
    36 \renewcommand{\endisatagmlref}{\endgroup}
    37 
    38 \newcommand{\minorcmd}[1]{{\sf #1}}
    39 \newcommand{\isasymtype}{\minorcmd{type}}
    40 \newcommand{\isasymval}{\minorcmd{val}}
    41 
    42 \newcommand{\isasymGUESS}{\isakeyword{guess}}
    43 \newcommand{\isasymOBTAIN}{\isakeyword{obtain}}
    44 \newcommand{\isasymTHEORY}{\isakeyword{theory}}
    45 \newcommand{\isasymUSES}{\isakeyword{uses}}
    46 \newcommand{\isasymEND}{\isakeyword{end}}
    47 \newcommand{\isasymCONSTS}{\isakeyword{consts}}
    48 \newcommand{\isasymDEFS}{\isakeyword{defs}}
    49 \newcommand{\isasymTHEOREM}{\isakeyword{theorem}}
    50 \newcommand{\isasymDEFINITION}{\isakeyword{definition}}
    51 
    52 \isabellestyle{it}
    53 
    54 
    55 %%% Local Variables: 
    56 %%% mode: latex
    57 %%% TeX-master: "implementation"
    58 %%% End: