| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Language.Ltml.AST.Text
Documentation
data TextTree lbrk fnref style enum special Source #
Constructors
| Word Text | |
| Space | |
| NonBreakingSpace | |
| LineBreak lbrk | |
| Special special | |
| Reference Label | |
| Styled style [TextTree lbrk fnref style enum special] | |
| Enum enum | |
| FootnoteRef fnref |
Instances
| FromWhitespace [TextTree a b c d e] Source # | |
Defined in Language.Ltml.AST.Text Methods fromWhitespace :: Text -> [TextTree a b c d e] Source # | |
| (Stylable style, ToPreLaTeXM lbrk, ToPreLaTeXM fnref, ToPreLaTeXM enum, ToPreLaTeXM special) => ToPreLaTeXM (TextTree lbrk fnref style enum special) Source # | |
Defined in Language.Ltml.ToLaTeX.ToPreLaTeXM Methods toPreLaTeXM :: TextTree lbrk fnref style enum special -> State GlobalState PreLaTeX Source # | |
| (Show lbrk, Show special, Show style, Show enum, Show fnref) => Show (TextTree lbrk fnref style enum special) Source # | |
type ParagraphTextTree = TextTree HardLineBreak FootnoteReference FontStyle Enumeration SentenceStart Source #
data HardLineBreak Source #
Constructors
| HardLineBreak |
Instances
| ToPreLaTeXM HardLineBreak Source # | |
Defined in Language.Ltml.ToLaTeX.ToPreLaTeXM Methods toPreLaTeXM :: HardLineBreak -> State GlobalState PreLaTeX Source # | |
| Show HardLineBreak Source # | |
Defined in Language.Ltml.AST.Text Methods showsPrec :: Int -> HardLineBreak -> ShowS # show :: HardLineBreak -> String # showList :: [HardLineBreak] -> ShowS # | |
data Enumeration Source #
Constructors
| Enumeration EnumFormat [Node EnumItem] |
Instances
| ToPreLaTeXM Enumeration Source # | creates an enumeration in latex. the format of the enumerations is passed to the children via the state. |
Defined in Language.Ltml.ToLaTeX.ToPreLaTeXM Methods toPreLaTeXM :: Enumeration -> State GlobalState PreLaTeX Source # | |
| Show Enumeration Source # | |
Defined in Language.Ltml.AST.Text Methods showsPrec :: Int -> Enumeration -> ShowS # show :: Enumeration -> String # showList :: [Enumeration] -> ShowS # | |
Constructors
| EnumItem [RichTextTree] |
Instances
| ToPreLaTeXM EnumItem Source # | |
Defined in Language.Ltml.ToLaTeX.ToPreLaTeXM Methods toPreLaTeXM :: EnumItem -> State GlobalState PreLaTeX Source # | |
| Show EnumItem Source # | |
newtype SentenceStart Source #
Constructors
| SentenceStart (Maybe Label) |
Instances
| ToPreLaTeXM SentenceStart Source # | way to label a sentence |
Defined in Language.Ltml.ToLaTeX.ToPreLaTeXM Methods toPreLaTeXM :: SentenceStart -> State GlobalState PreLaTeX Source # | |
| Show SentenceStart Source # | |
Defined in Language.Ltml.AST.Text Methods showsPrec :: Int -> SentenceStart -> ShowS # show :: SentenceStart -> String # showList :: [SentenceStart] -> ShowS # | |
newtype FootnoteReference Source #
Constructors
| FootnoteReference Label |
Instances
| ToPreLaTeXM FootnoteReference Source # | Inserts footnotes depending on context |
Defined in Language.Ltml.ToLaTeX.ToPreLaTeXM Methods toPreLaTeXM :: FootnoteReference -> State GlobalState PreLaTeX Source # | |
| Show FootnoteReference Source # | |
Defined in Language.Ltml.AST.Text Methods showsPrec :: Int -> FootnoteReference -> ShowS # show :: FootnoteReference -> String # showList :: [FootnoteReference] -> ShowS # | |