doc-src/IsarRef/style.sty
author wenzelm
Thu, 13 Nov 2008 21:40:30 +0100
changeset 28758 4ce896a30f88
parent 26865 a3afbb414b69
child 28760 cbc435f7b16b
permissions -rw-r--r--
added bind_thm, bind_thms;
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@28758
    19
%% index
wenzelm@28758
    20
\newcommand{\indexml}[1]{\index{\emph{#1}|bold}}
wenzelm@28758
    21
\newcommand{\indexmlexception}[1]{\index{\emph{#1} (exception)|bold}}
wenzelm@28758
    22
\newcommand{\indexmltype}[1]{\index{\emph{#1} (type)|bold}}
wenzelm@28758
    23
\newcommand{\indexmlstructure}[1]{\index{\emph{#1} (structure)|bold}}
wenzelm@28758
    24
\newcommand{\indexmlfunctor}[1]{\index{\emph{#1} (functor)|bold}}
wenzelm@28758
    25
wenzelm@26859
    26
%% math
wenzelm@26859
    27
\newcommand{\isactrlvec}[1]{\emph{$\overline{#1}$}}
wenzelm@26859
    28
\renewcommand{\isadigit}[1]{\isamath{#1}}
wenzelm@26738
    29
wenzelm@26738
    30
wenzelm@26865
    31
%% global style options
wenzelm@26738
    32
\pagestyle{headings}
wenzelm@26738
    33
\sloppy
wenzelm@26738
    34
wenzelm@26738
    35
\isabellestyle{it}
wenzelm@26859
    36
\underscoreon
wenzelm@26775
    37
\renewcommand{\isacharunderscore}{\_}
wenzelm@26775
    38
\renewcommand{\isacharunderscorekeyword}{\_}
wenzelm@26778
    39
\newcommand{\isasymdash}{\mbox{-}}