Here, principal LaTeX commands and environments.
- documentclass :: [ClassOption] -> Class -> LaTeX
- usepackage :: [PackageOption] -> Package -> LaTeX
- pagestyle :: Style -> LaTeX
- thispagestyle :: Style -> LaTeX
- author :: Name -> LaTeX
- title :: Title -> LaTeX
- document :: LaTeX -> LaTeX
- lnbk :: LaTeX
- lnbk_ :: LaTeX
- pfbk :: LaTeX
- newpage :: LaTeX
- linebreak :: Int -> LaTeX
- nolinebreak :: Int -> LaTeX
- pagebreak :: Int -> LaTeX
- nopagebreak :: Int -> LaTeX
- fussy :: LaTeX
- sloppy :: LaTeX
- endsen :: LaTeX
- frenchspacing :: LaTeX
- par :: LaTeX
- include :: FilePath -> LaTeX
- includeonly :: [FilePath] -> LaTeX
- input :: FilePath -> LaTeX
- hyphenation :: [Word] -> LaTeX
- hyp :: LaTeX
- today :: LaTeX
- tex :: LaTeX
- latex :: LaTeX
- latexe :: LaTeX
- section :: Title -> LaTeX
- section_ :: Title -> LaTeX
- sectiontab :: Title -> Title -> LaTeX
- subsection :: Title -> LaTeX
- subsection_ :: Title -> LaTeX
- subsectiontab :: Title -> Title -> LaTeX
- subsubsection :: Title -> LaTeX
- subsubsection_ :: Title -> LaTeX
- subsubsectiontab :: Title -> Title -> LaTeX
- paragraph :: Title -> LaTeX
- paragraph_ :: Title -> LaTeX
- paragraphtab :: Title -> Title -> LaTeX
- subparagraph :: Title -> LaTeX
- subparagraph_ :: Title -> LaTeX
- subparagraphtab :: Title -> Title -> LaTeX
- part :: Title -> LaTeX
- part_ :: Title -> LaTeX
- parttab :: Title -> Title -> LaTeX
- chapter :: Title -> LaTeX
- chapter_ :: Title -> LaTeX
- chaptertab :: Title -> Title -> LaTeX
- appendix :: LaTeX
- maketitle :: LaTeX
- tableofcontents :: LaTeX
- frontmatter :: LaTeX
- mainmatter :: LaTeX
- backmatter :: LaTeX
- label :: Marker -> LaTeX
- ref :: Marker -> LaTeX
- pageref :: Marker -> LaTeX
- footnote :: Text -> LaTeX
- underline :: Text -> LaTeX
- emph :: Text -> LaTeX
- itemize :: LaTeX -> LaTeX
- enumerate :: LaTeX -> LaTeX
- description :: LaTeX -> LaTeX
- item :: [ItemOption] -> LaTeX
- flushleft :: LaTeX -> LaTeX
- flushright :: LaTeX -> LaTeX
- center :: LaTeX -> LaTeX
- quote :: LaTeX -> LaTeX
- quotation :: LaTeX -> LaTeX
- verse :: LaTeX -> LaTeX
- abstract :: LaTeX -> LaTeX
- verbatim :: LaTeX -> LaTeX
- verbatim_ :: LaTeX -> LaTeX
- verb :: LaTeX -> LaTeX
- verb_ :: LaTeX -> LaTeX
- figure :: [PlacementSpecifier] -> LaTeX -> LaTeX
- table :: [PlacementSpecifier] -> LaTeX -> LaTeX
- caption :: Text -> LaTeX
- listoffigures :: LaTeX
- listoftables :: LaTeX
- clearpage :: LaTeX
- cleardoublepage :: LaTeX
- newcommand :: Name -> [Int] -> LaTeX -> LaTeX
- renewcommand :: Name -> [Int] -> LaTeX -> LaTeX
- providecommand :: Name -> [Int] -> LaTeX -> LaTeX
- newenvironment :: Name -> [Int] -> LaTeX -> LaTeX -> LaTeX
- ignorespaces :: LaTeX
- ignorespacesafterend :: LaTeX
- providesPackage :: Name -> LaTeX
- textrm :: LaTeX -> LaTeX
- texttt :: LaTeX -> LaTeX
- textmd :: LaTeX -> LaTeX
- textup :: LaTeX -> LaTeX
- textsl :: LaTeX -> LaTeX
- textsf :: LaTeX -> LaTeX
- textbf :: LaTeX -> LaTeX
- textit :: LaTeX -> LaTeX
- textsc :: LaTeX -> LaTeX
- textnormal :: 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
- linespread :: Float -> LaTeX
- hspace :: LaTeX -> LaTeX
- hspace_ :: LaTeX -> LaTeX
- vspace :: LaTeX -> LaTeX
- vspace_ :: LaTeX -> LaTeX
- stretch :: Int -> LaTeX
- skip :: LaTeX -> LaTeX
- bigskip :: LaTeX
- smallskip :: LaTeX
- mbox :: LaTeX -> LaTeX
- mbox_ :: LaTeX
- fbox :: LaTeX -> LaTeX
- parbox :: [Char] -> Width -> LaTeX -> LaTeX
- minipage :: [Char] -> Width -> LaTeX -> LaTeX
- makebox :: [Width] -> [Char] -> LaTeX -> LaTeX
- framebox :: [Width] -> [Char] -> LaTeX -> LaTeX
- raisebox :: Lift -> [Extend] -> [Extend] -> LaTeX -> LaTeX
- type Tabular = LaTeX
- cjustified :: Width -> LaTeX
- csep :: LaTeX -> LaTeX
- tabular :: [LaTeX] -> LaTeX -> LaTeX -> Tabular
- (&) :: LaTeX -> LaTeX -> LaTeX
- (//) :: LaTeX -> LaTeX -> LaTeX
- hline :: LaTeX
- cline :: Int -> Int -> LaTeX
- multicolumn :: Int -> LaTeX -> LaTeX -> LaTeX
- type LxMatrix = [[LaTeX]]
- matrixTab :: [LaTeX] -> LaTeX -> LxMatrix -> Tabular
- protect :: LaTeX
- phantom :: LaTeX -> LaTeX
Document's Properties
documentclass :: [ClassOption] -> Class -> LaTeXSource
In header, determines the document class.
usepackage :: [PackageOption] -> Package -> LaTeXSource
In header, import a package.
thispagestyle :: Style -> LaTeXSource
A local version of pagestyle
, to use for any page.
Document Environment
Text order
nolinebreak :: Int -> LaTeXSource
nopagebreak :: Int -> LaTeXSource
Importing
includeonly :: [FilePath] -> LaTeXSource
Hyphenation
hyphenation :: [Word] -> LaTeXSource
Pre-made
Sections
sectiontab :: Title -> Title -> LaTeXSource
subsection :: Title -> LaTeXSource
subsection_ :: Title -> LaTeXSource
subsectiontab :: Title -> Title -> LaTeXSource
subsubsection :: Title -> LaTeXSource
subsubsection_ :: Title -> LaTeXSource
subsubsectiontab :: Title -> Title -> LaTeXSource
paragraph_ :: Title -> LaTeXSource
paragraphtab :: Title -> Title -> LaTeXSource
subparagraph :: Title -> LaTeXSource
subparagraph_ :: Title -> LaTeXSource
subparagraphtab :: Title -> Title -> LaTeXSource
chaptertab :: Title -> Title -> LaTeXSource
tableofcontents :: LaTeXSource
Generates the table of contents.
Cross references
Footnotes
Emphasized
Environments
description :: LaTeX -> LaTeXSource
item :: [ItemOption] -> LaTeXSource
flushright :: LaTeX -> LaTeXSource
Right alignment.
verbatim :: LaTeX -> LaTeXSource
A text within the verbatim
environment has monospaced font
and no commands or environments will be executed.
Floating Bodies
figure :: [PlacementSpecifier] -> LaTeX -> LaTeXSource
table :: [PlacementSpecifier] -> LaTeX -> LaTeXSource
Customizing
providesPackage :: Name -> LaTeXSource
Fonts
Format
textnormal :: LaTeX -> LaTeXSource
Default font
Size
Differents fonts size are sorted from lowest to highest.
scriptsize :: LaTeX -> LaTeXSource
footnotesize :: LaTeX -> LaTeXSource
normalsize :: LaTeX -> LaTeXSource
Spacing
linespread :: Float -> LaTeXSource
hspace :: LaTeX -> LaTeXSource
Creates an horizontal spaces with length specified by the argument. See Text.LaTeX.Arguments to create a correct argument.
Boxes
Tabular
cjustified :: Width -> LaTeXSource
tabular :: [LaTeX] -> LaTeX -> LaTeX -> TabularSource
The tabular
environment can be used to creates tables.
- First argument specifies vertical position:
"c"
(center),"t"
(top) and"b"
(bottom). Example:["t"]
- Second argument specifies table's format:
"l"
(left-aligned text column),"r"
(right-aligned text column),"c"
(center text column),cjustified
(justified text column) and"|"
(vertical line). Example:"|l|r|"
- Third argument refers to table's content:
hline
inserts an horizontal line,cline
inserts a partial horizontal line, (&
) separates columns and (//
) separates rows.
Insert a partial horizontal line in a tabular
.