I already asked this question with regard to tikz-qtree
(Connecting text in a tikz-qtree with other text by arrow), but maybe there is a better way to do this in forest
.
I have the following tree:
\documentclass{article}
\usepackage{forest}
\forestset{
sn edges/.style={for tree={parent anchor=south, child anchor=north,align=center,base=bottom,where n children=0{tier=word}{}}},
}
\begin{document}
\begin{forest}
sn edges
[V{[\textit{fin,} SUBCAT $<>$]}
[1 NP{[\textit{nom}]}
[er]]
[V{[\textit{fin}, SUBCAT $<1>$]}
[2 NP{[\textit{acc}]}
[das Buch]]
[V{[\textit{fin}, SUBCAT $<1,2>$]}
[3 NP{[\textit{dat}]}
[dem Mann]]
[V{[\textit{fin}, SUBCAT $<1,2,3>$]}
[gibt]]]]]
\end{forest}
\end{document}
I want to connect the instances of fin
by double arrows. The best way to do this would be to have some \node
declaration around the various fin
s and connect these nodes. But this somehow does not work. Is there a way to do this?