HaTeX-3.7.0.0: The Haskell LaTeX library.

Safe HaskellSafe-Inferred

Text.LaTeX.Packages.Trees.Qtree

Contents

Description

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

Synopsis

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.