HaTeX-3.4: The Haskell LaTeX library.

Safe HaskellNone

Text.LaTeX.Base.Types

Description

Some types shared along the library.

Synopsis

Documentation

type ClassName = StringSource

Class names are represented by a String.

type PackageName = StringSource

Package names are represented by a String.

data Pos Source

A vertical position.

Constructors

Bottom 
Center 
Top 

Instances

data TableSpec Source

Constructors

LeftColumn

Left-justified column.

CenterColumn

Centered column.

RightColumn

Right-justified column.

ParColumnTop LaTeX

Paragraph column with text vertically aligned at the top.

ParColumnMid LaTeX

Paragraph column with text vertically aligned at the middle. Requires array package.

ParColumnBot LaTeX

Paragraph column with text vertically aligned at the bottom. Requires array package.

VerticalLine

Vertical line between two columns.

DVerticalLine

Double vertical line between two columns.

data Measure Source

Constructors

Pt Int

A point is 1/72.27 inch, that means about 0.0138 inch or 0.3515 mm.

Mm Float

Millimeter.

Cm Float

Centimeter.

In Float

Inch.

Ex Float

The height of an "x" in the current font.

Em Float

The width of an "M" in the current font.

CustomMeasure LaTeX

You can introduce a LaTeX expression as a measure.