Debian Codegraph @

texmf-dist/doc/latex/qobitree/example.tex

raw
1 %% Copyright 1996 Jeffrey Mark Siskind
2 %
3 % This work may be distributed and/or modified under the
4 % conditions of the LaTeX Project Public License, either version 1.3
5 % of this license or (at your option) any later version.
6 % The latest version of this license is in
7 % http://www.latex-project.org/lppl.txt
8 % and version 1.3 or later is part of all distributions of LaTeX
9 % version 2005/12/01 or later.
10 %
11 % This work has the LPPL maintenance status `unmaintained'.
12 %
13 % This work consists of all files listed in manifest.txt.
14 %
15 %% Copyright and licensing notice added 2008/11/29 by
16 %% Clea F. Rees on behalf of Jeffrey Mark Siskind.
17 %% Datum: 27.06.95
18 %% Datum: 22.06.95
19 %% Datum: 22.06.95
20 %% Datum: 22.06.95
21 %% Datum: 22.06.95
22 \documentstyle{article}
23 \newcommand{\define}{\stackrel{\triangle}{=}}
24 \newcommand{\samelayer}{\bowtie}
25 \newcommand{\Xbar}{$\overline{\rm X}$}
26 \newcommand{\Xspec}{$\mbox{\rm X}_{\mbox{\scriptsize\rm SPEC}}$}
27 \newcommand{\Ibar}{$\overline{\rm I}$}
28 \newcommand{\Ispec}{$\mbox{\rm I}_{\mbox{\scriptsize\rm SPEC}}$}
29 \newcommand{\Nspec}{$\mbox{\rm N}_{\mbox{\scriptsize\rm SPEC}}$}
30 \newcommand{\Vspec}{$\mbox{\rm V}_{\mbox{\scriptsize\rm SPEC}}$}
31 \newcommand{\Sbar}{$\overline{\rm S}$}
32 \newcommand{\CAUSE}{\mbox{\rm CAUSE}}
33 \newcommand{\GO}{\mbox{\rm GO}}
34 \newcommand{\BE}{\mbox{\rm BE}}
35 \newcommand{\ORIENT}{\mbox{\rm ORIENT}}
36 \newcommand{\PATH}[1]{\left[_{\mbox{\scriptsize\rm Path}}\;#1\right]}
37 \newcommand{\FROM}{\mbox{\rm FROM}}
38 \newcommand{\TO}{\mbox{\rm TO}}
39 \newcommand{\TOWARD}{\mbox{\rm TOWARD}}
40 \newcommand{\UPWARD}{\mbox{\rm UPWARD}}
41 \newcommand{\AT}{\mbox{\rm AT}}
42 \newcommand{\IN}{\mbox{\rm IN}}
43 \newcommand{\OUT}{\mbox{\rm OUT}}
44 \newcommand{\ON}{\mbox{\rm ON}}
45 \newcommand{\WALK}{\mbox{\rm WALK}}
46 \newcommand{\RUN}{\mbox{\rm RUN}}
47 \newcommand{\SEE}{\mbox{\rm SEE}}
48 \newcommand{\FLEE}{\mbox{\rm FLEE}}
49 \newcommand{\SLIDE}{\mbox{\rm SLIDE}}
50 \newcommand{\JOHN}{\mbox{\bf John}}
51 \newcommand{\MARY}{\mbox{\bf Mary}}
52 \newcommand{\BILL}{\mbox{\bf Bill}}
53 \newcommand{\BETH}{\mbox{\bf Beth}}
54 \newcommand{\TARO}{\mbox{\bf Taro}}
55 \newcommand{\MAN}{\mbox{\bf man}}
56 \newcommand{\PERSONA}{\mbox{\bf person}_1}
57 \newcommand{\PERSONB}{\mbox{\bf person}_2}
58 \newcommand{\PERSONC}{\mbox{\bf person}_3}
59 \newcommand{\OBJECTA}{\mbox{\bf object}_1}
60 \newcommand{\DOG}{\mbox{\bf dog}}
61 \newcommand{\CAT}{\mbox{\bf cat}}
62 \newcommand{\CUP}{\mbox{\bf cup}}
63 \newcommand{\BOOK}{\mbox{\bf book}}
64 \newcommand{\TABLE}{\mbox{\bf table}}
65 \newcommand{\CORNER}{\mbox{\bf corner}}
66 \newcommand{\SCHOOL}{\mbox{\bf school}}
67 \newcommand{\ROOM}{\mbox{\bf room}}
68 \newcommand{\WINDOW}{\mbox{\bf window}}
69 \newcommand{\BALL}{\mbox{\bf ball}}
70 \newcommand{\PUSH}{\mbox{\rm PUSH}}
71 \newcommand{\FALL}{\mbox{\rm FALL}}
72 \newcommand{\OUTSIDE}{\mbox{\bf outside}}
73 \newcommand{\AGENT}{\mbox{\sc Agent}}
74 \newcommand{\PATIENT}{\mbox{\sc Patient}}
75 \newcommand{\THEME}{\mbox{\sc Theme}}
76 \newcommand{\SOURCE}{\mbox{\sc Source}}
77 \newcommand{\GOAL}{\mbox{\sc Goal}}
78 \input{qobitree}
79 \setlength{\topmargin}{0in}
80 \setlength{\oddsidemargin}{0.25in}
81 \setlength{\evensidemargin}{0in}
82 \setlength{\textwidth}{6.25in}
83 \setlength{\textheight}{8.15in}
84 \begin{document}
85 \begin{center}
86 \leaf{{\em John}\\$\JOHN$}
87 \leaf{{\em slid}\\$\CAUSE(x,\GO(y,\PATH{u,v}))$}
88 \leaf{{\em the}\\$\bot$}
89 \leaf{{\em cup}\\$\CUP$}
90 \branch{2}{{\em the cup}\\$\CUP$}
91 \leaf{{\em from}\\$\FROM(x)$}
92 \leaf{{\em Mary}\\$\MARY$}
93 \branch{2}{{\em from Mary}\\$\FROM(\MARY)$}
94 \leaf{{\em to}\\$\TO(x)$}
95 \leaf{{\em Bill}\\$\BILL$}
96 \branch{2}{{\em to Bill}\\$\TO(\BILL)$}
97 \branch{4}{{\em slid the cup from Mary to Bill}\\
98 $\CAUSE(x,\GO(\CUP,\PATH{\FROM(\MARY),\TO(\MARY)}))$}
99 \faketreewidth{{\em slid the cup from Mary to Bill}\\
100 $\CAUSE(x,\GO(\CUP,\PATH{\FROM(\MARY),\TO(\MARY)}))$}
101 \branch{2}{{\em John slid the cup from Mary to Bill.}\\
102 $\CAUSE(\JOHN,\GO(\CUP,\PATH{\FROM(\MARY),\TO(\MARY)}))$}
103 \tree
104 \end{center}
105 \newpage
106 \begin{center}
107 \begin{tabular}{ccccc}
108 \leaf{\fbox{x}}\branch{1}{\Xbar}\tree &
109 \leaf{\Xspec}\leaf{\fbox{\Xbar}}\branch{2}{XP}\tree &
110 \leaf{\fbox{\Xbar}}\leaf{\Xspec}\branch{2}{XP}\tree &
111 \leaf{\fbox{\Xbar}}\leaf{Y}\branch{2}{\Xbar}\tree &
112 \leaf{Y}\leaf{\fbox{\Xbar}}\branch{2}{\Xbar}\tree\\
113 \ & & & & \\
114 (a) & (b) & (c) & (d) & (e)
115 \end{tabular}
116 \end{center}
117 \newpage
118 \begin{center}
119 \begin{tabular}{ccccc}
120 \leaf{$\phi$}\branch{1}{$\phi$}\tree &
121 \leaf{\fbox{$\phi(x)$}}\leaf{$\psi$}\branch{2}{$\phi(\psi)$}\tree &
122 \leaf{$\psi$}\leaf{\fbox{$\phi(x)$}}\branch{2}{$\phi(\psi)$}\tree &
123 \leaf{\fbox{$\phi$}}\leaf{$\bot$}\branch{2}{$\phi$}\tree &
124 \leaf{$\bot$}\leaf{\fbox{$\phi$}}\branch{2}{$\phi$}\tree\\
125 \ & & & & \\
126 (i) & (ii) & (iii) & (iv) & (v)
127 \end{tabular}
128 \end{center}
129 \newpage
130 \begin{center}
131 \leaf{{\em The}\\$\bot$\\\Nspec}
132 \leaf{{\em cup}\\$\CUP$\\N}
133 \branch{2}{\fbox{Fracture}}
134 \branch{1}{{\em The cup}\\$\CUP$\\NP}
135 \leaf{$\;\;\;\vdots\;\;\;$}
136 \leaf{$\;\;\;\vdots\;\;\;$}
137 \branch{2}{\fbox{Fracture}}
138 \branch{1}{{\em slid from John to Mary}\\
139 {$\GO(x,\PATH{\FROM(\JOHN),\TO(\MARY)})$}\\
140 IP}
141 \branch{2}{\fbox{Fracture}}
142 \branch{1}{{\em The cup slid from John to Mary.}\\
143 $\GO(\CUP,\PATH{\FROM(\JOHN),\TO(\MARY)})$\\
144 IP}
145 \tree
146 \end{center}
147 \newpage
148 \leaf{ACT}
149 \leaf{THING\\{[(Bob)]}}
150 \leaf{THING\\{[(box)]}}
151 \leaf{MANNER\\``throwing''}
152 \leaf{GO}
153 \leaf{THING\\(box)}
154 \leaf{TO}
155 \leaf{THING\\(Bill)}
156 \branch{2}{PATH\\{[ ]}}
157 \faketreewidth{PATH\\{[ ]}}
158 \branch{3}{effect\\EVENT}
159 \faketreewidth{effect\\EVENT}
160 \branch{5}{EVENT}
161 \begin{center}
162 \begin{tabular}{l}
163 throw:\\
164 \tree
165 \end{tabular}
166 \end{center}
167 \newpage
168 \begin{center}
169 \leaf{{\em The}}
170 \branch{1}{$\mbox{\rm D}^{0}$}
171 \leaf{{\em cup}}
172 \branch{1}{$\mbox{\rm N}^{2}$}
173 \branch{2}{$\mbox{\rm D}^{1}$}
174 \branch{1}{$\mbox{\rm D}^{2}_{1}$}
175 \leaf{{\em slide}}
176 \branch{1}{$\mbox{\rm V}^{0}_{2}$}
177 \leaf{{\em -ed}}
178 \branch{1}{$\mbox{\rm I}^{0}$}
179 \branch{2}{$\mbox{\rm I}^{0}$}
180 \leaf{{\em t}}
181 \branch{1}{$\mbox{\rm D}^{2}_{1}$}
182 \leaf{{\em t}}
183 \branch{1}{$\mbox{\rm V}^{0}_{2}$}
184 \branch{1}{$\mbox{\rm V}^{1}$}
185 \branch{2}{$\mbox{\rm V}^{2}$}
186 \leaf{{\em from}}
187 \branch{1}{$\mbox{\rm P}^{0}$}
188 \leaf{{\em John}}
189 \branch{1}{$\mbox{\rm D}^{2}$}
190 \branch{2}{$\mbox{\rm P}^{1}$}
191 \branch{1}{$\mbox{\rm P}^{2}$}
192 \branch{2}{$\mbox{\rm V}^{2}$}
193 \leaf{{\em to}}
194 \branch{1}{$\mbox{\rm P}^{0}$}
195 \leaf{{\em Mary}}
196 \branch{1}{$\mbox{\rm D}^{2}$}
197 \branch{2}{$\mbox{\rm P}^{1}$}
198 \branch{1}{$\mbox{\rm P}^{2}$}
199 \branch{2}{$\mbox{\rm V}^{2}$}
200 \faketreewidth{\hspace*{30mm}}
201 \branch{2}{$\mbox{\rm I}^{1}$}
202 \branch{2}{$\mbox{\rm I}^{2}$}
203 \faketreewidth{\hspace*{40mm}}
204 \leaf{$\emptyset$}
205 \branch{1}{$\mbox{\rm C}^{0}$}
206 \branch{2}{$\mbox{\rm C}^{1}$}
207 \branch{1}{$\mbox{\rm C}^{2}$}
208 \tree
209 \end{center}
210 \end{document}