hlatex-0.3: A library to build valid LaTeX files

Safe HaskellSafe-Infered

Language.LaTeX.Builder

Contents

Synopsis

Documentation

(!$) :: Monoid b => (a -> b) -> a -> Writer b ()Source

(!$?) :: Monoid b => (a -> b) -> Writer a () -> Writer b ()Source

($?) :: (a -> b) -> Writer a () -> bSource

class HaveC a whereSource

Methods

c :: aSource

Instances

class HaveL a whereSource

Methods

l :: aSource

Instances

class HaveR a whereSource

Methods

r :: aSource

Instances

newtype Spaces Source

Constructors

Spaces 

Fields

countSpaces :: Int
 

Injecting declarations

Others

_LaTeX :: LatexItemSource

The LaTeX logo.

_P :: LatexItemSource

Paragraph sign (pilcrow).

_S :: LatexItemSource

Section symbol.

_TeX :: LatexItemSource

The TeX logo.

cedil :: LatexItem -> LatexItemSource

Add a cedila to a letter (c{...} in LaTeX)

cell :: a -> Row aSource

cells :: [a] -> Row aSource

cline :: Int -> Int -> Row aSource

copyright :: LatexItemSource

The copyright symbol, ©.

dag :: LatexItemSource

The dagger symbol (in text).

ddag :: LatexItemSource

The double dagger symbol (in text).

dquote :: LatexItem -> LatexItemSource

Double quote a LaTeX item.

ldots :: LatexItemSource

An ellipsis (three dots at the baseline): .... This command also works in math mode.

lq :: LatexItemSource

Left (opening) quote: `.

ldq :: LatexItemSource

Left (opening) double quotes: ``.

num :: Real a => a -> AnyItemSource

para :: LatexItem -> ParItemSource

Don't confuse paragraph with para, para is to make a paragraph, paragraph is to name a set of paragraphs.

pounds :: LatexItemSource

English pounds sterling.

rq :: LatexItemSource

Right (closing) quote: '.

rdq :: LatexItemSource

Right (opening) double quotes: ''.

sep :: LatexItemSource

sep is like '{}' in LaTeX, it allows to force letters to be treaten separately, for instance to separate the two fs in shelfful.

top :: HaveTop a => aSource

bot :: HaveBot a => aSource

bottom :: HaveBot a => aSource

normal :: HaveNormal a => aSource

Input Encodings (inputenc package)