authoring-0.1.0.0: A library for writing papers

Safe HaskellNone

Text.Authoring.Combinator.Writer

Description

Names of this module are intentitionally kept too short. Use this module with quantifier.

Synopsis

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.