HaTeX-3.0.0: LaTeX code writer.

Text.LaTeX.Base.Commands.Monad

Contents

Description

LaTeX standard commands and environments.

For contributors: This module was automatically generated by HaTeX-meta. So, please, don't make any change here directly, because this is intended to be generated from Text.LaTeX.Base.Commands module via HaTeX-meta, and therefore, changes must to be done in these places.

Synopsis

Documentation

raw :: Monad m => Text -> LaTeXT_ mSource

Insert a raw piece of Text. This functions doesn't care about LaTeX reserved characters, it insert the text just as it is received.

Preamble commands

title :: Monad m => LaTeXT_ m -> LaTeXT_ mSource

Set the title of your document.

author :: Monad m => LaTeXT_ m -> LaTeXT_ mSource

Set the author(s) of the document.

date :: Monad m => LaTeXT_ m -> LaTeXT_ mSource

Set a date for your document.

institute :: Monad m => Maybe (LaTeXT_ m) -> LaTeXT_ m -> LaTeXT_ mSource

Set either an institute or an organization for the document.

usepackage :: Monad m => [LaTeXT_ m] -> String -> LaTeXT_ mSource

Import a package. First argument is a list of options for the package named in the second argument.

Classes

Document classes

Class options

landscape :: Monad m => LaTeXT_ mSource

Changes the layout of the document to print in landscape mode

openright :: Monad m => LaTeXT_ mSource

Makes chapters begin either only on right hand pages

openany :: Monad m => LaTeXT_ mSource

Makes chapters begin on the next page available.

fleqn :: Monad m => LaTeXT_ mSource

Typesets displayed formulae left-aligned instead of centred.

leqno :: Monad m => LaTeXT_ mSource

Places the numbering of formulae on the left hand side instead of the right.

Paper sizes

Page styles

markboth :: Monad m => LaTeXT_ m -> LaTeXT_ m -> LaTeXT_ mSource

Used in conjunction with myheadings for setting both the left and the right heading.

markright :: Monad m => LaTeXT_ m -> LaTeXT_ mSource

Used in conjunction with myheadings for setting the right heading.

Body commands

maketitle :: Monad m => LaTeXT_ mSource

Generate the title. It normally contains the title name of your document, the author(s) and date.

Document structure

tableofcontents :: Monad m => LaTeXT_ mSource

Create the table of contents, automatically generated from your sections, subsections, and other related stuff.

Sections

section :: Monad m => LaTeXT_ m -> LaTeXT_ mSource

Start a new section with a given title.

Logos & symbols

latex :: Monad m => LaTeXT_ mSource

The LaTeX logo.

ldots :: Monad m => LaTeXT_ mSource

Horizontal dots.

vdots :: Monad m => LaTeXT_ mSource

Vertical dots.

ddots :: Monad m => LaTeXT_ mSource

Diagonal dots.

HaTeX specific

hatex :: Monad m => LaTeXT_ mSource

Print the HaTeX logo.

hatex3 :: Monad m => LaTeXT_ mSource

Print the HaTeX 3 logo.

hatex_meta :: Monad m => LaTeXT_ mSource

Print the HaTeX-meta logo.

hatex_version :: Monad m => LaTeXT_ mSource

Print the HaTeX logo, beside the complete version number.

Document layout

newline :: Monad m => LaTeXT_ mSource

Start a new line.

lnbk :: Monad m => LaTeXT_ mSource

Start a new line. In a tabular, it starts a new row, so use newline instead.

Formatting text

Fonts

Sizes

Environments

Page numbering

arabic :: Monad m => LaTeXT_ mSource

Arabic numerals.

roman :: Monad m => LaTeXT_ mSource

Lowercase roman numerals.

roman_ :: Monad m => LaTeXT_ mSource

Uppercase roman numerals.

alph :: Monad m => LaTeXT_ mSource

Lowercase letters.

alph_ :: Monad m => LaTeXT_ mSource

Uppercase letters.

Cross references

Boxes

rule :: Monad m => Maybe Measure -> Measure -> Measure -> LaTeXT_ mSource

Produce a simple black box.

Tables

tabular :: Monad m => Maybe Pos -> [TableSpec] -> LaTeXT_ m -> LaTeXT_ mSource

The tabular environment can be used to typeset tables with optional horizontal and vertical lines.

(&) :: Monad m => LaTeXT_ m -> LaTeXT_ m -> LaTeXT_ mSource

hline :: Monad m => LaTeXT_ mSource

Horizontal line.

cline :: Monad m => Int -> Int -> LaTeXT_ mSource

cline i j writes a partial horizontal line beginning in column i and ending in column j.

Others

qts :: Monad m => LaTeXT_ m -> LaTeXT_ mSource

Quotation marks.