backend-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

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

Instances details
FromWhitespace [TextTree a b c d e] Source # 
Instance details

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 # 
Instance details

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 # 
Instance details

Defined in Language.Ltml.AST.Text

Methods

showsPrec :: Int -> TextTree lbrk fnref style enum special -> ShowS #

show :: TextTree lbrk fnref style enum special -> String #

showList :: [TextTree lbrk fnref style enum special] -> ShowS #

data Enumeration Source #

Instances

Instances details
ToPreLaTeXM Enumeration Source #

creates an enumeration in latex. the format of the enumerations is passed to the children via the state.

Instance details

Defined in Language.Ltml.ToLaTeX.ToPreLaTeXM

Show Enumeration Source # 
Instance details

Defined in Language.Ltml.AST.Text

newtype EnumItem Source #

Constructors

EnumItem [RichTextTree] 

Instances

Instances details
ToPreLaTeXM EnumItem Source # 
Instance details

Defined in Language.Ltml.ToLaTeX.ToPreLaTeXM

Show EnumItem Source # 
Instance details

Defined in Language.Ltml.AST.Text

newtype SentenceStart Source #

Constructors

SentenceStart (Maybe Label) 

Instances

Instances details
ToPreLaTeXM SentenceStart Source #

way to label a sentence

Instance details

Defined in Language.Ltml.ToLaTeX.ToPreLaTeXM

Show SentenceStart Source # 
Instance details

Defined in Language.Ltml.AST.Text

newtype FootnoteReference Source #

Constructors

FootnoteReference Label 

Instances

Instances details
ToPreLaTeXM FootnoteReference Source #

Inserts footnotes depending on context

Instance details

Defined in Language.Ltml.ToLaTeX.ToPreLaTeXM

Show FootnoteReference Source # 
Instance details

Defined in Language.Ltml.AST.Text