doc-src/IsarAdvanced/Functions/style.sty
author nipkow
Sun, 22 Feb 2009 17:25:28 +0100
changeset 30056 0a35bee25c20
parent 26781 861e06a047c5
child 29757 ce2b8e6502f9
permissions -rw-r--r--
added lemmas


%% $Id$

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

%% references
\newcommand{\secref}[1]{\S\ref{#1}}
\newcommand{\chref}[1]{chapter~\ref{#1}}
\newcommand{\figref}[1]{figure~\ref{#1}}

%% glossary
\renewcommand{\glossary}[2]{\nomenclature{\bf #1}{#2}}
\newcommand{\seeglossary}[1]{\emph{#1}}
\newcommand{\glossaryname}{Glossary}
\renewcommand{\nomname}{\glossaryname}
\renewcommand{\pagedeclaration}[1]{\nobreak\quad\dotfill~page~\bold{#1}}

%% index
\newcommand{\indexml}[1]{\index{\emph{#1}|bold}}
\newcommand{\indexmltype}[1]{\index{\emph{#1} (type)|bold}}
\newcommand{\indexmlstructure}[1]{\index{\emph{#1} (structure)|bold}}
\newcommand{\indexmlfunctor}[1]{\index{\emph{#1} (functor)|bold}}

%% math
\newcommand{\text}[1]{\mbox{#1}}
\newcommand{\isasymvartheta}{\isamath{\theta}}
\newcommand{\isactrlvec}[1]{\emph{$\overline{#1}$}}

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

\pagestyle{headings}
\sloppy
\binperiod
\underscoreon

\renewcommand{\isadigit}[1]{\isamath{#1}}

\newenvironment{mldecls}{\par\noindent\begingroup\footnotesize\def\isanewline{\\}\begin{tabular}{l}}{\end{tabular}\smallskip\endgroup}

\isafoldtag{FIXME}
\isakeeptag{mlref}
\renewcommand{\isatagmlref}{\subsection*{\makebox[0pt][r]{\fbox{\ML}~~}Reference}\begingroup\def\isastyletext{\rm}\small}
\renewcommand{\endisatagmlref}{\endgroup}

\newcommand{\isasymGUESS}{\isakeyword{guess}}
\newcommand{\isasymOBTAIN}{\isakeyword{obtain}}
\newcommand{\isasymTHEORY}{\isakeyword{theory}}
\newcommand{\isasymUSES}{\isakeyword{uses}}
\newcommand{\isasymEND}{\isakeyword{end}}
\newcommand{\isasymCONSTS}{\isakeyword{consts}}
\newcommand{\isasymDEFS}{\isakeyword{defs}}
\newcommand{\isasymTHEOREM}{\isakeyword{theorem}}
\newcommand{\isasymDEFINITION}{\isakeyword{definition}}

\isabellestyle{it}

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: "implementation"
%%% End: