doc-src/IsarRef/style.sty
author wenzelm
Fri, 09 May 2008 23:19:49 +0200
changeset 26865 a3afbb414b69
parent 26859 b9ab6246765e
child 28758 4ce896a30f88
permissions -rw-r--r--
removed obsolete macros for Isar commands etc.;
tuned;
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@26859
    19
%% math
wenzelm@26859
    20
\newcommand{\isactrlvec}[1]{\emph{$\overline{#1}$}}
wenzelm@26859
    21
\renewcommand{\isadigit}[1]{\isamath{#1}}
wenzelm@26738
    22
wenzelm@26738
    23
wenzelm@26865
    24
%% global style options
wenzelm@26738
    25
\pagestyle{headings}
wenzelm@26738
    26
\sloppy
wenzelm@26738
    27
wenzelm@26738
    28
\isabellestyle{it}
wenzelm@26859
    29
\underscoreon
wenzelm@26775
    30
\renewcommand{\isacharunderscore}{\_}
wenzelm@26775
    31
\renewcommand{\isacharunderscorekeyword}{\_}
wenzelm@26778
    32
\newcommand{\isasymdash}{\mbox{-}}