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 LaTeX
and LaTeXElement
.
- type LaTeX = [LaTeXElement]
- data LaTeXElement
- isPrintable :: LaTeXElement -> Bool
- isMacro :: LaTeXElement -> Bool
- isEnvironment :: LaTeXElement -> Bool
- isBlock :: LaTeXElement -> Bool
- isBBlock :: LaTeXElement -> Bool
- isMath :: LaTeXElement -> Bool
- isComment :: LaTeXElement -> Bool
- name :: LaTeXElement -> Text
- content :: LaTeXElement -> Text
- printable :: LaTeXElement -> Text
- body :: LaTeXElement -> LaTeX
- unlatex :: LaTeX -> Text
- unlatexElement :: LaTeXElement -> Text
- cc :: [Text] -> Text
Documentation
type LaTeX = [LaTeXElement] Source
data LaTeXElement Source
Query
isPrintable :: LaTeXElement -> Bool Source
isMacro :: LaTeXElement -> Bool Source
isEnvironment :: LaTeXElement -> Bool Source
isBlock :: LaTeXElement -> Bool Source
isBBlock :: LaTeXElement -> Bool Source
isMath :: LaTeXElement -> Bool Source
isComment :: LaTeXElement -> Bool Source
Accessors
name :: LaTeXElement -> Text Source
content :: LaTeXElement -> Text Source
printable :: LaTeXElement -> Text Source
body :: LaTeXElement -> LaTeX Source
Translation
unlatexElement :: LaTeXElement -> Text Source