doc-src/IsarImplementation/style.sty
 author wenzelm Sun Nov 27 13:12:42 2011 +0100 (2011-11-27) changeset 45646 02afa20cf397 parent 42666 fee67c099d03 permissions -rw-r--r--
refined "literal" document style, with some correspondence to actual text source;
 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@29776  13 \newcommand{\isactrlvec}[1]{\emph{$\vec{#1}$}}  wenzelm@29763  14 \newcommand{\isactrlBG}{\isacharbackquoteopen}  wenzelm@29763  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@39861  23 \parindent 0pt\parskip 0.5ex  wenzelm@39861  24 wenzelm@20451  25 \renewcommand{\isadigit}[1]{\isamath{#1}}  wenzelm@20451  26 wenzelm@40400  27 \renewcommand{\isaantiqopen}{\isasymlbrace}  wenzelm@40400  28 \renewcommand{\isaantiqclose}{\isasymrbrace}  wenzelm@40400  29 wenzelm@20547  30 \newenvironment{mldecls}{\par\noindent\begingroup\footnotesize\def\isanewline{\\}\begin{tabular}{l}}{\end{tabular}\smallskip\endgroup}  wenzelm@18537  31 wenzelm@18537  32 \isafoldtag{FIXME}  wenzelm@39830  33 wenzelm@18537  34 \isakeeptag{mlref}  wenzelm@39830  35 \renewcommand{\isatagmlref}{\subsection*{\makebox[0pt][r]{\fbox{ML}~~}Reference}}  wenzelm@39830  36 \renewcommand{\endisatagmlref}{}  wenzelm@39830  37 wenzelm@39830  38 \isakeeptag{mlantiq}  wenzelm@39830  39 \renewcommand{\isatagmlantiq}{\subsection*{\makebox[0pt][r]{\fbox{ML}~~}Antiquotations}}  wenzelm@39830  40 \renewcommand{\endisatagmlantiq}{}  wenzelm@18537  41 wenzelm@34923  42 \isakeeptag{mlex}  wenzelm@39825  43 \renewcommand{\isatagmlex}{\subsection*{\makebox[0pt][r]{\fbox{ML}~~}Examples}}  wenzelm@34923  44 \renewcommand{\endisatagmlex}{}  wenzelm@34923  45 wenzelm@34923  46 \renewcommand{\isatagML}{\begingroup\isabellestyle{default}\isastyle\def\isadigit##1{##1}}  wenzelm@34923  47 \renewcommand{\endisatagML}{\endgroup}  wenzelm@34923  48 wenzelm@22868  49 \newcommand{\minorcmd}[1]{{\sf #1}}  wenzelm@22868  50 \newcommand{\isasymtype}{\minorcmd{type}}  wenzelm@22868  51 \newcommand{\isasymval}{\minorcmd{val}}  wenzelm@22868  52 wenzelm@29763  53 \newcommand{\isasymFIX}{\isakeyword{fix}}  wenzelm@29763  54 \newcommand{\isasymASSUME}{\isakeyword{assume}}  wenzelm@29763  55 \newcommand{\isasymDEFINE}{\isakeyword{define}}  wenzelm@29763  56 \newcommand{\isasymNOTE}{\isakeyword{note}}  wenzelm@20491  57 \newcommand{\isasymGUESS}{\isakeyword{guess}}  wenzelm@20491  58 \newcommand{\isasymOBTAIN}{\isakeyword{obtain}}  wenzelm@18537  59 \newcommand{\isasymTHEORY}{\isakeyword{theory}}  wenzelm@18537  60 \newcommand{\isasymUSES}{\isakeyword{uses}}  wenzelm@18537  61 \newcommand{\isasymEND}{\isakeyword{end}}  wenzelm@18537  62 \newcommand{\isasymCONSTS}{\isakeyword{consts}}  wenzelm@18537  63 \newcommand{\isasymDEFS}{\isakeyword{defs}}  wenzelm@18537  64 \newcommand{\isasymTHEOREM}{\isakeyword{theorem}}  wenzelm@20024  65 \newcommand{\isasymDEFINITION}{\isakeyword{definition}}  wenzelm@18537  66 wenzelm@45646  67 \isabellestyle{literal}  wenzelm@42653  68 wenzelm@42664  69 \railtermfont{\isabellestyle{tt}}  wenzelm@42664  70 \railnontermfont{\isabellestyle{itunderscore}}  wenzelm@42664  71 \railnamefont{\isabellestyle{itunderscore}}