HaTeX-3.13.0.1: The Haskell LaTeX library.

Safe HaskellNone

Text.LaTeX.Packages.AMSThm

Contents

Description

Package for theorem environments.

Synopsis

AMSThm package

amsthm :: PackageNameSource

AMSThm package. Example:

 usepackage [] amsthm

AMSThm functions

newtheorem :: LaTeXC l => String -> l -> lSource

Create a new theorem environment type. Arguments are environment name (this will be the argument when using the theorem function) and the displayed title.

For example:

 newtheorem "prop" "Proposition"
 theorem "prop" "This is it."

theorem :: LaTeXC l => String -> l -> lSource

Use a environment created by newtheorem.

proof :: LaTeXC l => Maybe l -> l -> lSource

The proof environment. The first optional argument is used to put a custom title to the proof.

qedhere :: LaTeXC l => lSource

Insert the QED symbol.

theoremstyle :: LaTeXC l => TheoremStyle -> lSource

Set the theorem style. Call this function in the preamble.