doc-src/IsarRef/style.sty
author wenzelm
Sun, 18 May 2008 15:04:41 +0200
changeset 26948 efe3e0e235d6
parent 26865 a3afbb414b69
child 28758 4ce896a30f88
permissions -rw-r--r--
Syntax.string_of_typ: proper context;


%% $Id$

%% toc
\newcommand{\tocentry}[1]{\cleardoublepage\phantomsection\addcontentsline{toc}{chapter}{#1}
\@mkboth{\MakeUppercase{#1}}{\MakeUppercase{#1}}}

\setcounter{secnumdepth}{2} \setcounter{tocdepth}{2}

%% references
\newcommand{\secref}[1]{\S\ref{#1}}
\newcommand{\chref}[1]{chapter~\ref{#1}}
\newcommand{\Chref}[1]{Chapter~\ref{#1}}
\newcommand{\appref}[1]{appendix~\ref{#1}}
\newcommand{\Appref}[1]{Appendix~\ref{#1}}
\newcommand{\figref}[1]{figure~\ref{#1}}
\newcommand{\Figref}[1]{Figure~\ref{#1}}

%% math
\newcommand{\isactrlvec}[1]{\emph{$\overline{#1}$}}
\renewcommand{\isadigit}[1]{\isamath{#1}}


%% global style options
\pagestyle{headings}
\sloppy

\isabellestyle{it}
\underscoreon
\renewcommand{\isacharunderscore}{\_}
\renewcommand{\isacharunderscorekeyword}{\_}
\newcommand{\isasymdash}{\mbox{-}}