diff options
author | Karl Berry <karl@freefriends.org> | 2009-01-25 16:14:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-01-25 16:14:05 +0000 |
commit | fbf0a6f692a83eb3fe2b4edf96e576ff4fe6ba6f (patch) | |
tree | af4a69920b5cdcda19d39b133679ceb1cbe0eccd /Master/texmf-dist/doc/latex/qtree | |
parent | 3062f54d06ccad7035b82b56fd5476dcac02c505 (diff) |
qtree update (23jan09)
git-svn-id: svn://tug.org/texlive/trunk@11969 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/qtree')
-rw-r--r-- | Master/texmf-dist/doc/latex/qtree/README | 6 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/qtree/qtreenotes.pdf | bin | 228412 -> 229551 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/qtree/qtreenotes.tex | 54 |
3 files changed, 38 insertions, 22 deletions
diff --git a/Master/texmf-dist/doc/latex/qtree/README b/Master/texmf-dist/doc/latex/qtree/README index 98a8ebd4b30..dfdfb1f6123 100644 --- a/Master/texmf-dist/doc/latex/qtree/README +++ b/Master/texmf-dist/doc/latex/qtree/README @@ -1,15 +1,15 @@ This is the distribution directory for QTREE, a LaTeX package for -drawing syntax trees. Qtree allows trees to be specified in a simple +drawing tree diagrams. Qtree allows trees to be specified in a simple bracket notation, automatically calculates branch sizes, and supports both DVI/PostScript and PDF output. -This is Qtree version 3.1, 10 July 2006. Qtree is distributed +This is Qtree version 3.1b, 12 December 2008. Qtree is distributed under the LaTeX Project Public License (LPPL). *** Source files: -qtree.sty The style file +qtree.sty The style file qtreenotes.tex The documentation qarrows.tex Additional info on drawing movement arrows diff --git a/Master/texmf-dist/doc/latex/qtree/qtreenotes.pdf b/Master/texmf-dist/doc/latex/qtree/qtreenotes.pdf Binary files differindex f5e3c7349c7..17a9980f8e2 100644 --- a/Master/texmf-dist/doc/latex/qtree/qtreenotes.pdf +++ b/Master/texmf-dist/doc/latex/qtree/qtreenotes.pdf 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} |