hlatex-0.3.1: A library to build valid LaTeX files

Safe HaskellNone
LanguageHaskell98

Language.LaTeX.Builder

Contents

Synopsis

Documentation

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

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

($?) :: (a -> b) -> Writer a () -> b infixr 0 Source

class HaveC a where Source

Methods

c :: a Source

Instances

class HaveL a where Source

Methods

l :: a Source

Instances

class HaveR a where Source

Methods

r :: a Source

Instances

newtype Spaces Source

Constructors

Spaces 

Fields

countSpaces :: Int
 

Injecting declarations

Others

_LaTeX :: LatexItem Source

The LaTeX logo.

_P :: LatexItem Source

Paragraph sign (pilcrow).

_S :: LatexItem Source

Section symbol.

_TeX :: LatexItem Source

The TeX logo.

bf :: TexDecl Source

Deprecated: Use textbf or bfseries instead

cedil :: LatexItem -> LatexItem Source

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

cell :: a -> Row a Source

cells :: [a] -> Row a Source

cline :: Int -> Int -> Row a Source

copyright :: LatexItem Source

The copyright symbol, ©.

dag :: LatexItem Source

The dagger symbol (in text).

ddag :: LatexItem Source

The double dagger symbol (in text).

dquote :: LatexItem -> LatexItem Source

Double quote a LaTeX item.

em :: TexDecl Source

Deprecated: Use emph instead

it :: TexDecl Source

Deprecated: Use textit or itshape instead

ldots :: LatexItem Source

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

lq :: LatexItem Source

Left (opening) quote: `.

ldq :: LatexItem Source

Left (opening) double quotes: ``.

num :: Real a => a -> AnyItem Source

para :: LatexItem -> ParItem Source

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

pounds :: LatexItem Source

English pounds sterling.

rm :: TexDecl Source

Deprecated: Use textrm or rmfamily instead

rq :: LatexItem Source

Right (closing) quote: '.

rdq :: LatexItem Source

Right (opening) double quotes: ''.

rtext :: a -> RowSpec a Source

sc :: TexDecl Source

Deprecated: Use textsc or scshape instead

sep :: LatexItem Source

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

sf :: TexDecl Source

Deprecated: Use textsf or sffamily instead

sl :: TexDecl Source

Deprecated: Use textsl or slshape instead

tt :: TexDecl Source

Deprecated: Use texttt or ttfamily instead

top :: HaveTop a => a Source

bot :: HaveBot a => a Source

bottom :: HaveBot a => a Source

normal :: HaveNormal a => a Source

Input Encodings (inputenc package)