doc-src/IsarImplementation/style.sty
author blanchet
Wed Mar 04 11:05:29 2009 +0100 (2009-03-04 ago)
changeset 30242 aea5d7fa7ef5
parent 30240 5b25fee0362c
parent 30120 aaa4667285c8
child 34920 3343670206eb
permissions -rw-r--r--
Merge.
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@20497
    10
%% math
wenzelm@20497
    11
\newcommand{\text}[1]{\mbox{#1}}
wenzelm@20497
    12
\newcommand{\isasymvartheta}{\isamath{\theta}}
wenzelm@29776
    13
\newcommand{\isactrlvec}[1]{\emph{$\vec{#1}$}}
wenzelm@29763
    14
\newcommand{\isactrlBG}{\isacharbackquoteopen}
wenzelm@29763
    15
\newcommand{\isactrlEN}{\isacharbackquoteclose}
wenzelm@18537
    16
wenzelm@18537
    17
\setcounter{secnumdepth}{2} \setcounter{tocdepth}{2}
wenzelm@18537
    18
wenzelm@18537
    19
\pagestyle{headings}
wenzelm@18537
    20
\sloppy
wenzelm@18537
    21
\binperiod
wenzelm@18537
    22
\underscoreon
wenzelm@18537
    23
wenzelm@20451
    24
\renewcommand{\isadigit}[1]{\isamath{#1}}
wenzelm@20451
    25
wenzelm@20547
    26
\newenvironment{mldecls}{\par\noindent\begingroup\footnotesize\def\isanewline{\\}\begin{tabular}{l}}{\end{tabular}\smallskip\endgroup}
wenzelm@18537
    27
wenzelm@18537
    28
\isafoldtag{FIXME}
wenzelm@18537
    29
\isakeeptag{mlref}
wenzelm@18537
    30
\renewcommand{\isatagmlref}{\subsection*{\makebox[0pt][r]{\fbox{\ML}~~}Reference}\begingroup\def\isastyletext{\rm}\small}
wenzelm@18537
    31
\renewcommand{\endisatagmlref}{\endgroup}
wenzelm@18537
    32
wenzelm@22868
    33
\newcommand{\minorcmd}[1]{{\sf #1}}
wenzelm@22868
    34
\newcommand{\isasymtype}{\minorcmd{type}}
wenzelm@22868
    35
\newcommand{\isasymval}{\minorcmd{val}}
wenzelm@22868
    36
wenzelm@29763
    37
\newcommand{\isasymFIX}{\isakeyword{fix}}
wenzelm@29763
    38
\newcommand{\isasymASSUME}{\isakeyword{assume}}
wenzelm@29763
    39
\newcommand{\isasymDEFINE}{\isakeyword{define}}
wenzelm@29763
    40
\newcommand{\isasymNOTE}{\isakeyword{note}}
wenzelm@20491
    41
\newcommand{\isasymGUESS}{\isakeyword{guess}}
wenzelm@20491
    42
\newcommand{\isasymOBTAIN}{\isakeyword{obtain}}
wenzelm@18537
    43
\newcommand{\isasymTHEORY}{\isakeyword{theory}}
wenzelm@18537
    44
\newcommand{\isasymUSES}{\isakeyword{uses}}
wenzelm@18537
    45
\newcommand{\isasymEND}{\isakeyword{end}}
wenzelm@18537
    46
\newcommand{\isasymCONSTS}{\isakeyword{consts}}
wenzelm@18537
    47
\newcommand{\isasymDEFS}{\isakeyword{defs}}
wenzelm@18537
    48
\newcommand{\isasymTHEOREM}{\isakeyword{theorem}}
wenzelm@20024
    49
\newcommand{\isasymDEFINITION}{\isakeyword{definition}}
wenzelm@18537
    50
wenzelm@18537
    51
\isabellestyle{it}
wenzelm@18537
    52
wenzelm@29758
    53
wenzelm@18537
    54
%%% Local Variables: 
wenzelm@18537
    55
%%% mode: latex
wenzelm@18537
    56
%%% TeX-master: "implementation"
wenzelm@18537
    57
%%% End: