CTAN Comprehensive TeX Archive Network

Direc­tory graphics/pgf/contrib/forest

LaTeX package: forest [2017/07/14 v2.1.5 Drawing (linguistic) trees]

Copyright (c) 2012-2017 Saso Zivanovic
                   (Sa\v{s}o \v{Z}ivanovi\'{c})


`forest' is a pgf/tikz-based package for drawing linguistic (and other
kinds of) trees. Its main features are:
- a packing algorithm which can produce very compact trees;
- a user-friendly interface consisting of the familiar bracket
encoding of trees plus the key--value interface to option-setting;
- many tree-formatting options, with control over option values of
individual nodes and mechanisms for their manipulation;
- a powerful mechanism for traversing the tree;
- the possibility to decorate the tree using the full power of pgf/tikz;
- an externalization mechanism sensitive to code-changes.


This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3
of this license or (at your option) any later version.
The latest version of this license is in


and version 1.3 or later is part of all distributions of LaTeX
version 2005/12/01 or later.

For the list of files constituting the work see the main source file
of the package, `forest.dtx', or the derived `forest.sty'.

Down­load the con­tents of this pack­age in one zip archive (1.8M).

for­est – Draw­ing (lin­guis­tic) trees

The pack­age pro­vides a PGF/TikZ-based mech­a­nism for draw­ing lin­guis­tic (and other kinds of) trees. Its main fea­tures are:

  • a pack­ing al­go­rithm which can pro­duce very com­pact trees;
  • a user-friendly in­ter­face con­sist­ing of the fa­mil­iar bracket en­cod­ing of trees plus the key-value in­ter­face to op­tion-set­ting;
  • many tree-for­mat­ting op­tions, with con­trol over op­tion val­ues of in­di­vid­ual nodes and mech­a­nisms for their ma­nip­u­la­tion;
  • the pos­si­bil­ity to dec­o­rate the tree us­ing the full power of PGF/TikZ; and
  • an ex­ter­nal­iza­tion mech­a­nism sen­si­tive to code-changes.

Ver­sion2.1.5 2017-07-14
Li­censesThe Project Public Li­cense 1.3
Main­tainerSašo Ži­vanović
Con­tained inTeX Live as for­est
MiKTeX as for­est
See alsoforest-quickstart
Guest Book Sitemap Contact Contact Author