This module defines some macros to speed up writing documents.
Note: Have you an idea for a macro? Send your suggestions!
- m_simple :: Monad m => [ClassOption m] -> Class m -> Name m -> Title m -> LaTeX m -> LaTeX m
- m_wpkgs :: Monad m => [ClassOption m] -> Class m -> Name m -> Title m -> [([PackageOption m], Package m)] -> LaTeX m -> LaTeX m
- m_article :: Monad m => Name m -> Title m -> LaTeX m -> LaTeX m
- m_articlep :: Monad m => Name m -> Title m -> [([PackageOption m], Package m)] -> LaTeX m -> LaTeX m
- m_math :: Monad m => Name m -> Title m -> LaTeX m -> LaTeX m
Simple macros
:: Monad m | |
=> [ClassOption m] | Class options |
-> Class m | Class |
-> Name m | Author's name |
-> Title m | Document's title |
-> [([PackageOption m], Package m)] | A list of imported packages |
-> LaTeX m | Document's content |
-> LaTeX m | Output |
Article macros
:: Monad m | |
=> Name m | Author's name |
-> Title m | Article's title |
-> LaTeX m | Article's content |
-> LaTeX m | Output |
Function m_article
generate a LaTeX file with the following properties:
- Article class.
- Font Size: 11pt
- A title in the first page.
- A4 paper.
:: Monad m | |
=> Name m | Author's name |
-> Title m | Article's title |
-> [([PackageOption m], Package m)] | A list of imported packages |
-> LaTeX m | Document's content |
-> LaTeX m | Output |
Like m_article
, but it lets you import packages.