Safe Haskell | None |
---|
LaTeX standard commands and environments.
- raw :: Text -> LaTeX
- between :: LaTeX -> LaTeX -> LaTeX -> LaTeX
- title :: LaTeX -> LaTeX
- author :: LaTeX -> LaTeX
- date :: LaTeX -> LaTeX
- institute :: Maybe LaTeX -> LaTeX -> LaTeX
- thanks :: LaTeX -> LaTeX
- documentclass :: [ClassOption] -> ClassName -> LaTeX
- usepackage :: [LaTeX] -> PackageName -> LaTeX
- linespread :: Float -> LaTeX
- article :: ClassName
- proc :: ClassName
- report :: ClassName
- minimal :: ClassName
- book :: ClassName
- slides :: ClassName
- data ClassOption
- customopt :: String -> ClassOption
- draft :: ClassOption
- titlepage :: ClassOption
- notitlepage :: ClassOption
- onecolumn :: ClassOption
- twocolumn :: ClassOption
- oneside :: ClassOption
- twoside :: ClassOption
- landscape :: ClassOption
- openright :: ClassOption
- openany :: ClassOption
- fleqn :: ClassOption
- leqno :: ClassOption
- data PaperType
- a0paper :: ClassOption
- a1paper :: ClassOption
- a2paper :: ClassOption
- a3paper :: ClassOption
- a4paper :: ClassOption
- a5paper :: ClassOption
- a6paper :: ClassOption
- b0paper :: ClassOption
- b1paper :: ClassOption
- b2paper :: ClassOption
- b3paper :: ClassOption
- b4paper :: ClassOption
- b5paper :: ClassOption
- b6paper :: ClassOption
- letterpaper :: ClassOption
- executivepaper :: ClassOption
- legalpaper :: ClassOption
- pagestyle :: LaTeX -> LaTeX
- thispagestyle :: LaTeX -> LaTeX
- plain :: LaTeX
- headings :: LaTeX
- empty :: LaTeX
- myheadings :: LaTeX
- markboth :: LaTeX -> LaTeX -> LaTeX
- markright :: LaTeX -> LaTeX
- document :: LaTeX -> LaTeX
- maketitle :: LaTeX
- tableofcontents :: LaTeX
- abstract :: LaTeX -> LaTeX
- appendix :: LaTeX
- part :: LaTeX -> LaTeX
- chapter :: LaTeX -> LaTeX
- section :: LaTeX -> LaTeX
- subsection :: LaTeX -> LaTeX
- subsubsection :: LaTeX -> LaTeX
- paragraph :: LaTeX -> LaTeX
- subparagraph :: LaTeX -> LaTeX
- today :: LaTeX
- tex :: LaTeX
- latex :: LaTeX
- laTeX2 :: LaTeX
- laTeXe :: LaTeX
- ldots :: LaTeX
- vdots :: LaTeX
- ddots :: LaTeX
- hatex :: LaTeX
- hatex3 :: LaTeX
- hatex_meta :: LaTeX
- hatex_version :: LaTeX
- par :: LaTeX
- newline :: LaTeX
- lnbk :: LaTeX
- lnbk_ :: LaTeX
- newpage :: LaTeX
- cleardoublepage :: LaTeX
- clearpage :: LaTeX
- linebreak :: LaTeX -> LaTeX
- nolinebreak :: LaTeX -> LaTeX
- pagebreak :: LaTeX -> LaTeX
- nopagebreak :: LaTeX -> LaTeX
- hspace :: Measure -> LaTeX
- hspace_ :: Measure -> LaTeX
- vspace :: Measure -> LaTeX
- stretch :: Int -> LaTeX
- smallskip :: LaTeX
- bigskip :: LaTeX
- indent :: LaTeX
- noindent :: LaTeX
- textwidth :: LaTeX
- linewidth :: LaTeX
- verbatim :: LaTeX -> LaTeX
- textbf :: LaTeX -> LaTeX
- textit :: LaTeX -> LaTeX
- texttt :: LaTeX -> LaTeX
- textrm :: LaTeX -> LaTeX
- textsf :: LaTeX -> LaTeX
- textmd :: LaTeX -> LaTeX
- textup :: LaTeX -> LaTeX
- textsl :: LaTeX -> LaTeX
- textsc :: LaTeX -> LaTeX
- textnormal :: LaTeX -> LaTeX
- underline :: LaTeX -> LaTeX
- emph :: LaTeX -> LaTeX
- tiny :: LaTeX -> LaTeX
- scriptsize :: LaTeX -> LaTeX
- footnotesize :: LaTeX -> LaTeX
- small :: LaTeX -> LaTeX
- normalsize :: LaTeX -> LaTeX
- large :: LaTeX -> LaTeX
- large2 :: LaTeX -> LaTeX
- large3 :: LaTeX -> LaTeX
- huge :: LaTeX -> LaTeX
- huge2 :: LaTeX -> LaTeX
- equation :: LaTeX -> LaTeX
- equation_ :: LaTeX -> LaTeX
- enumerate :: LaTeX -> LaTeX
- itemize :: LaTeX -> LaTeX
- item :: Maybe LaTeX -> LaTeX
- flushleft :: LaTeX -> LaTeX
- flushright :: LaTeX -> LaTeX
- center :: LaTeX -> LaTeX
- quote :: LaTeX -> LaTeX
- verse :: LaTeX -> LaTeX
- cite :: LaTeX -> LaTeX
- description :: LaTeX -> LaTeX
- minipage :: Maybe Pos -> LaTeX -> LaTeX -> LaTeX
- pagenumbering :: LaTeX -> LaTeX
- arabic :: LaTeX
- roman :: LaTeX
- roman_ :: LaTeX
- alph :: LaTeX
- alph_ :: LaTeX
- mbox :: LaTeX -> LaTeX
- fbox :: LaTeX -> LaTeX
- parbox :: Maybe Pos -> Measure -> LaTeX -> LaTeX
- framebox :: Maybe Measure -> Maybe Pos -> LaTeX -> LaTeX
- makebox :: Maybe Measure -> Maybe Pos -> LaTeX -> LaTeX
- raisebox :: Measure -> Maybe Measure -> Maybe Measure -> LaTeX -> LaTeX
- rule :: Maybe Measure -> Measure -> Measure -> LaTeX
- label :: Label -> LaTeX
- ref :: Label -> LaTeX
- pageref :: Label -> LaTeX
- tabular :: Maybe Pos -> [TableSpec] -> LaTeX -> LaTeX
- (&) :: LaTeX -> LaTeX -> LaTeX
- hline :: LaTeX
- cline :: Int -> Int -> LaTeX
- footnote :: LaTeX -> LaTeX
- protect :: LaTeX -> LaTeX
- hyphenation :: LaTeX -> LaTeX
- hyp :: LaTeX
- qts :: LaTeX -> LaTeX
Basic functions
Insert a raw piece of Text
.
This functions doesn't care about LaTeX
reserved characters,
it insert the text just as it is received.
between :: LaTeX -> LaTeX -> LaTeX -> LaTeXSource
Calling between
c l1 l2
puts c
between l1
and l2
and
appends them.
Preamble commands
institute :: Maybe LaTeX -> LaTeX -> LaTeXSource
Set either an institute or an organization for the document.
:: [ClassOption] | Class options |
-> ClassName | Class name |
-> LaTeX |
Set the document class. Needed in all documents.
usepackage :: [LaTeX] -> PackageName -> LaTeXSource
Import a package. First argument is a list of options for the package named in the second argument.
linespread :: Float -> LaTeXSource
Classes
Document classes
Class options
data ClassOption Source
A class option to be passed to the documentclass
function.
customopt :: String -> ClassOptionSource
landscape :: ClassOptionSource
Changes the layout of the document to print in landscape mode
openright :: ClassOptionSource
Makes chapters begin either only on right hand pages
Makes chapters begin on the next page available.
Typesets displayed formulae left-aligned instead of centred.
Places the numbering of formulae on the left hand side instead of the right.
Paper sizes
LaTeX available paper types.
Page styles
thispagestyle :: LaTeX -> LaTeXSource
markboth :: LaTeX -> LaTeX -> LaTeXSource
Used in conjunction with myheadings
for setting both the left and the right heading.
markright :: LaTeX -> LaTeXSource
Used in conjunction with myheadings
for setting the right heading.
Body commands
Document structure
tableofcontents :: LaTeXSource
Create the table of contents, automatically generated
from your section
s, subsection
s, and other related stuff.
Sections
subsection :: LaTeX -> LaTeXSource
subsubsection :: LaTeX -> LaTeXSource
subparagraph :: LaTeX -> LaTeXSource
Logos & symbols
HaTeX specific
Print the HaTeX-meta logo.
Print the HaTeX logo, beside the complete version number.
Document layout
nolinebreak :: LaTeX -> LaTeXSource
nopagebreak :: LaTeX -> LaTeXSource
Document measures
Formatting text
Fonts
textnormal :: LaTeX -> LaTeXSource
Sizes
scriptsize :: LaTeX -> LaTeXSource
footnotesize :: LaTeX -> LaTeXSource
normalsize :: LaTeX -> LaTeXSource
Environments
flushright :: LaTeX -> LaTeXSource
description :: LaTeX -> LaTeXSource
Minipage environments.
Page numbering
pagenumbering :: LaTeX -> LaTeXSource
Boxes
Produce a simple black box.
Cross references
Tables
:: Maybe Pos | This optional parameter can be used to specify the vertical position of the table.
Defaulted to |
-> [TableSpec] | Table specification of columns and vertical lines. |
-> LaTeX | |
-> LaTeX | Resulting table syntax. |
The tabular
environment can be used to typeset tables with optional horizontal and vertical lines.
cline :: Int -> Int -> LaTeXSource
cline i j
writes a partial horizontal line beginning in column i
and ending in column j
.
Others
hyphenation :: LaTeX -> LaTeXSource