doc-src/IsarRef/style.sty
author wenzelm
Thu, 12 Feb 2009 21:15:54 +0100
changeset 30059 f38ccabb2edc
parent 30051 03916d2d16d3
child 30120 aaa4667285c8
permissions -rw-r--r--
improved sorry/noproof markup;
     1 %% toc
     2 \newcommand{\tocentry}[1]{\cleardoublepage\phantomsection\addcontentsline{toc}{chapter}{#1}
     3 \@mkboth{\MakeUppercase{#1}}{\MakeUppercase{#1}}}
     4 
     5 \setcounter{secnumdepth}{2} \setcounter{tocdepth}{2}
     6 
     7 %% references
     8 \newcommand{\secref}[1]{\S\ref{#1}}
     9 \newcommand{\chref}[1]{chapter~\ref{#1}}
    10 \newcommand{\Chref}[1]{Chapter~\ref{#1}}
    11 \newcommand{\appref}[1]{appendix~\ref{#1}}
    12 \newcommand{\Appref}[1]{Appendix~\ref{#1}}
    13 \newcommand{\figref}[1]{figure~\ref{#1}}
    14 \newcommand{\Figref}[1]{Figure~\ref{#1}}
    15 
    16 %% ML
    17 \newenvironment{mldecls}{\par\noindent\begingroup\def\isanewline{\\}\begin{tabular}{ll}}{\end{tabular}\medskip\endgroup}
    18 \newcommand{\indexml}[1]{\index{#1 (ML value)|bold}}
    19 
    20 %% Isar
    21 \newcommand{\isasymBBAR}{{\,\newdimen{\tmpheight}\settoheight\tmpheight{\isacharbar}\rule{1pt}{\tmpheight}\,}}
    22 \isafoldtag{noproof}\def\isafoldnoproof{~\isafold{proof}}
    23 
    24 %% math
    25 \newcommand{\isasymstrut}{\isamath{\mathstrut}}
    26 \newcommand{\isasymvartheta}{\isamath{\,\theta}}
    27 \newcommand{\isactrlvec}[1]{\emph{$\overline{#1}$}}
    28 \renewcommand{\isadigit}[1]{\isamath{#1}}
    29 \newcommand{\text}[1]{\mbox{#1}}
    30 
    31 %% global style options
    32 \pagestyle{headings}
    33 \sloppy
    34 
    35 \isabellestyle{it}
    36 \underscoreon
    37 \renewcommand{\isacharunderscore}{\_}
    38 \renewcommand{\isacharunderscorekeyword}{\_}
    39 \newcommand{\isasymdash}{\mbox{-}}