HaTeX-3.2.0.1: LaTeX code writer.

Safe HaskellNone

Text.LaTeX.Base

Description

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

Here is also defined a Num instance for LaTeX.

Synopsis

Documentation

data LaTeX Source

A LaTeX object represents some expression written in LaTeX.

Instances

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.