Copyright | (c) Stefan Berthold 2014-2015 |
---|---|
License | BSD3-style (see LICENSE) |
Maintainer | stefan.berthold@gmx.net |
Stability | unstable |
Portability | GHC |
Safe Haskell | Safe |
Language | Haskell2010 |
This modules specifies the data types TeX
and TeXElement
.
- type TeX = [TeXElement]
- data TeXElement
- isPrintable :: TeXElement -> Bool
- isMacro :: TeXElement -> Bool
- isBlock :: TeXElement -> Bool
- isBBlock :: TeXElement -> Bool
- isMath :: TeXElement -> Bool
- isComment :: TeXElement -> Bool
- isMacroLetter :: Char -> Bool
- isMacroSign :: Char -> Bool
- content :: TeXElement -> Text
- printable :: TeXElement -> Text
- body :: TeXElement -> TeX
Documentation
type TeX = [TeXElement] Source
data TeXElement Source
Query
isPrintable :: TeXElement -> Bool Source
isMacro :: TeXElement -> Bool Source
isBlock :: TeXElement -> Bool Source
isBBlock :: TeXElement -> Bool Source
isMath :: TeXElement -> Bool Source
isComment :: TeXElement -> Bool Source
isMacroLetter :: Char -> Bool Source
isMacroSign :: Char -> Bool Source
Accessors
content :: TeXElement -> Text Source
printable :: TeXElement -> Text Source
body :: TeXElement -> TeX Source