Debian Codegraph @

texmf-dist/doc/generic/pst-jtree/pst-jtree-examples.tex

raw
1
2 \documentclass[12pt]{article}
3 \usepackage{pstricks,pst-xkey,pst-jtree}
4
5 \rightskip=0pt plus 2em
6
7 \newdimen\dimpuba
8 \newdimen\dimpubb
9 \newdimen\dimpubc
10 \newdimen\dimpubd
11 \newcount\exno
12 \exno=0
13
14 \def\ex{%
15 \vskip2.5em
16 \allowbreak\noindent
17 \global\advance\exno by 1
18 \bgroup
19 \parindent=0pt
20 \rightskip=0pt minus 3em % allow overwide displays if necessary
21 (\the\exno)\quad
22 }
23 \def\xe{\par\egroup}
24
25 \begin{document}
26 \psset{nodesepA=.8ex,nodesepB=.4ex}
27
28 \centerline{\huge Examples}
29
30 \vskip1.5em
31
32 \noindent The source file for this pdf file is {\it
33 pst-jtree-examples.tex}. It is very simply formatted (no packages
34 other than pstricks, pst-xkey, and pst-jtree are used) in order
35 to facilitate user experimentation with pst-jtree typesetting.
36 Provided that PSTricks and PST-XKey are installed, users should
37 be able to run this file with little difficulty if PST-jTree is
38 installed or simply if \hbox{\it pst-jtree.tex\/} and \hbox{\it
39 pst-jtree.sty\/} are in the same directory that \hbox{\it
40 pst-jtree-examples.tex\/} is in. \hbox{\it
41 pst-jtree-examples.pdf\/} shows what the source produces. For
42 those interested in Tex tree formatting, but not LaTex, \hbox{\it
43 pst-jtree-examples.tex\/} can be very simply converted into a
44 Tex file.
45
46 All of the complex examples in the documentation file {\it
47 pst-jtree-doc.pdf\/} are given here, as well as many of the
48 simpler ones. They appear in the same order that they appear in
49 the documentation. But the numbering is sequential and differs from
50 the numbering in the documentation.
51
52 \ex
53 \jtree[xunit=2.2em,yunit=1em]
54 \def\:{:[scaleby=2.3]}%
55 \! = \:!a :{is} {rotten}.
56 \!a = :{the} :{cheese} :{that } \:!b :{ate} {\it t}.
57 \!b = :{the} :{rat} :{that } :{John \ } :{killed} {\it t}.
58 \endjtree
59 \xe
60
61 \ex
62 \jtree
63 \! = {a}
64 :{b} {c}
65 :{d} {e}
66 :{f} {g}
67 :{h} {i}.
68 \endjtree
69 \xe
70
71 \ex
72 \jtree
73 \! = :{a} :{b} :{c} :{d} {e}.
74 \endjtree
75 \xe
76
77 \ex
78 \jtree
79 \defbranch<colonB>(1)(-.5)
80 \! = {a}
81 :{b} {c}
82 :{d} {e}
83 :{f} {g}.
84 \endjtree
85 \xe
86
87 \ex
88 \jtree[xunit=2.5em,yunit=1em]
89 \defbranch<Left>(2.3)(1)
90 \! = <Left>!a ^<right> :{is} {rotten}.
91 \!a = :{the} :{cheese} :{that}
92 <Left>!b ^<right> :{ate} {\it t}.
93 \!b = :{the} :{rat} :{that}
94 <Left>!c ^<right> :{killed} {\it t}.
95 \!c = :{the} :{cat} :{that} :{John} :{owned} {\it t}.
96 \endjtree
97 \xe
98
99 \ex
100 \jtree[xunit=3em,yunit=3em]
101 \! = <left>[scaleby=2 1,
102 arrows=->]{a}
103 ^<left>[linewidth=2pt]{b}
104 ^<right>[scaleby=1 2,
105 linestyle=dashed]{c}
106 ^<right>[scaleby=1.5 1,
107 linestyle=dotted,linewidth=1pt]{d}
108 ^<right>[scaleby=2 .5,doubleline=true]{e}.
109 \endjtree
110 \xe
111
112 \ex
113 \def\GO#1#2#3{$\rm GO\bigl({#1},[_{Path}\,
114 FROM({#2}),TO({#3})]\bigr)$}%
115 \jtree[xunit=3em,yunit=1em]
116 \defstuff[a]{\multiline
117 \it The cup slid from John to Mary\cr
118 \GO{\bf cup}{\bf John}{\bf Mary}\cr
119 IP\endmultiline}
120 \defstuff[b]{\multiline
121 \it The cup\cr
122 \bf cup\cr
123 NP\endmultiline}
124 \defstuff[c]{\multiline
125 \it slid from John to Mary\cr
126 \GO{\mit x}{\bf John}{\bf Mary}\cr
127 IP\endmultiline}
128 \defstuff[d]{\multiline
129 \it The\cr
130 $\perp$\cr
131 \quad N$\rm _{SPEC}$\endmultiline}
132 \defstuff[e]{\multiline
133 \it cup\cr
134 \bf cup\cr
135 N\endmultiline}
136 \def\Fracture{<vert>{\omit\psframebox[framesep=.4ex]
137 {Fracture$\vphantom j$}}}%
138 \! = {\stuff[a]}
139 \Fracture
140 :\jtbig{\stuff[b]}!a \jtbig{\stuff[c]}
141 \Fracture
142 :{$\vdots$} {$\vdots$}.
143 \!a = \Fracture
144 :{\stuff[d]} {\stuff[e]}.
145 \endjtree
146 \xe
147
148 \ex % Dowty
149 \jtree[xunit=4em,yunit=2em,everylabel=\strut\it]
150 \! = {John walks from Boston to Detroit\rm, t, 4}
151 :{John\rm, T} {walk from Boston
152 to Detroit\rm, IV,7}[labeloffset=1.5em]
153 :\jtlong{walk from Boston\rm, IV,7}!a
154 {to Detroit\rm, IV/IV, 5}
155 :[scaleby=.8]{to\rm, IAV/T}() [scaleby=.8]{Detroit\rm, T}.
156 \!a = :{walk\rm, IV} {from Boston\rm, IV/IV, 5}
157 :{from\rm, IAV/T} {Boston\rm, T}.
158 \endjtree
159 \xe
160
161 \ex % Nunes
162 \jtree[xunit=3em,yunit=1.4em]
163 \def\what{[which claim]$_k$}%
164 \! = {CP$_1$}
165 <left>[scaleby=1.7]{CP$_2$}!a ^<right>[scaleby=2.5]{C$'$}
166 :{$\rm was+Q$} {TP}
167 <vartri>[scaleby=1.6,triratio=.4]
168 {he$_i$ willing to discuss \what}.
169 \!a = :{\what} {CP$_2$}
170 <vartri>[scaleby=1.6,triratio=.6]
171 {that John$_i$ made \what}.
172 \endjtree
173 \xe
174
175 \ex % Andrews
176 \jtree[xunit=2.2em,yunit=.7em]
177 \def\\{[labelgapb=-.5ex]}%
178 \! = {S}
179 :({NP}\\{that book}@A1 ) \jtwide{S/NP}
180 :({NP}\\{I}) {VP/NP}
181 :({V}\\{want}) {VP/NP}
182 :{\it to} {VP/NP}
183 <left>({V}\\{ask}) ^<vert>({NP}\\{Mary}) ^<wideright>{VP/NP}
184 :{\it to} {VP/NP}
185 <left>({V}\\{tell}) ^<vert>({NP}\\{Tom}) ^<wideright>{VP/NP}
186 :{\it to} {VP/NP}
187 :({V}\\{read}) {NP/NP}\\{e}@A2 .
188 \nccurve[angleA=210,angleB=-90]{->}{A2}{A1}
189 \endjtree
190 \xe
191
192 \ex % Andrews (second version)
193 \jtree[xunit=2.2em,yunit=.7em]
194 \def\\{<shortvert>}%
195 \! = {S}
196 :({NP}<vartri>{that book}@A1 ) \jtwide{S/NP}
197 :({NP}\\{I}) {VP/NP}
198 :({V}\\{want}) {VP/NP}
199 :{\it to} {VP/NP}
200 <left>({V}\\{ask}) ^<vert>({NP}\\{Mary}) ^<wideright>{VP/NP}
201 :{\it to} {VP/NP}
202 <left>({V}\\{tell}) ^<vert>({NP}\\{Tom}) ^<wideright>{VP/NP}
203 :{\it to} {VP/NP}
204 :({V}\\{read}) {NP/NP}\\{e}@A2 .
205 \nccurve[angleA=210,angleB=-90]{->}{A2}{A1}
206 \endjtree
207 \xe
208
209 \ex % Merchant
210 a.\quad
211 %
212 \jtree[xunit=2.6em,yunit=1em]
213 \def\\{[labelgapb=-1.2ex]}%
214 \everymath={\rm}%
215 \! = {CP}
216 :({XP}\\{$\scriptstyle [wh]$}@A1 ) {$C'$}
217 :({$C^0$}\\{$\scriptstyle [wh,Q]$}) {$\langle\, TP\,\rangle$}
218 <tri>{\dots\quad\rnode[b]{A2}{\it t}\quad\dots}.
219 \nccurve[angleA=-150,angleB=-90,ncurv=1]{->}{A2}{A1}
220 \endjtree
221 %
222 \hfil
223 b.\quad
224 \jtree[xunit=2.6em,yunit=1em]
225 \def\\{[labelgapb=-1.2ex]}%
226 \everymath={\rm}%
227 \! = {CP}
228 :({XP}\\{$\scriptstyle [wh]$}@A1 ) {$C'$}
229 :({$C^0$}\\{$\scriptstyle [wh,Q]$}) {$\langle\, TP\,\rangle$}
230 <tri>{\dots\quad\rnode[b]{A2}{\it t}\quad \dots}.
231 \ncbar[angleA=-90,angleB=-90,armA=1em,
232 armB=1em,linearc=.6ex]{->}{A2}{A1}
233 \endjtree
234 \xe
235
236 \ex % Chung, first example
237 a.\quad
238 %
239 \jtree[xunit=2.6em,yunit=1em]
240 \def\\{[labelgapb=-1.2ex]}%
241 \everymath={\rm}%
242 \! = {CP}
243 :({XP}\\{$\scriptstyle [wh]$}@A1 ) {$C'$}
244 :({$C^0$}\\{$\scriptstyle [wh,Q]$}) {$\langle\, TP\,\rangle$}
245 <tri>{\dots\quad\rnode[b]{A2}{\it t}\quad\dots}.
246 \nccurve[angleA=-150,angleB=-90,ncurv=1]{->}{A2}{A1}
247 \endjtree
248 %
249 \hfil
250 b.\quad
251 \jtree[xunit=2.6em,yunit=1em]
252 \def\\{[labelgapb=-1.2ex]}%
253 \everymath={\rm}%
254 \! = {CP}
255 :({XP}\\{$\scriptstyle [wh]$}@A1 ) {$C'$}
256 :({$C^0$}\\{$\scriptstyle [wh,Q]$}) {$\langle\, TP\,\rangle$}
257 <tri>{\dots\quad\rnode[b]{A2}{\it t}\quad \dots}.
258 \ncbar[angleA=-90,angleB=-90,armA=1em,
259 armB=1em,linearc=.6ex]{->}{A2}{A1}
260 \endjtree
261 \xe
262
263 \ex % Chung, second example
264 \jtree[xunit=2em,yunit=1.4em,labelgapb=0,triratio=0,
265 arrowscale=1.6 1]
266 \deftriangle<tri>(1.8)(1)(-.5)
267 \defbranch<colonB>(1)(-.5)
268 \! = {CP}
269 :{\sc WH}@A {C$'$}
270 <tri>{\rlap{V}}@AA ^<tri>[triratio=.55]{CP}
271 :{\it t}@B {C$'$}
272 <tri>{\rlap{V}}@BB ^<tri>[triratio=.55]{CP}
273 :{\it t}@C {C$'$}
274 <tri>{\rlap{V}}@CC .
275 \psset{linewidth=1pt,ncurvB=1.1,nodesepA=0,nodesepB=.7ex,
276 angleA=-90,angleB=180,offsetA=.5ex}
277 \nccurve{A}{AA}
278 \nccurve{B}{BB}
279 \nccurve{C}{CC}
280 \psset{offsetA=-.5ex,arrows=->}
281 \nccurve{A}{AA}
282 \nccurve{B}{BB}
283 \nccurve{C}{CC}
284 \endjtree
285 \xe
286
287 \ex % Caponigo and Schutze
288 \jtree[xunit=5em,yunit=2em]
289 \! = {IP}
290 <tri>{\triline{sono stati\hfil}} ^<tri>[triratio=.95]{FP}
291 :{F$_{\rlap{$\scriptstyle\rm [+strong]$}}$}!a
292 {Voice$_{\rlap{$\scriptstyle\rm Pass$}}$}
293 :{Voice\rlap{$_{\rm Pass}$}}@A2 {$\rm Agr_OP$}
294 :{DP}!b {${\rm Agr_O}'$}
295 :[scaleby=.8 1]{$\rm Agr_O$}@A3 [scaleby=.8 1]{VP}
296 <tri>[scaleby=.4 .7]
297 {\rnode{A5}{$t_i$}\hskip1ex \rnode{A6}{$t_m$}}.
298 \!a = <shortvert>{arrestati$_i$}@A1 .
299 \!b = <shortvert>{alcuni uomini$_m$}@A4 .
300 \psset{arrows=->}
301 \nccurve[angleA=225,angleB=-45]{A2}{A1}
302 \nccurve[angleA=200,angleB=-90,ncurv=1.5]{A3}{A2}
303 \nccurve[angleA=-130,angleB=-70]{A5}{A3}
304 \nccurve[angleA=-130,angleB=-70,linestyle=dashed]{A6}{A4}
305 \endjtree
306 \xe
307
308 \ex % Uriagereka
309 \jtree[xunit=1.8em,yunit=.9em]
310 \def\*{\xleaders\hbox{\kern1pt.\kern1pt}\hfil}%
311 \deftriangle<triA>(1.3)(1)(-1/2)
312 \! = {F$'$}
313 <wideleft>{F}!a
314 ^<wideright>{\hbox to 2em{\*}}{$\rm Agr_O P$}
315 <left>{DP\rlap{\rnode{B2}{$\;\equiv\;$}\it me}}@B1
316 ^<wideright>{$\rm Agr_O P$}
317 <left> ^<wideright>{$\rm {Agr_O}'$}
318 <left>{$\rm Agr_O$}!b ^<wideright>{AsP}
319 <triA>{\triline
320 {\* \rnode[b]{D1}{t} \* DP \* \rnode[b]{D2}{t} \*}}
321 <tri>[scaleby=.8 1.3]{\triline{\* \rnode[b]{E1}{\it a} \*}}.
322 \!a = :{F}!a1 @A1 .
323 \!a1 = :{F}!a2 @A2 .
324 \!a2 = :{V}@A3 {F}.
325 \psset{scaleby=.5 1}
326 \!b = :{V}@C1 {$\emptyset$}.
327 \psset{arrows=->}
328 \ncarc[arcangle=50]{C1}{A3}
329 \ncarc[arcangle=50]{B1}{A2:t}
330 \ncarc[arcangle=50]{D1}{C1}
331 \nccurve[angleA=-75,angleB=-90,ncurv=1.2,nodesepB=1ex]{D2}{B2}
332 \nccurve[angleA=-145,angleB=-100,ncurv=1]{E1}{A1:t}
333 \endjtree
334 \xe
335
336 \ex % Richards
337 \jtree[xunit=1.5em,yunit=1.1em,labelgap=0]
338 \def\A#1{\pnode(0,.3){A#1}}%
339 \def\B#1{\pnode(0,-.3){B#1}}%
340 \! = :{car} {\omit\A1}
341 :({\omit\A0}{Op})
342 :{that}
343 :{I}
344 :{T}
345 :{know} {\omit\B1}
346 :({\omit\B0}{who})
347 :{C}
348 :{Pro}
349 :{to}() \jtjot
350 :{persuade}() \jtjot
351 :{V} {\omit\A2}
352 :\jtlong{\omit\A4}!a
353 :{Pro}
354 :{to}
355 :{talk} {\omit\B2}
356 :\jtlong{\omit\B3}!b
357 :{V}
358 :{about}() {\omit\A3}{\it t}.
359 \!a = :{owners}() \jtjot
360 :{of} {\omit\A5}{\it t}.
361 \!b = :{to} {\omit\B4}{\it t}.
362 \psset{linestyle=dashed,linewidth=.3ex,linecolor=blue,nodesep=0}
363 \def\fudge{.5}%
364 \ncline[nodesepA=-\fudge]{A0}{A1}
365 \ncline[nodesepB=-\fudge]{A1}{A3}
366 \ncline{A2}{A4}
367 \ncline[nodesepB=-\fudge]{A4}{A5}
368 \psset{linestyle=dotted,linewidth=.5ex,linecolor=red}
369 \ncline[nodesepA=\fudge]{B0}{B1}
370 \ncline{B1}{B2}
371 \ncline{B2}{B3}
372 \ncline[nodesepB=\fudge]{B3}{B4}
373 \endjtree
374 \xe
375
376 \ex % Zubizaretta
377 \jtree[xunit=2.5em,yunit=2em]
378 \def\ovalstuff{\vtop{\hbox{arg$^3$}%
379 \hbox to 4em{(\thinspace \leaders\hrule\hfil\ NP)}}}%
380 \! = {V}@B1
381 <left>{face}({arg$^1$}@B2 )
382 ^<right>{$\rm [_V\,$leggere]}({arg$^2$,})
383 ^<right>[scaleby=3 1,branch=\blank]
384 {}{\ovalnode[framesep=1ex,boxsep=false]{K}{\ovalstuff}}.
385 \psset{arrows=->,nodesepA=0}
386 \nccurve[angleA=150,angleB=180,ncurv=1.2]{B2}{B1}
387 \nccurve[angleA=90,angleB=0,ncurv=.8]{K}{B1}
388 \endjtree
389 \xe
390
391 \begingroup % Koopman
392
393 \def\scaleA{[scaleby=1.6 1]}%
394 \def\scaleB{[scaleby=.6 1,doubleline=true,doublesep=.1ex]}%
395 \def\mkovalnode{\rput(-1ex,-.8)
396 {\ovalnode[framesep=\psxunit]{K}{\hskip2em}}}%
397
398 \ex
399 \jtree[xunit=3em,yunit=1.5em]
400 \def\scaleA{[scaleby=1.6 1]}%
401 \def\scaleB{[scaleby=.6 1,doubleline=true,doublesep=.1ex]}%
402 \def\mkovalnode{\rput(-1ex,-.8)
403 {\ovalnode[framesep=\psxunit]{K}{\hskip2em}}}%
404 \! = {$\rm Agr'$}
405 :\scaleA{Agr}!a \scaleA{\bf VP}
406 <vert>[linestyle=dashed,linewidth=1pt]{\bf V}
407 :{${\rm [_V\,e]}_i$}@A1 {T}.
408 \!a = :{V$_i$}!b {Agr}
409 <vert>{[e]$_j$}@A2 .
410 \!b = {\omit\mkovalnode}
411 :\scaleB{${\rm [_{Agr}\,Agr]}_j$}@A3 \scaleB{$\rm [_T\,T]$}.
412 \psset{angleA=-90,angleB=-45,arrows=->}
413 \nccurve[nodesepB=0]{A1}{K}
414 \nccurve[ncurv=1.3]{A2}{A3}
415 \endjtree
416 \xe
417 \vskip2em
418
419 \ex
420 \jtree[xunit=4.8em,yunit=2em]
421 \def\mkovalnode{\rput(-1ex,-.8){\ovalnode[framesep=\psxunit]{K}
422 {\hskip2em}}}%
423 \! = {$\rm Agr'$}
424 :\scaleA{Agr}!a \scaleA{\bf VP}
425 <vert>[linestyle=dashed,linewidth=1pt]{\bf V}
426 :{${\rm [_V\,e]}_i$}@A1 {T}.
427 \!a = :{V$_i$}!b {Agr}
428 <vert>{[e]$_j$}@A2 .
429 \!b = {\omit\mkovalnode}
430 :\scaleB{${\rm [_{Agr}\,Agr]}_j$}@A3 \scaleB{$\rm [_T\,T]$}.
431 \psset{angleA=-90,angleB=-45,arrows=->}
432 \nccurve[nodesepB=0]{A1}{K}
433 \nccurve[ncurv=1.3]{A2}{A3}
434 \endjtree
435 \xe
436 \vskip5em
437
438 \ex \small
439 \jtree[xunit=2.6em,yunit=1em]
440 \def\mkovalnode{\rput(-1ex,-.8){\ovalnode[framesep=\psxunit]{K}
441 {\hskip2em}}}%
442 \! = {$\rm Agr'$}
443 :\scaleA{Agr}!a \scaleA{\bf VP}
444 <vert>[linestyle=dashed,linewidth=1pt]{\bf V}
445 :{${\rm [_V\,e]}_i$}@A1 {T}.
446 \!a = :{V$_i$}!b {Agr}
447 <vert>{[e]$_j$}@A2 .
448 \!b = {\omit\mkovalnode}
449 :\scaleB{${\rm [_{Agr}\,Agr]}_j$}@A3 \scaleB{$\rm [_T\,T]$}.
450 \psset{angleA=-90,angleB=-45,arrows=->}
451 \nccurve[nodesepB=0]{A1}{K}
452 \nccurve[ncurv=1.3]{A2}{A3}
453 \endjtree
454 \xe
455 \vskip2em
456
457 \endgroup % Koopman
458
459 \ex % McCawley
460 \jtree[xunit=2.45em,yunit=1.4em,dirA=(1:-1),nodesep=0]
461 \def\\{[labelgapb=-4pt]}%
462 \def\V{$\rm \overline V$}%
463 \! = {S}
464 <wideleft>{S}!a ^<vert>{and} ^<wideright>{S}
465 :({NP}<shortvert>{Fred}) {\V}
466 :({V}\\{knows}) {NP}
467 <tri>{a man} ^<right>
468 <right>[scaleby=3.5 1,branch=\blank]{NP}@A3 !b ^{S}
469 :({NP}<shortvert>{who}) {\V}@A2
470 <left>({V}\\{repairs}).
471 \!a = :({NP}<shortvert>{John}) {\V}@A1
472 <left>{V}\\{sells}.
473 \!b = <vartri>{washing machines}.
474 \nccurve[angleB=150,ncurvB=1.4]{A2:b}{A3:t}
475 \nccurve[angleB=135,ncurvA=.5,ncurvB=2.6]{A1:b}{A3:t}
476 \endjtree
477 \xe
478
479 \vfil\break
480
481 \ex % Frampton, verb raising
482 \def\\#1\par{\bigskip #1\par\nobreak\vskip1.5em \hfil}
483 \def\Vj{V$\mskip-5mu _j$}
484 \psset{xunit=3.5em,yunit=1.5em,treevshift=1.3em}
485 \hfil Theories of verb raising
486 \medskip
487 \leftskip=2em
488
489 \\Trace theory
490
491 \jtree[scaleby=.8]
492 \! = :{Agr} :{Tns} :{V}() \etc.
493 \endjtree
494 \quad $\longrightarrow$\quad
495 \jtree
496 \! = :{Agr} !a
497 :{$t_i$}
498 :{$t_j$}() \etc.
499 \psset{scaleby=.3 .4}
500 \!a = :{Agr} {Tns$_i$}
501 :{Tns} {\Vj}.
502 \endjtree
503
504 \\Copy theory
505
506 \jtree[scaleby=.8]
507 \! = :{Agr} :{Tns} :{V}() \etc.
508 \endjtree
509 \quad $\longrightarrow$\quad
510 \jtree
511 \! = :{Agr}!a [scaleby=1.45]
512 :{Tns$_i$}!b
513 :{\Vj}() \etc.
514 \psset{scaleby=.3 .4}
515 \!a = :{Agr} {Tns$_i$}
516 :{Tns} {\Vj}.
517 \!b = :{Tns} {\Vj}.
518 \endjtree
519
520 \\Shared structure
521
522 \jtree[scaleby=.8]
523 \! = :{Agr} :{Tns} :{V}() \etc.
524 \endjtree
525 \quad $\longrightarrow$\quad
526 \jtree
527 \! = :{Agr}@A1 !a
528 :{Tns}@A2 !b
529 :{V}@A3 \etc.
530 \psset{scaleby=.3 .4,angleA=-35,angleB=125,ncurv=1.5,nodesep=0}
531 \!a = <left>{Agr}.
532 \!b = <left>{Tns}.
533 \nccurve{->}{A1:b}{A2:t}
534 \nccurve{->}{A2:b}{A3:t}
535 \endjtree
536 \xe
537
538 \ex % Frampton, Bulgarian
539 \kern2em
540 \jtree[xunit=2.4em,yunit=1.2em,style=arrows2,nodesep=0]
541 \def\broken{[branch=\brokenbranch,scaleby=1.6]}%
542 \def\stub{<right>[scaleby=.5,arrows=-]}%
543 \def\\#1{\rput[bl](.6ex,.4ex){\it #1}}%
544 \! = {\omit\\a}@A1
545 \stub @K1 ^<right>{\omit\\b}
546 :{C$_2$}() \broken @A2
547 \stub @K2 ^<right>@A3
548 \stub @K3 ^<right>
549 :{C$_1$}() \broken
550 :{ubil} {\omit\\c}@A4
551 :{kolko} {\omit\\d}
552 :{studenti} {\omit\\e}@A5
553 :{ot} :{koi} {strani}.
554 \psset{dirA=(1:1),angleB=90,ncurvA=.6,ncurvB=1}
555 \nccurve{K1}{A5}
556 \nccurve{-}{K2}{A5}
557 \nccurve{K3}{A4}
558 \psset{dirA=(-1:-1),dirB=(-1:-1),ncurv=4,arrows=-}
559 \nccurve{A1}{K1}
560 \nccurve{A2}{K2}
561 \nccurve{A3}{K3}
562 \endjtree
563 \xe
564
565 \ex % Wilder, right node raising
566 \jtree[dirA=(1:-1),nodesepA=0,nodesepB=.8ex,
567 xunit=2.2em,yunit=1em,style=arrows2]
568 \! = :!a {\rnode{K1}{knew}}.
569 \!a = :!b {\rnode{O1}{owned}}.
570 \!b = :!c {\rnode{C1}{cats}}.
571 \!c =
572 :\jtlong !d [scaleby=1.8]
573 :{and}() [scaleby=2.4]
574 :{he}() @K2
575 <left>\jtjot !e .
576 \!d =
577 :{she}() @K3
578 <left>\jtjot !f .
579 \!e =
580 :{a woman}[labeloffset=-1ex]
581 :{who}() @O2
582 <left>@C2
583 <left>{four}.
584 \!f =
585 :{a man}
586 :{who}() @O3
587 <left>@C3
588 <left>{three}.
589 \psset{linestyle=dashed,arrows=<-}
590 \nccurve[angleB=-10,ncurvB=2,ncurvA=1.2]{O2}{O1}
591 \nccurve[angleB=-90,ncurvA=1.4]{O3}{O1}
592 \nccurve[angleB=-10,ncurvB=1.8,ncurvA=1.6]{K2}{K1}
593 \nccurve[angleB=-90,ncurvA=1.4]{K3}{K1}
594 \nccurve[angleB=-90,ncurvA=1.4]{C3}{C1}
595 \nccurve[angleB=-10,ncurvB=1.8,ncurvA=1.6]{C2}{C1}
596 \endjtree
597 \xe
598
599 \ex % Frampton, bilinks
600 \def\bilink(#1,#2)(#3,#4){%
601 \pcarc(#1,#2)(#3,#4)%
602 \pcarc[linestyle=dashed](#3,#4)(#1,#2)%
603 }%
604 \kern5em
605 \jtree[xunit=3em,yunit=1.8em,style=arrows2,
606 dirA=(-1:-1),branch=\bilink,nodesep=3pt,
607 arcangle=10,offset=1pt,labelgapt=!3pt]
608 \def\@{\pscircle(0,0){3pt}}%
609 \! =
610 {\pnode{A1}\@}
611 <right>{\omit\@\pnode(.8,-.8){A3}}
612 :({\omit\@}{C}) [scaleby=1.6,arcangle=7]{\omit\@}
613 :({\omit\@}{see})
614 ({\omit\@\pnode{A2}}{who}[labeloffset=.8em]).
615 \nccurve[angleB=225,ncurvA=1.95,ncurvB=1,offset=1.6pt]{A1}{A2}
616 \nccurve[angleB=227,ncurvA=2,ncurvB=1.02,offset=-1.6pt,
617 linestyle=dashed,arrows=<-]{A1}{A2}
618 \rput(1.8,-1.8){\pscircle*[linecolor=white]{1em}}%
619 \rput(1.8,-1.8){\dots}
620 \endjtree
621 \xe
622
623 \end{document}
624