author | Walther Neuper <neuper@ist.tugraz.at> |
Thu, 12 Aug 2010 15:03:34 +0200 | |
branch | isac-from-Isabelle2009-2 |
changeset 37913 | 20e3616b2d9c |
parent 34990 | e59915c6a552 |
child 40264 | f9066b94bf07 |
permissions | -rw-r--r-- |
wenzelm@18537 | 1 |
%% toc |
wenzelm@18554 | 2 |
\newcommand{\tocentry}[1]{\cleardoublepage\phantomsection\addcontentsline{toc}{chapter}{#1} |
wenzelm@18554 | 3 |
\@mkboth{\MakeUppercase{#1}}{\MakeUppercase{#1}}} |
wenzelm@18537 | 4 |
|
wenzelm@18537 | 5 |
%% references |
wenzelm@18537 | 6 |
\newcommand{\secref}[1]{\S\ref{#1}} |
wenzelm@20470 | 7 |
\newcommand{\chref}[1]{chapter~\ref{#1}} |
wenzelm@18537 | 8 |
\newcommand{\figref}[1]{figure~\ref{#1}} |
wenzelm@18537 | 9 |
|
wenzelm@20497 | 10 |
%% math |
wenzelm@20497 | 11 |
\newcommand{\text}[1]{\mbox{#1}} |
wenzelm@20497 | 12 |
\newcommand{\isasymvartheta}{\isamath{\theta}} |
wenzelm@30102 | 13 |
\newcommand{\isactrlvec}[1]{\emph{$\vec{#1}$}} |
wenzelm@30089 | 14 |
\newcommand{\isactrlBG}{\isacharbackquoteopen} |
wenzelm@30089 | 15 |
\newcommand{\isactrlEN}{\isacharbackquoteclose} |
wenzelm@18537 | 16 |
|
wenzelm@18537 | 17 |
\setcounter{secnumdepth}{2} \setcounter{tocdepth}{2} |
wenzelm@18537 | 18 |
|
wenzelm@18537 | 19 |
\pagestyle{headings} |
wenzelm@18537 | 20 |
\sloppy |
wenzelm@18537 | 21 |
\binperiod |
wenzelm@18537 | 22 |
|
wenzelm@20451 | 23 |
\renewcommand{\isadigit}[1]{\isamath{#1}} |
wenzelm@20451 | 24 |
|
wenzelm@20547 | 25 |
\newenvironment{mldecls}{\par\noindent\begingroup\footnotesize\def\isanewline{\\}\begin{tabular}{l}}{\end{tabular}\smallskip\endgroup} |
wenzelm@18537 | 26 |
|
wenzelm@18537 | 27 |
\isafoldtag{FIXME} |
wenzelm@18537 | 28 |
\isakeeptag{mlref} |
wenzelm@18537 | 29 |
\renewcommand{\isatagmlref}{\subsection*{\makebox[0pt][r]{\fbox{\ML}~~}Reference}\begingroup\def\isastyletext{\rm}\small} |
wenzelm@18537 | 30 |
\renewcommand{\endisatagmlref}{\endgroup} |
wenzelm@18537 | 31 |
|
wenzelm@34990 | 32 |
\isakeeptag{mlex} |
wenzelm@34990 | 33 |
\renewcommand{\isatagmlex}{\subsection*{\makebox[0pt][r]{\fbox{\ML}~~}Examples}} |
wenzelm@34990 | 34 |
\renewcommand{\endisatagmlex}{} |
wenzelm@34990 | 35 |
|
wenzelm@34990 | 36 |
\renewcommand{\isatagML}{\begingroup\isabellestyle{default}\isastyle\def\isadigit##1{##1}} |
wenzelm@34990 | 37 |
\renewcommand{\endisatagML}{\endgroup} |
wenzelm@34990 | 38 |
|
wenzelm@22868 | 39 |
\newcommand{\minorcmd}[1]{{\sf #1}} |
wenzelm@22868 | 40 |
\newcommand{\isasymtype}{\minorcmd{type}} |
wenzelm@22868 | 41 |
\newcommand{\isasymval}{\minorcmd{val}} |
wenzelm@22868 | 42 |
|
wenzelm@30089 | 43 |
\newcommand{\isasymFIX}{\isakeyword{fix}} |
wenzelm@30089 | 44 |
\newcommand{\isasymASSUME}{\isakeyword{assume}} |
wenzelm@30089 | 45 |
\newcommand{\isasymDEFINE}{\isakeyword{define}} |
wenzelm@30089 | 46 |
\newcommand{\isasymNOTE}{\isakeyword{note}} |
wenzelm@20491 | 47 |
\newcommand{\isasymGUESS}{\isakeyword{guess}} |
wenzelm@20491 | 48 |
\newcommand{\isasymOBTAIN}{\isakeyword{obtain}} |
wenzelm@18537 | 49 |
\newcommand{\isasymTHEORY}{\isakeyword{theory}} |
wenzelm@18537 | 50 |
\newcommand{\isasymUSES}{\isakeyword{uses}} |
wenzelm@18537 | 51 |
\newcommand{\isasymEND}{\isakeyword{end}} |
wenzelm@18537 | 52 |
\newcommand{\isasymCONSTS}{\isakeyword{consts}} |
wenzelm@18537 | 53 |
\newcommand{\isasymDEFS}{\isakeyword{defs}} |
wenzelm@18537 | 54 |
\newcommand{\isasymTHEOREM}{\isakeyword{theorem}} |
wenzelm@20024 | 55 |
\newcommand{\isasymDEFINITION}{\isakeyword{definition}} |
wenzelm@18537 | 56 |
|
wenzelm@18537 | 57 |
\isabellestyle{it} |
wenzelm@34987 | 58 |
\underscoreon |
wenzelm@34987 | 59 |
\renewcommand{\isacharunderscore}{\_} |
wenzelm@34987 | 60 |
\renewcommand{\isacharunderscorekeyword}{\_} |
wenzelm@34987 | 61 |
\newcommand{\isasymdash}{\mbox{-}} |