I am using expex package to list linguistic examples, but have no idea about how to connect two elements within an example via lines.
Here's the initial code for the example:
**\pex
\a \rightcomment{crossing NP-Num.CL links}*NP\textsubscript{k}...NP\textsubscript{m}...Num-CL\textsubscript{k}...Num-CL\textsubscript{m}
\a \rightcomment{nested NP-Num.CL links}*NP\textsubscript{k}...NP\textsubscript{m}...Num-CL\textsubscript{m}...Num-CL\textsubscript{k}
\a \rightcomment{non-crossing/nested NP-Num.CL links}*NP\textsubscript{k}...NP\textsubscript{k}...Num-CL\textsubscript{m}...Num-CL\textsubscript{m}
\xe**

movement-arrowspackage. – Alan Munn Dec 16 '23 at 02:42~/Library/texmf/tex/latex/movement-arrowsbut I would recommend just updating your whole distribution since that way you'll get updates to the package automatically. – Alan Munn Dec 16 '23 at 05:46