summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/qobitree/example.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/qobitree/example.tex
Initial commit
Diffstat (limited to 'macros/latex/contrib/qobitree/example.tex')
-rw-r--r--macros/latex/contrib/qobitree/example.tex210
1 files changed, 210 insertions, 0 deletions
diff --git a/macros/latex/contrib/qobitree/example.tex b/macros/latex/contrib/qobitree/example.tex
new file mode 100644
index 0000000000..4155175c4c
--- /dev/null
+++ b/macros/latex/contrib/qobitree/example.tex
@@ -0,0 +1,210 @@
+%% Copyright 1996 Jeffrey Mark Siskind
+%
+% This work 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.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `unmaintained'.
+%
+% This work consists of all files listed in manifest.txt.
+%
+%% Copyright and licensing notice added 2008/11/29 by
+%% Clea F. Rees on behalf of Jeffrey Mark Siskind.
+ %% Datum: 27.06.95
+ %% Datum: 22.06.95
+ %% Datum: 22.06.95
+ %% Datum: 22.06.95
+ %% Datum: 22.06.95
+\documentstyle{article}
+\newcommand{\define}{\stackrel{\triangle}{=}}
+\newcommand{\samelayer}{\bowtie}
+\newcommand{\Xbar}{$\overline{\rm X}$}
+\newcommand{\Xspec}{$\mbox{\rm X}_{\mbox{\scriptsize\rm SPEC}}$}
+\newcommand{\Ibar}{$\overline{\rm I}$}
+\newcommand{\Ispec}{$\mbox{\rm I}_{\mbox{\scriptsize\rm SPEC}}$}
+\newcommand{\Nspec}{$\mbox{\rm N}_{\mbox{\scriptsize\rm SPEC}}$}
+\newcommand{\Vspec}{$\mbox{\rm V}_{\mbox{\scriptsize\rm SPEC}}$}
+\newcommand{\Sbar}{$\overline{\rm S}$}
+\newcommand{\CAUSE}{\mbox{\rm CAUSE}}
+\newcommand{\GO}{\mbox{\rm GO}}
+\newcommand{\BE}{\mbox{\rm BE}}
+\newcommand{\ORIENT}{\mbox{\rm ORIENT}}
+\newcommand{\PATH}[1]{\left[_{\mbox{\scriptsize\rm Path}}\;#1\right]}
+\newcommand{\FROM}{\mbox{\rm FROM}}
+\newcommand{\TO}{\mbox{\rm TO}}
+\newcommand{\TOWARD}{\mbox{\rm TOWARD}}
+\newcommand{\UPWARD}{\mbox{\rm UPWARD}}
+\newcommand{\AT}{\mbox{\rm AT}}
+\newcommand{\IN}{\mbox{\rm IN}}
+\newcommand{\OUT}{\mbox{\rm OUT}}
+\newcommand{\ON}{\mbox{\rm ON}}
+\newcommand{\WALK}{\mbox{\rm WALK}}
+\newcommand{\RUN}{\mbox{\rm RUN}}
+\newcommand{\SEE}{\mbox{\rm SEE}}
+\newcommand{\FLEE}{\mbox{\rm FLEE}}
+\newcommand{\SLIDE}{\mbox{\rm SLIDE}}
+\newcommand{\JOHN}{\mbox{\bf John}}
+\newcommand{\MARY}{\mbox{\bf Mary}}
+\newcommand{\BILL}{\mbox{\bf Bill}}
+\newcommand{\BETH}{\mbox{\bf Beth}}
+\newcommand{\TARO}{\mbox{\bf Taro}}
+\newcommand{\MAN}{\mbox{\bf man}}
+\newcommand{\PERSONA}{\mbox{\bf person}_1}
+\newcommand{\PERSONB}{\mbox{\bf person}_2}
+\newcommand{\PERSONC}{\mbox{\bf person}_3}
+\newcommand{\OBJECTA}{\mbox{\bf object}_1}
+\newcommand{\DOG}{\mbox{\bf dog}}
+\newcommand{\CAT}{\mbox{\bf cat}}
+\newcommand{\CUP}{\mbox{\bf cup}}
+\newcommand{\BOOK}{\mbox{\bf book}}
+\newcommand{\TABLE}{\mbox{\bf table}}
+\newcommand{\CORNER}{\mbox{\bf corner}}
+\newcommand{\SCHOOL}{\mbox{\bf school}}
+\newcommand{\ROOM}{\mbox{\bf room}}
+\newcommand{\WINDOW}{\mbox{\bf window}}
+\newcommand{\BALL}{\mbox{\bf ball}}
+\newcommand{\PUSH}{\mbox{\rm PUSH}}
+\newcommand{\FALL}{\mbox{\rm FALL}}
+\newcommand{\OUTSIDE}{\mbox{\bf outside}}
+\newcommand{\AGENT}{\mbox{\sc Agent}}
+\newcommand{\PATIENT}{\mbox{\sc Patient}}
+\newcommand{\THEME}{\mbox{\sc Theme}}
+\newcommand{\SOURCE}{\mbox{\sc Source}}
+\newcommand{\GOAL}{\mbox{\sc Goal}}
+\input{qobitree}
+\setlength{\topmargin}{0in}
+\setlength{\oddsidemargin}{0.25in}
+\setlength{\evensidemargin}{0in}
+\setlength{\textwidth}{6.25in}
+\setlength{\textheight}{8.15in}
+\begin{document}
+\begin{center}
+\leaf{{\em John}\\$\JOHN$}
+\leaf{{\em slid}\\$\CAUSE(x,\GO(y,\PATH{u,v}))$}
+\leaf{{\em the}\\$\bot$}
+\leaf{{\em cup}\\$\CUP$}
+\branch{2}{{\em the cup}\\$\CUP$}
+\leaf{{\em from}\\$\FROM(x)$}
+\leaf{{\em Mary}\\$\MARY$}
+\branch{2}{{\em from Mary}\\$\FROM(\MARY)$}
+\leaf{{\em to}\\$\TO(x)$}
+\leaf{{\em Bill}\\$\BILL$}
+\branch{2}{{\em to Bill}\\$\TO(\BILL)$}
+\branch{4}{{\em slid the cup from Mary to Bill}\\
+$\CAUSE(x,\GO(\CUP,\PATH{\FROM(\MARY),\TO(\MARY)}))$}
+\faketreewidth{{\em slid the cup from Mary to Bill}\\
+$\CAUSE(x,\GO(\CUP,\PATH{\FROM(\MARY),\TO(\MARY)}))$}
+\branch{2}{{\em John slid the cup from Mary to Bill.}\\
+$\CAUSE(\JOHN,\GO(\CUP,\PATH{\FROM(\MARY),\TO(\MARY)}))$}
+\tree
+\end{center}
+\newpage
+\begin{center}
+\begin{tabular}{ccccc}
+\leaf{\fbox{x}}\branch{1}{\Xbar}\tree &
+\leaf{\Xspec}\leaf{\fbox{\Xbar}}\branch{2}{XP}\tree &
+\leaf{\fbox{\Xbar}}\leaf{\Xspec}\branch{2}{XP}\tree &
+\leaf{\fbox{\Xbar}}\leaf{Y}\branch{2}{\Xbar}\tree &
+\leaf{Y}\leaf{\fbox{\Xbar}}\branch{2}{\Xbar}\tree\\
+\ & & & & \\
+(a) & (b) & (c) & (d) & (e)
+\end{tabular}
+\end{center}
+\newpage
+\begin{center}
+\begin{tabular}{ccccc}
+\leaf{$\phi$}\branch{1}{$\phi$}\tree &
+\leaf{\fbox{$\phi(x)$}}\leaf{$\psi$}\branch{2}{$\phi(\psi)$}\tree &
+\leaf{$\psi$}\leaf{\fbox{$\phi(x)$}}\branch{2}{$\phi(\psi)$}\tree &
+\leaf{\fbox{$\phi$}}\leaf{$\bot$}\branch{2}{$\phi$}\tree &
+\leaf{$\bot$}\leaf{\fbox{$\phi$}}\branch{2}{$\phi$}\tree\\
+\ & & & & \\
+(i) & (ii) & (iii) & (iv) & (v)
+\end{tabular}
+\end{center}
+\newpage
+\begin{center}
+\leaf{{\em The}\\$\bot$\\\Nspec}
+\leaf{{\em cup}\\$\CUP$\\N}
+\branch{2}{\fbox{Fracture}}
+\branch{1}{{\em The cup}\\$\CUP$\\NP}
+\leaf{$\;\;\;\vdots\;\;\;$}
+\leaf{$\;\;\;\vdots\;\;\;$}
+\branch{2}{\fbox{Fracture}}
+\branch{1}{{\em slid from John to Mary}\\
+{$\GO(x,\PATH{\FROM(\JOHN),\TO(\MARY)})$}\\
+IP}
+\branch{2}{\fbox{Fracture}}
+\branch{1}{{\em The cup slid from John to Mary.}\\
+$\GO(\CUP,\PATH{\FROM(\JOHN),\TO(\MARY)})$\\
+IP}
+\tree
+\end{center}
+\newpage
+\leaf{ACT}
+\leaf{THING\\{[(Bob)]}}
+\leaf{THING\\{[(box)]}}
+\leaf{MANNER\\``throwing''}
+\leaf{GO}
+\leaf{THING\\(box)}
+\leaf{TO}
+\leaf{THING\\(Bill)}
+\branch{2}{PATH\\{[ ]}}
+\faketreewidth{PATH\\{[ ]}}
+\branch{3}{effect\\EVENT}
+\faketreewidth{effect\\EVENT}
+\branch{5}{EVENT}
+\begin{center}
+\begin{tabular}{l}
+throw:\\
+\tree
+\end{tabular}
+\end{center}
+\newpage
+\begin{center}
+\leaf{{\em The}}
+\branch{1}{$\mbox{\rm D}^{0}$}
+\leaf{{\em cup}}
+\branch{1}{$\mbox{\rm N}^{2}$}
+\branch{2}{$\mbox{\rm D}^{1}$}
+\branch{1}{$\mbox{\rm D}^{2}_{1}$}
+\leaf{{\em slide}}
+\branch{1}{$\mbox{\rm V}^{0}_{2}$}
+\leaf{{\em -ed}}
+\branch{1}{$\mbox{\rm I}^{0}$}
+\branch{2}{$\mbox{\rm I}^{0}$}
+\leaf{{\em t}}
+\branch{1}{$\mbox{\rm D}^{2}_{1}$}
+\leaf{{\em t}}
+\branch{1}{$\mbox{\rm V}^{0}_{2}$}
+\branch{1}{$\mbox{\rm V}^{1}$}
+\branch{2}{$\mbox{\rm V}^{2}$}
+\leaf{{\em from}}
+\branch{1}{$\mbox{\rm P}^{0}$}
+\leaf{{\em John}}
+\branch{1}{$\mbox{\rm D}^{2}$}
+\branch{2}{$\mbox{\rm P}^{1}$}
+\branch{1}{$\mbox{\rm P}^{2}$}
+\branch{2}{$\mbox{\rm V}^{2}$}
+\leaf{{\em to}}
+\branch{1}{$\mbox{\rm P}^{0}$}
+\leaf{{\em Mary}}
+\branch{1}{$\mbox{\rm D}^{2}$}
+\branch{2}{$\mbox{\rm P}^{1}$}
+\branch{1}{$\mbox{\rm P}^{2}$}
+\branch{2}{$\mbox{\rm V}^{2}$}
+\faketreewidth{\hspace*{30mm}}
+\branch{2}{$\mbox{\rm I}^{1}$}
+\branch{2}{$\mbox{\rm I}^{2}$}
+\faketreewidth{\hspace*{40mm}}
+\leaf{$\emptyset$}
+\branch{1}{$\mbox{\rm C}^{0}$}
+\branch{2}{$\mbox{\rm C}^{1}$}
+\branch{1}{$\mbox{\rm C}^{2}$}
+\tree
+\end{center}
+\end{document}