%% %% The LaTeX Graphics Companion, 2ed (first printing May 2007) %% %% Example 6-7-14 on page 425. %% %% 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{231.83385pt} \StartShownPreambleCommands \usepackage{pstricks,pst-jtree} \StopShownPreambleCommands \begin{document} \jtree[dirA=(1:-1),nodesepA=0,nodesepB=.8ex,xunit=2.2em,yunit=1em,style=arrows2] \! = :!a {\rnode{K1}{knew}}. \!a = :!b {\rnode{O1}{owned}}. \!b = :!c {\rnode{C1}{cats}}. \!c = :\jtlong !d [scaleby=1.8] :{and}() [scaleby=2.4] :{he}() @K2 \jtjot !e . \!d = :{she}() @K3 \jtjot !f . \!e = :{a woman}[labeloffset=-1ex] :{who}() @O2 @C2 {four}. \!f = :{a man} :{who}() @O3 @C3 {three}. \psset{linestyle=dashed,arrows=<-} \nccurve[angleB=-10,ncurvB=2,ncurvA=1.2]{O2}{O1} \nccurve[angleB=-90,ncurvA=1.4]{O3}{O1} \nccurve[angleB=-10,ncurvB=1.8,ncurvA=1.6]{K2}{K1} \nccurve[angleB=-90,ncurvA=1.4]{K3}{K1} \empty \nccurve[angleB=-90,ncurvA=1.4]{C3}{C1} \nccurve[angleB=-10,ncurvB=1.8,ncurvA=1.6]{C2}{C1} \endjtree \end{document}