authoring-0.3.3.1: 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) => Text -> m ()Source

Scribe a raw text (escaped) into the target.

rawShow :: (MonadWriter t m, HasDocument t, Show a) => a -> m ()Source

Shows objects of type a using Show interface, without escaping LaTeX special characters.

escShow :: (MonadWriter t m, HasDocument t, Show a) => a -> m ()Source

Shows objects of type a using Show interface, escaping LaTeX special characters.