module Text.LaTeX.Packages.AMSMath
(
amsmath
, math
, (^:) , (!:)
, tsin , arcsin
, tcos , arccos
, ttan , arctan
, texp
, tlog , ln
, to
, mathbf
, mathrm
, mathcal
, mathsf
, mathtt
, mathit
) where
import Text.LaTeX.Base.Syntax
import Text.LaTeX.Base.Commands (raw)
amsmath :: String
amsmath = "amsmath"
math :: LaTeX -> LaTeX
math = TeXMath
(^:) :: LaTeX -> LaTeX -> LaTeX
x ^: y = x <> raw "^" <> braces y
(!:) :: LaTeX -> LaTeX -> LaTeX
x !: y = x <> raw "_" <> braces y
tsin :: LaTeX
tsin = TeXComm "sin" []
arcsin :: LaTeX
arcsin = TeXComm "arcsin" []
tcos :: LaTeX
tcos = TeXComm "cos" []
arccos :: LaTeX
arccos = TeXComm "arccos" []
ttan :: LaTeX
ttan = TeXComm "tan" []
arctan :: LaTeX
arctan = TeXComm "arctan" []
texp :: LaTeX
texp = TeXComm "exp" []
tlog :: LaTeX
tlog = TeXComm "log" []
ln :: LaTeX
ln = TeXComm "ln" []
to :: LaTeX
to = TeXComm "to" []
mathbf :: LaTeX -> LaTeX
mathbf l = TeXComm "mathbf" [FixArg l]
mathrm :: LaTeX -> LaTeX
mathrm l = TeXComm "mathrm" [FixArg l]
mathcal :: LaTeX -> LaTeX
mathcal l = TeXComm "mathcal" [FixArg l]
mathsf :: LaTeX -> LaTeX
mathsf l = TeXComm "mathsf" [FixArg l]
mathtt :: LaTeX -> LaTeX
mathtt l = TeXComm "mathtt" [FixArg l]
mathit :: LaTeX -> LaTeX
mathit l = TeXComm "mathit" [FixArg l]