Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- writeTeX :: [Exp] -> Text
- writeTeXWith :: Env -> [Exp] -> Text
- addLaTeXEnvironment :: DisplayType -> Text -> Text
Documentation
writeTeX :: [Exp] -> Text Source #
Transforms an expression tree to equivalent LaTeX with the default packages (amsmath and amssymb)
writeTeXWith :: Env -> [Exp] -> Text Source #
Transforms an expression tree to equivalent LaTeX with the specified packages
addLaTeXEnvironment :: DisplayType -> Text -> Text Source #
Adds the correct LaTeX environment around a TeXMath fragment