basic setup for ML examples: tag "mlex";
authorwenzelm
Fri, 29 Jan 2010 23:57:57 +0100
changeset 34923 e59915c6a552
parent 34922 e35f608f81a2
child 34924 520727474bbe
basic setup for ML examples: tag "mlex";
doc-src/IsarImplementation/style.sty
--- a/doc-src/IsarImplementation/style.sty	Thu Jan 28 22:39:48 2010 +0100
+++ b/doc-src/IsarImplementation/style.sty	Fri Jan 29 23:57:57 2010 +0100
@@ -29,6 +29,13 @@
 \renewcommand{\isatagmlref}{\subsection*{\makebox[0pt][r]{\fbox{\ML}~~}Reference}\begingroup\def\isastyletext{\rm}\small}
 \renewcommand{\endisatagmlref}{\endgroup}
 
+\isakeeptag{mlex}
+\renewcommand{\isatagmlex}{\subsection*{\makebox[0pt][r]{\fbox{\ML}~~}Examples}}
+\renewcommand{\endisatagmlex}{}
+
+\renewcommand{\isatagML}{\begingroup\isabellestyle{default}\isastyle\def\isadigit##1{##1}}
+\renewcommand{\endisatagML}{\endgroup}
+
 \newcommand{\minorcmd}[1]{{\sf #1}}
 \newcommand{\isasymtype}{\minorcmd{type}}
 \newcommand{\isasymval}{\minorcmd{val}}