hlatex-0.1: A library to build valid LaTeX files

Language.LaTeX.Types

Synopsis

Documentation

data Loc Source

Constructors

Loc 

Instances

data Named a Source

Constructors

Named String a 

Instances

data Star Source

Constructors

Star 
NoStar 

data TexUnit Source

Constructors

Sp

Scalled point (1pt = 65536sp)

Pt

Point unit size (1pt = 0.351mm)

Bp

Big point (1in = 72bp), also PostScript point

Dd

Didt point (1dd = 0.376mm)

Em

One em is about the width of the letter M in the current font

Ex

One ex is about the hoigh of the letter x in the current font

Cm

Centimeter unit size

Mm

Milimeter unit size (1mm = 2.845pt)

In

Inch unit size (1in = 72.27pt)

Pc

Picas (1pc = 12pt)

Cc

Cicero (1dd = 12dd = 4.531mm)

Mu

Math unit (18mu = 1em)

data LocSpec Source

Constructors

Lh 
Lt 
Lb 
Lp 

Instances

data Pos Source

Constructors

Centered

Centered (default).

FlushLeft

Flush left

FlushRight

Flush right

Stretch

Stretch (justify) across entire width; text must contain stretchable space for this to work.

data Row cell Source

Constructors

Cells [cell] 
Hline 
Cline Int Int 

Instances

Functor Row 
Typeable1 Row 
Foldable Row 
Traversable Row 
Eq cell => Eq (Row cell) 
Data cell => Data (Row cell) 
Show cell => Show (Row cell) 

data ListItm Source

Constructors

ListItm 

newtype Key Source

Constructors

MkKey 

Fields

getKey :: String
 

Instances

data LatexState Source

Constructors

LS 

newtype AnyItem Source

Constructors

AnyItem 

Fields

anyItmM :: LatexM AnyItm
 

newtype Encoding Source

Type for encodings used in commands like. usepackage[utf8]{inputenc}, that we can express as useInputenc utf8.

Constructors

Encoding 

Fields

fromEncoding :: String