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