HaTeX- The Haskell LaTeX library.

Safe HaskellNone




Tree interface using the qtree package. An example of usage is provided in the examples directory of the source distribution.


Tree re-export

Qtree package

qtree :: PackageNameSource

The qtree package.

Tree to LaTeX rendering

tree :: LaTeXC l => (a -> l) -> Tree a -> lSource

Given a function to LaTeX values, you can create a LaTeX tree from a Haskell tree. The function specifies how to render the node values.

rendertree :: (Render a, LaTeXC l) => Tree a -> lSource

This function works as tree, but use render as rendering function.