Safe Haskell | None |
---|
This module exports those minimal things you need to work with HaTeX. Those things are:
- The
LaTeX
datatype. - The
<>
operator, to appendLaTeX
values. - The Text.LaTeX.Base.Render module, to render a
LaTeX
value intoText
. - The Text.LaTeX.Base.Types module, which contains several types used by other modules.
- The Text.LaTeX.Base.Commands module, which exports the LaTeX standard commands and environments.
- data LaTeX
- protectString :: String -> String
- protectText :: Text -> Text
- module Text.LaTeX.Base.Render
- module Text.LaTeX.Base.Types
- module Text.LaTeX.Base.Commands
- module Text.LaTeX.Base.Writer
- module Data.Monoid
LaTeX
datatype
Type of LaTeX
blocks.
Escaping reserved characters
protectString :: String -> StringSource
Escape LaTeX reserved characters in a String
.
protectText :: Text -> TextSource
Escape LaTeX reserved characters in a Text
.
Internal re-exports
module Text.LaTeX.Base.Render
module Text.LaTeX.Base.Types
module Text.LaTeX.Base.Commands
module Text.LaTeX.Base.Writer
External re-exports
Since the Monoid
instance is the only way to append LaTeX
values, a re-export of Data.Monoid is given here.
module Data.Monoid