Editing trees and AVMs in LaTeX using Emacs (or, more generally, editing bracketed objects) |
[.XP YP ZP ] produces the following tree:
XP
/ \
YP ZP
YP and ZP could be trees (bracketed objects in the source file)
themselves in a more complicated tree.
So, in real life, you have things like:
\Tree [.{\bf S} [.NP {buta ga} ]
[.NP {kuma_i ni} ]
[.{\bf S} [.NP PRO_i ]
[.NP {boosi o} ]
[.V kabur- ] ] [.V -ase-ta ] ]

M-x copy-match-paren) to mark and copy the relevant portion and
then move the cursor to wherever you want to paste the stuff and type
C-y to yank the text.copy-match-paren, call
kill-region (C-w) to remove the selected region,
which gives you the following result:
\Tree [.{\bf S} [.NP {buta ga} ]
[.NP {kuma_i ni} ]
[.V -ase-ta ] ]
\[\textit{verb}\\
PHON & \textit{nom-ase} \\
CONT & \[QUANTS & \@a \\
NCL & \[\textit{cause-rel}\\
ACTOR & \textit{i} \\
UNDERGOER & \textit{j} \\
EFFECT \; \[QUANTS & \@b \\
NCL & \[\textit{drink} & \\
ACTOR & \textit{j} \\
UNDERGOER & \textit{k} \]\]\]\]\]
Yusuke Kubota
Last Modified: <March 21 2006>
This document was translated from LATEX by HEVEA.