TikZ-dependency allows you to draw dependency graphs in LaTeX documents with little or no effort.
The package has a very easy to learn, high level interface that can be used to draw simple dependency trees, complex non projective graphs, bubble parses, and in general any kind of graph which is based on a sequence of nodes and edges among these.
It is based on PGF/TikZ and it can be used either with latex or pdflatex. It comes with a very comprehensive documentation that will get you started in 10 minutes, even without any prior knowledge of TikZ.
It also provides a lot of styling facilities, to let you personalize the look and feel of the graphs at your liking.
Features
- Intuitive syntax to draw dependency graphs directly in LaTeX
- High-level interface to define the look-and-feel of the graphs
- Based on PGF/TikZ
- Convenient macros to enrich the graphs with arbitrary TikZ elements
License
GNU General Public License version 2.0 (GPLv2), LaTeX Project Public LicenseFollow TikZ-dependency
Other Useful Business Software
Rate This Project
Login To Rate This Project
User Reviews
-
the right way to draw dependency trees
-
Works with XeLaTeX and the Polyglossia package as well. The following minimal example will generate a nice dependency graph for a Greek sentence with a gloss. \documentclass[a4paper]{article} \usepackage{fontspec} \usepackage{polyglossia} \setmainfont[Mapping=tex-text]{Linux Libertine O} \newfontfamily\greekfont[Script=Greek]{Linux Libertine O} \setdefaultlanguage{greek} \setotherlanguage{english} \usepackage{tikz} \usepackage{tikz-dependency} \begin{document} \begin{dependency} \begin{deptext}[column sep=0.7cm] Τα \& παιδιά \& έφαγαν \& τα \& μήλα \\ The \& children \& ate \& the \& apples\\ \end{deptext} \depedge{2}{1}{det} \depedge{3}{2}{subj} \depedge{5}{4}{det} \depedge{3}{5}{dobj} \deproot{3}{root} \end{dependency} \end{document}
-
If you're a linguist using LaTeX, and you've been wondering how to do dependency diagrams for a paper, get this package! It's a wrapper around PGF/TikZ, and it means you don't really have to get to grips with them. Upgrade PGF to 2.10, and you can have your first diagrams done in literally 2 minutes, thanks to a superb manual and intuitive options. I didn't really know where to begin with dependency diagrams, but this package makes them trivial to do. This is a "must-have" package for your toolbox.
-
The package is intended for typesetting of dependency graphs without having to know TIKZ/PSTRICKS/any other large graphic Latex package. It does its job very well. The package is extremely useful, simple and powerful. The documentation explains pretty much everything with lots of example code. Thanks to usage of TIKZ also works directly with pdflatex, which is nice these days, when PostScript seems a bit out of favour. You can do a lot more that just classical dependency graphs in tikz-dependency, e.g. any strings of words/formatted input with labelled arrows, which is helpful when typesetting other linguistic relations.