author | wenzelm |
Mon, 03 Apr 2000 14:02:40 +0200 | |
changeset 8662 | f9679ddbc492 |
parent 8512 | 9c5edbf5eefd |
child 8713 | 05688a1a4f41 |
permissions | -rw-r--r-- |
7709 | 1 |
%% |
2 |
%% $Id$ |
|
3 |
%% |
|
4 |
%% macros for Isabelle generated LaTeX output |
|
5 |
%% |
|
6 |
||
7 |
%%% Simple document preparation (based on theory token language) |
|
8 |
||
7788 | 9 |
% basic environment |
10 |
||
8474 | 11 |
\newcommand{\isabellestyle}{} |
12 |
\newenvironment{isabelle}{% |
|
8489 | 13 |
\newdimen\@parindent\@parindent\parindent\parindent0pt% |
8512 | 14 |
\newdimen\@parskip\@parskip\parskip\parskip0pt% |
15 |
\small\tt\slshape\isabellestyle}{} |
|
7709 | 16 |
\newcommand{\isanewline}{\mbox{}\\\mbox{}} |
7752 | 17 |
|
7797 | 18 |
\chardef\isabraceleft=`\{ |
19 |
\chardef\isabraceright=`\} |
|
20 |
\chardef\isatilde=`\~ |
|
21 |
\chardef\isacircum=`\^ |
|
22 |
\chardef\isabackslash=`\\ |
|
7788 | 23 |
|
7797 | 24 |
|
25 |
% keyword and section markup |
|
7788 | 26 |
|
7918 | 27 |
\newcommand{\isacommand}[1]{\emph{\bf #1}} |
28 |
\newcommand{\isakeyword}[1]{\emph{\bf #1}} |
|
7797 | 29 |
\newcommand{\isabeginblock}{\isakeyword{\{}} |
30 |
\newcommand{\isaendblock}{\isakeyword{\}}} |
|
7758 | 31 |
|
8501 | 32 |
\newcommand{\isamarkupheader}[1]{\section{#1}} |
7752 | 33 |
\newcommand{\isamarkupchapter}[1]{\chapter{#1}} |
34 |
\newcommand{\isamarkupsection}[1]{\section{#1}} |
|
35 |
\newcommand{\isamarkupsubsection}[1]{\subsection{#1}} |
|
36 |
\newcommand{\isamarkupsubsubsection}[1]{\subsubsection{#1}} |
|
37 |
\newcommand{\isamarkupsect}[1]{\section{#1}} |
|
38 |
\newcommand{\isamarkupsubsect}[1]{\subsection{#1}} |
|
39 |
\newcommand{\isamarkupsubsubsect}[1]{\subsubsection{#1}} |
|
8662
f9679ddbc492
isapar, isamarkuptext, isamarkuptxt turned into environments;
wenzelm
parents:
8512
diff
changeset
|
40 |
|
f9679ddbc492
isapar, isamarkuptext, isamarkuptxt turned into environments;
wenzelm
parents:
8512
diff
changeset
|
41 |
\newenvironment{isapar}{\parindent\@parindent\parskip\@parskip\par\medskip}{\par\smallskip} |
f9679ddbc492
isapar, isamarkuptext, isamarkuptxt turned into environments;
wenzelm
parents:
8512
diff
changeset
|
42 |
\newenvironment{isamarkuptext}{\normalsize\rm\begin{isapar}}{\end{isapar}} |
f9679ddbc492
isapar, isamarkuptext, isamarkuptxt turned into environments;
wenzelm
parents:
8512
diff
changeset
|
43 |
\newenvironment{isamarkuptxt}{\rm\begin{isapar}}{\end{isapar}} |
7758 | 44 |
\newcommand{\isamarkupcmt}[1]{{\rm--- #1}} |