texmath-0.12.0.2: Conversion between formats used to represent mathematics.

Safe HaskellSafe
LanguageHaskell2010

Text.TeXMath.TeX

Synopsis

Documentation

data TeX #

An intermediate representation of TeX math, to be used in rendering.

Constructors

ControlSeq Text 
Token Char 
Literal Text 
Grouped [TeX] 
Space 
Instances
Eq TeX # 
Instance details

Defined in Text.TeXMath.TeX

Methods

(==) :: TeX -> TeX -> Bool

(/=) :: TeX -> TeX -> Bool

Show TeX # 
Instance details

Defined in Text.TeXMath.TeX

Methods

showsPrec :: Int -> TeX -> ShowS

show :: TeX -> String

showList :: [TeX] -> ShowS

renderTeX :: TeX -> Text -> Text #

Render a TeX to a string, appending to the front of the given string.

isControlSeq :: Text -> Bool #

escapeLaTeX :: Char -> TeX #