Andrew Rock A.Rock@cit.gu.edu.au
Wed, 10 Jul 2002 08:50:12 +1000

On Wednesday, July 10, 2002, at 03:01  AM, Fran=E7ois B=E9dard wrote:

> I find it interesting that Haskell should make native provision for a=20=

> basic form of literate programming, and this immediately suggests, of=20=

> course, the possibility of mixing code with LaTeX commands.
> I've tried to address the question by redefining an existing =
> \usepackage{moreverb}
> \newenvironment{code}{\begin{verbatimtab}[4]}{\end{verbatimtab}}
> but moreverb and the like depend on verbatim which is apparently the=20=

> one environment you can't use like this and I'm no such LaTeX guru =
> I can come up with better alternatives.

Use the fancyvrb package.



module Main(main) where

Andrew Rock -- arock@cit.gu.edu.au -- http://www.cit.gu.edu.au/~arock/
School of Computing and Information Technology
Griffith University -- Nathan, Brisbane, Queensland 4111, Australia