diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/qtree/qtreenotes.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/qtree/qtreenotes.tex | 54 |
1 files changed, 35 insertions, 19 deletions
diff --git a/Master/texmf-dist/doc/latex/qtree/qtreenotes.tex b/Master/texmf-dist/doc/latex/qtree/qtreenotes.tex index dcd0f6de4f1..1d7c80b55da 100644 --- a/Master/texmf-dist/doc/latex/qtree/qtreenotes.tex +++ b/Master/texmf-dist/doc/latex/qtree/qtreenotes.tex @@ -59,7 +59,7 @@ Please direct comments to Alexis Dimitriadis \large \\[8pt] Jeffrey Mark Siskind (tree drawing and core package)\\[4pt] Alexis Dimitriadis (parser and extensions) \\[8pt] -Version \qTreeVersion, 10 July 2006 +Version \qTreeVersion, 12 December 2008 \\[8pt] \Large % For the paragraph spacing \end{center} @@ -268,22 +268,7 @@ provided must be identical, token for token. \Tree [.S when [.NP the cat ].NP sleeps ] \end{verbatim} -\vneed{3cm} -\subsection{Branching without labels} - -Sometimes we want to draw an abbreviated tree without a label on some or all -intermediate nodes. \QT\ will handle such trees correctly: - -% \medskip -% \Tree [ [.np Eve ] [ [.(np$\backslash$s)/np ate ] [ [.np/n the ] [.n apple ] -% ]]] - -\medskip -\Tree [.CP Spec(CP) [ C^0 [.IP I^0 Comp(IP) ] ] ] -\begin{verbatim} -\Tree [.CP Spec(CP) [ C^0 [.IP I^0 Comp(IP) ] ] ] -\end{verbatim} - +\vneed {2cm} \subsection{Roofs} \DescribeMacro{\qroof} \DescribeMacro{\qroofx} @@ -304,7 +289,6 @@ labeled {\it NP\/} over the phrase {\it the book,} write \hfil\hfil \leaf{\qroof{the book}.NP } \qobitree \end{flushleft} - If the phrase contains line breaks introduced with \verb|\\|, the resulting lines are flush left, not centered. Again, it is possible for the ``phrase'' to be a construction of arbitrary complexity; but the syntax of @@ -313,12 +297,44 @@ the roof, since a roof is meant to cover material that is not analyzed.\footnote{% \QT\ internally implements a roof as a large leaf. } % END FOOTNOTE -An example is given on page \pageref{roof}. +See also the discussion of roofs in the following section. % Although the parsing messes up, it IS possible to work qroof into a % non-terminal label: % \Tree [.A this [.{\qroof{Cheat}.ME } x [ below ] ]] +\vneed{3cm} +\subsection{Branching without labels} + +Sometimes we want to draw an abbreviated tree without a label on some or all +intermediate nodes. \QT\ will handle such trees correctly: + +% \medskip +% \Tree [ [.np Eve ] [ [.(np$\backslash$s)/np ate ] [ [.np/n the ] [.n apple ] +% ]]] + +\medskip +\Tree [.CP Spec(CP) [ C^0 [.IP I^0 Comp(IP) ] ] ] +\begin{verbatim} +\Tree [.CP Spec(CP) [ C^0 [.IP I^0 Comp(IP) ] ] ] +\end{verbatim} + +Starting with qtree version 3.1b, a roof without a label will be attached to the tree branches above it. Note that the period between the roof text and the label does need to be given. If you use this option, you will probably want to adjust the roof angles so that they match the slope of the branch above it. For binary branching, the correct values are \verb|\qroofx=2|, \verb|\qroofy=1|. + +\begin{verbatim} +\qroofx=2 +\qroofy=1 +\Tree [.S This [ [.V is ] \qroof{a simple tree}. ] ] +\end{verbatim} + +\qroofx=2 +\qroofy=1 +\Tree [ [.NP This ] [ [.V is ] \qroof{an unlabeled tree}. ] ] + + + + + \subsection{Subscripts, superscripts and primes} \label{s:super} |