equal
deleted
inserted
replaced
4 %% macros for Isabelle generated LaTeX output |
4 %% macros for Isabelle generated LaTeX output |
5 %% |
5 %% |
6 |
6 |
7 %%% Simple document preparation (based on theory token language) |
7 %%% Simple document preparation (based on theory token language) |
8 |
8 |
9 % basic environment |
9 % basic isabelle environment |
10 |
10 |
|
11 \newcommand{\isabelledefaultstyle}{\small\tt\slshape} |
11 \newcommand{\isabellestyle}{} |
12 \newcommand{\isabellestyle}{} |
|
13 |
|
14 \newdimen\isa@parindent\newdimen\isa@parskip |
12 \newenvironment{isabelle}{% |
15 \newenvironment{isabelle}{% |
13 \newdimen\@parindent\@parindent\parindent\parindent0pt% |
16 \isa@parindent\parindent\parindent0pt% |
14 \newdimen\@parskip\@parskip\parskip\parskip0pt% |
17 \isa@parskip\parskip\parskip0pt% |
15 \small\tt\slshape\isabellestyle}{} |
18 \isabelledefaultstyle\isabellestyle}{} |
|
19 |
|
20 \newcommand{\isa}[1]{\emph{\isabelledefaultstyle\isabellestyle #1}} |
|
21 |
16 \newcommand{\isanewline}{\mbox{}\\\mbox{}} |
22 \newcommand{\isanewline}{\mbox{}\\\mbox{}} |
17 |
23 |
18 \chardef\isabraceleft=`\{ |
24 \chardef\isabraceleft=`\{ |
19 \chardef\isabraceright=`\} |
25 \chardef\isabraceright=`\} |
20 \chardef\isatilde=`\~ |
26 \chardef\isatilde=`\~ |
36 \newcommand{\isamarkupsubsubsection}[1]{\subsubsection{#1}} |
42 \newcommand{\isamarkupsubsubsection}[1]{\subsubsection{#1}} |
37 \newcommand{\isamarkupsect}[1]{\section{#1}} |
43 \newcommand{\isamarkupsect}[1]{\section{#1}} |
38 \newcommand{\isamarkupsubsect}[1]{\subsection{#1}} |
44 \newcommand{\isamarkupsubsect}[1]{\subsection{#1}} |
39 \newcommand{\isamarkupsubsubsect}[1]{\subsubsection{#1}} |
45 \newcommand{\isamarkupsubsubsect}[1]{\subsubsection{#1}} |
40 |
46 |
41 \newenvironment{isapar}{\parindent\@parindent\parskip\@parskip\par\medskip}{\par\smallskip} |
47 \newenvironment{isapar}{\parindent\isa@parindent\parskip\isa@parskip\par\medskip}{\par\smallskip} |
42 \newenvironment{isamarkuptext}{\normalsize\rm\begin{isapar}}{\end{isapar}} |
48 \newenvironment{isamarkuptext}{\normalsize\rm\begin{isapar}}{\end{isapar}} |
43 \newenvironment{isamarkuptxt}{\rm\begin{isapar}}{\end{isapar}} |
49 \newenvironment{isamarkuptxt}{\rm\begin{isapar}}{\end{isapar}} |
44 \newcommand{\isamarkupcmt}[1]{{\rm--- #1}} |
50 \newcommand{\isamarkupcmt}[1]{{\rm--- #1}} |