HaTeX-3.13.0.1: The Haskell LaTeX library.

Safe HaskellNone

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.