module Text.LaTeX.Packages.AMSFonts
(
amsfonts
, mathbb, mathfrak
, naturals, integers, rationals, reals
, complexes, trealPart, timagPart
) where
import Text.LaTeX.Base.Class
import Text.LaTeX.Base.Types
import Data.Monoid
amsfonts :: ClassName
amsfonts = "amsfonts"
mathbb :: LaTeXC l => l -> l
mathbb = comm1 "mathbb"
mathfrak :: LaTeXC l => l -> l
mathfrak = comm1 "mathfrak"
naturals :: LaTeXC l => l
naturals = mathbb "N"
integers :: LaTeXC l => l
integers = mathbb "Z"
rationals :: LaTeXC l => l
rationals = mathbb "Q"
reals :: LaTeXC l => l
reals = mathbb "R"
complexes :: LaTeXC l => l
complexes = mathbb "C"
trealPart :: LaTeXC l => l -> l
trealPart z = comm0 "Re" <> z
timagPart :: LaTeXC l => l -> l
timagPart z = comm0 "Im" <> z