First: thanks for all the feedback! I seem to have touched a hot topic
there...


> The {code} environments is part of the Glasgow literate programming
> markup that was (and to some extent is) used with the GHC sources.

Meanwhile, I found a quick hack that fits my needs perfectly well:
create a file `project.tex' that \inputs the Glasgow-lit style (i.e.
with {code} environments) haskell code. There, load the package
verbatim and patch it like this:

\newenvironment{smallverb}{\small\verbatim}{\endverbatim\normalsize}
\newcommand{\smalltt}[1]{\texttt{\small#1}}
\newenvironment{code}{\small\verbatim}{\endverbatim\normalsize}

However, for true pretty printed haskell code, this is not enough.


Cheers,
 Matthias




--
Max-Planck-Institut f�r Informatik  |  Deutsches Forschungszentrum f�r KI
[EMAIL PROTECTED]                   |                    [EMAIL PROTECTED]
http://www.mpi-sb.mpg.de/~fis       |

Reply via email to