doc-src/IsarImplementation/style.sty
author wenzelm
Tue May 08 15:36:39 2007 +0200 (2007-05-08 ago)
changeset 22868 c82dd66560ac
parent 22289 41ce4f5c97c9
child 26770 d688166808c0
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@20470
    10
\newcommand{\chref}[1]{chapter~\ref{#1}}
wenzelm@18537
    11
\newcommand{\figref}[1]{figure~\ref{#1}}
wenzelm@18537
    12
wenzelm@18537
    13
%% glossary
wenzelm@18537
    14
\renewcommand{\glossary}[2]{\nomenclature{\bf #1}{#2}}
wenzelm@18537
    15
\newcommand{\seeglossary}[1]{\emph{#1}}
wenzelm@18554
    16
\newcommand{\glossaryname}{Glossary}
wenzelm@18537
    17
\renewcommand{\nomname}{\glossaryname}
wenzelm@18537
    18
\renewcommand{\pagedeclaration}[1]{\nobreak\quad\dotfill~page~\bold{#1}}
wenzelm@18537
    19
wenzelm@18554
    20
%% index
wenzelm@18554
    21
\newcommand{\indexml}[1]{\index{\emph{#1}|bold}}
haftmann@22289
    22
\newcommand{\indexmlexception}[1]{\index{\emph{#1} (exception)|bold}}
wenzelm@18554
    23
\newcommand{\indexmltype}[1]{\index{\emph{#1} (type)|bold}}
wenzelm@18554
    24
\newcommand{\indexmlstructure}[1]{\index{\emph{#1} (structure)|bold}}
wenzelm@18554
    25
\newcommand{\indexmlfunctor}[1]{\index{\emph{#1} (functor)|bold}}
wenzelm@18554
    26
wenzelm@20497
    27
%% math
wenzelm@20497
    28
\newcommand{\text}[1]{\mbox{#1}}
wenzelm@20497
    29
\newcommand{\isasymvartheta}{\isamath{\theta}}
wenzelm@20497
    30
\newcommand{\isactrlvec}[1]{\emph{$\overline{#1}$}}
wenzelm@18537
    31
wenzelm@18537
    32
\setcounter{secnumdepth}{2} \setcounter{tocdepth}{2}
wenzelm@18537
    33
wenzelm@18537
    34
\pagestyle{headings}
wenzelm@18537
    35
\sloppy
wenzelm@18537
    36
\binperiod
wenzelm@18537
    37
\underscoreon
wenzelm@18537
    38
wenzelm@20451
    39
\renewcommand{\isadigit}[1]{\isamath{#1}}
wenzelm@20451
    40
wenzelm@20547
    41
\newenvironment{mldecls}{\par\noindent\begingroup\footnotesize\def\isanewline{\\}\begin{tabular}{l}}{\end{tabular}\smallskip\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@22868
    48
\newcommand{\minorcmd}[1]{{\sf #1}}
wenzelm@22868
    49
\newcommand{\isasymtype}{\minorcmd{type}}
wenzelm@22868
    50
\newcommand{\isasymval}{\minorcmd{val}}
wenzelm@22868
    51
wenzelm@20491
    52
\newcommand{\isasymGUESS}{\isakeyword{guess}}
wenzelm@20491
    53
\newcommand{\isasymOBTAIN}{\isakeyword{obtain}}
wenzelm@18537
    54
\newcommand{\isasymTHEORY}{\isakeyword{theory}}
wenzelm@18537
    55
\newcommand{\isasymIMPORTS}{\isakeyword{imports}}
wenzelm@18537
    56
\newcommand{\isasymUSES}{\isakeyword{uses}}
wenzelm@18537
    57
\newcommand{\isasymBEGIN}{\isakeyword{begin}}
wenzelm@18537
    58
\newcommand{\isasymEND}{\isakeyword{end}}
wenzelm@18537
    59
\newcommand{\isasymCONSTS}{\isakeyword{consts}}
wenzelm@18537
    60
\newcommand{\isasymDEFS}{\isakeyword{defs}}
wenzelm@18537
    61
\newcommand{\isasymTHEOREM}{\isakeyword{theorem}}
wenzelm@20024
    62
\newcommand{\isasymDEFINITION}{\isakeyword{definition}}
wenzelm@18537
    63
wenzelm@18537
    64
\isabellestyle{it}
wenzelm@18537
    65
wenzelm@18537
    66
%%% Local Variables: 
wenzelm@18537
    67
%%% mode: latex
wenzelm@18537
    68
%%% TeX-master: "implementation"
wenzelm@18537
    69
%%% End: