[Tex/LaTex] How to draw arrows between words in linguistic examples

arrowslinguistics

This is what I'm after: I'd like to have the sentence 'John loves his mother.' displayed with an arrow running from 'his' to 'John'. I looked at gb4e, but I found the documentation confusing and I haven't been able to make it work.

Best Answer

Use TikZ

\documentclass{article}
\usepackage{tikz}
\begin{document}
\tikzstyle{every picture}+=[remember picture]
\tikzstyle{na} = [shape=rectangle,inner sep=0pt,text depth=0pt]
\tikz\node[na](word1){John}; loves \tikz\node[na](word2){his}; mother.
\begin{tikzpicture}[overlay]
  \path[->,red,thick](word2) edge [out=90, in=90] (word1);
\end{tikzpicture}
\end{document}

output

I don't know what type of arrow you want =)