| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Language.Ltml.ToLaTeX.PreLaTeXType
Description
module that serves as an edsl to be used to write latex code. only that the code is first transformed into the intermediate structure PreLaTeX. provides all necessary functions and can be extended if needed.
Documentation
Constructors
| IText Text | |
| IRaw Text | raw unescaped PreLaTeX |
| ICommandS Text | command |
| ICommand Text [Text] [PreLaTeX] | command[opts]{args} |
| IEnvironment Text [Text] [PreLaTeX] | begin{env}[opts] ... end{env} |
| IBraced PreLaTeX | used for wrapping in braces |
| ISequence [PreLaTeX] | concatenation |
| MissingRef Label | the reason why we introduced this intermediate data type |
setpdftitle :: Text -> PreLaTeX Source #
flushright :: [PreLaTeX] -> PreLaTeX Source #