# TikZ-dependency

A LaTeX library to draw all sorts of dependency trees and graphs

8 Recommendations
Last Update:
Browse All Files
Windows Mac Linux

## Description

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

8
0
Write a Review

## User Reviews

• Posted by Collin 2012-11-09

simple and straight forward to use

• Posted by Aaron 2012-03-25

Easy to install and use.

• Posted by prokopis 2012-01-13

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}

• Posted by Kevin Donnelly 2012-01-13

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.

• Posted by Jonah 2012-12-20

Reliable and stable, thanks tikz-dependency