Keith Wansbrough <[EMAIL PROTECTED]> writes:

> Use

> \begin{code}
> fac    0  = 0
> fac (n+1) = (n+1) * fac n
> \end{code}

> and then define the `code' environment to do verbatim typesetting.

...or just download one of the available LaTeX styles for lhs, and get
a bit of visual sugaring for free.

See        http://haskell.org/libraries/#tex

-kzm
-- 
If I haven't seen further, it is by standing in the footprints of giants
_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to