Safe Haskell | None |
---|
Text.Authoring.Combinator.Writer
Description
Names of this module are intentitionally kept too short. Use this module with quantifier.
- latex :: (MonadWriter t m, HasDocument t) => LaTeX -> m ()
- raw :: (MonadWriter t m, HasDocument t) => Text -> m ()
- esc :: (MonadWriter t m, HasDocument t, Show a) => a -> m ()
Documentation
latex :: (MonadWriter t m, HasDocument t) => LaTeX -> m ()Source
Scribe a LaTeX syntax into the target document.
raw :: (MonadWriter t m, HasDocument t) => Text -> m ()Source
Scribe a raw text (unescaped) into the target.
esc :: (MonadWriter t m, HasDocument t, Show a) => a -> m ()Source
Shows objects of type a
using Show interface
Escapes LaTeX special characters.