lib/texinputs/isabelle.sty
author wenzelm
Mon, 03 Apr 2000 14:02:40 +0200
changeset 8662 f9679ddbc492
parent 8512 9c5edbf5eefd
child 8713 05688a1a4f41
permissions -rw-r--r--
isapar, isamarkuptext, isamarkuptxt turned into environments;

%%
%% $Id$
%%
%% macros for Isabelle generated LaTeX output
%%

%%% Simple document preparation (based on theory token language)

% basic environment

\newcommand{\isabellestyle}{}
\newenvironment{isabelle}{%
\newdimen\@parindent\@parindent\parindent\parindent0pt%
\newdimen\@parskip\@parskip\parskip\parskip0pt%
\small\tt\slshape\isabellestyle}{}
\newcommand{\isanewline}{\mbox{}\\\mbox{}}

\chardef\isabraceleft=`\{
\chardef\isabraceright=`\}
\chardef\isatilde=`\~
\chardef\isacircum=`\^
\chardef\isabackslash=`\\


% keyword and section markup

\newcommand{\isacommand}[1]{\emph{\bf #1}}
\newcommand{\isakeyword}[1]{\emph{\bf #1}}
\newcommand{\isabeginblock}{\isakeyword{\{}}
\newcommand{\isaendblock}{\isakeyword{\}}}

\newcommand{\isamarkupheader}[1]{\section{#1}}
\newcommand{\isamarkupchapter}[1]{\chapter{#1}}
\newcommand{\isamarkupsection}[1]{\section{#1}}
\newcommand{\isamarkupsubsection}[1]{\subsection{#1}}
\newcommand{\isamarkupsubsubsection}[1]{\subsubsection{#1}}
\newcommand{\isamarkupsect}[1]{\section{#1}}
\newcommand{\isamarkupsubsect}[1]{\subsection{#1}}
\newcommand{\isamarkupsubsubsect}[1]{\subsubsection{#1}}

\newenvironment{isapar}{\parindent\@parindent\parskip\@parskip\par\medskip}{\par\smallskip}
\newenvironment{isamarkuptext}{\normalsize\rm\begin{isapar}}{\end{isapar}}
\newenvironment{isamarkuptxt}{\rm\begin{isapar}}{\end{isapar}}
\newcommand{\isamarkupcmt}[1]{{\rm--- #1}}