%% 
%%  The LaTeX Graphics Companion, 2ed (first printing May 2007)
%% 
%%  Example 7-4-18 on page 491.
%% 
%%  Copyright (C) 2007 Michel Goossens, Frank Mittelbach, Denis Roegel, Sebastian Rahtz, Herbert Vo\ss 
%% 
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%% 
%%  See http://www.latex-project.org/lppl.txt for details.
%% 

\documentclass{ttctexa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{348.0pt}
\StartShownPreambleCommands
\usepackage{xyling}
\StopShownPreambleCommands
\begin{document}
 \Tree{ & & \K[5.2]{S}\Bkk{5.2,0}{0,0}{dl}\Bkk{5.2,0}{0,0}{drr}   \\
        &\NP\TRi                 &&         & \VP                 \\
        & \K{\emph{my beloved}}
          \Below{\emph{wife}}    &&\Vzero   &&\NP\TRi[2]          \\
        &                        &&\T{likes}&&\K{\emph{our old house}} }
\qquad
 \Tree{ & \IP                                                     \\
   \NP  &        & \Ibar                                          \\
\T{John}&\Izero\D&       & \Kblue{VP}\Bblue{dl}\Bblue{dr}         \\
        &\Trace  &\Kblue{V$^{0}$}\Bblue{d}          && \Kblue{NP} \\
        &        &\Kblue[6]{V+INFL}\Linkblue[<-]{lu}&& \T{Mary}   \\
        &        &\T{loves}                                     }

\end{document}
