HaTeX- LaTeX code writer.

Safe HaskellNone



This module exports those minimal things you need to work with HaTeX. Those things are:

Here is also defined a Num instance for LaTeX.



data LaTeX Source

A LaTeX object represents some expression written in LaTeX.


Eq LaTeX 
Num LaTeX

Methods abs and signum are undefined. Don't use them!

Show LaTeX 
IsString LaTeX

Method fromString escapes LaTeX reserved characters.

Monoid LaTeX

Method mappend is strict in both arguments (except in the case when the first argument is TeXEmpty).

Render LaTeX 

(<>) :: Monoid m => m -> m -> m

An infix synonym for mappend.