doc-src/IsarRef/style.sty
author wenzelm
Thu, 13 Nov 2008 21:49:46 +0100
changeset 28763 b5e6122ff575
parent 28760 cbc435f7b16b
child 30051 03916d2d16d3
child 30240 5b25fee0362c
permissions -rw-r--r--
added pretty printing options (from old ref manual);
wenzelm@26738
     1
wenzelm@26738
     2
%% $Id$
wenzelm@26738
     3
wenzelm@26738
     4
%% toc
wenzelm@26738
     5
\newcommand{\tocentry}[1]{\cleardoublepage\phantomsection\addcontentsline{toc}{chapter}{#1}
wenzelm@26738
     6
\@mkboth{\MakeUppercase{#1}}{\MakeUppercase{#1}}}
wenzelm@26738
     7
wenzelm@26865
     8
\setcounter{secnumdepth}{2} \setcounter{tocdepth}{2}
wenzelm@26865
     9
wenzelm@26738
    10
%% references
wenzelm@26738
    11
\newcommand{\secref}[1]{\S\ref{#1}}
wenzelm@26738
    12
\newcommand{\chref}[1]{chapter~\ref{#1}}
wenzelm@26759
    13
\newcommand{\Chref}[1]{Chapter~\ref{#1}}
wenzelm@26759
    14
\newcommand{\appref}[1]{appendix~\ref{#1}}
wenzelm@26759
    15
\newcommand{\Appref}[1]{Appendix~\ref{#1}}
wenzelm@26738
    16
\newcommand{\figref}[1]{figure~\ref{#1}}
wenzelm@26759
    17
\newcommand{\Figref}[1]{Figure~\ref{#1}}
wenzelm@26738
    18
wenzelm@28760
    19
%% ML
wenzelm@28763
    20
\newenvironment{mldecls}{\par\noindent\begingroup\def\isanewline{\\}\begin{tabular}{ll}}{\end{tabular}\medskip\endgroup}
wenzelm@28760
    21
\newcommand{\indexml}[1]{\index{#1 (ML value)|bold}}
wenzelm@28758
    22
wenzelm@26859
    23
%% math
wenzelm@26859
    24
\newcommand{\isactrlvec}[1]{\emph{$\overline{#1}$}}
wenzelm@26859
    25
\renewcommand{\isadigit}[1]{\isamath{#1}}
wenzelm@26738
    26
wenzelm@26738
    27
wenzelm@26865
    28
%% global style options
wenzelm@26738
    29
\pagestyle{headings}
wenzelm@26738
    30
\sloppy
wenzelm@26738
    31
wenzelm@26738
    32
\isabellestyle{it}
wenzelm@26859
    33
\underscoreon
wenzelm@26775
    34
\renewcommand{\isacharunderscore}{\_}
wenzelm@26775
    35
\renewcommand{\isacharunderscorekeyword}{\_}
wenzelm@26778
    36
\newcommand{\isasymdash}{\mbox{-}}