rere-0.2.0.1: Regular-expressions extended with fixpoints for context-free powers
Safe HaskellTrustworthy
LanguageHaskell2010

RERE.LaTeX

Description

Pretty-print structures as LaTeX code.

Note: doesn't work with MathJax.

Requires rere.sty distributed with this package, or definition of the macros that are provided by rere.sty in some other way.

Synopsis

Documentation

putLatex :: RE Void -> IO () Source #

Pretty-print RE as LaTeX code.

putLatexTrace :: RE Void -> String -> IO () Source #

Run match variant, collect intermediate steps, and pretty-print that trace.

putLatexCFG :: Vec n Name -> CFG n Void -> IO () Source #

Pretty-print CFG given the names.