summaryrefslogtreecommitdiff
path: root/templates/latex/dependency-tree.tex
blob: 55b4605d026bd1a1f80a69da060acb8eab69b16b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
% dependency-tree.tex
% Patrick Simianer <p@simianer.de>
% YYYY-MM-DD

\documentclass{article}

\usepackage[graphics,tightpage,active]{preview}
\usepackage{tikz}
\PreviewEnvironment{X}
\newlength{\imagewidth}
\newlength{\imagescale}
\usepackage{tikz}
\usepackage{tikz-dependency}

\begin{document}

\begin{X}
\begin{dependency}[theme = simple]
\begin{deptext}
  the \& boy \& will \& find \& it \& interesting \\
\end{deptext}
\depedge[hide label, line width=1pt]{2}{1}{}
\depedge[hide label, line width=1pt]{4}{2}{}
\depedge[hide label, line width=1pt]{4}{3}{}
\depedge[hide label, line width=1pt]{4}{5}{}
\depedge[hide label, line width=1pt]{4}{6}{}
\end{dependency}
\end{X}


\end{document}