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/tex/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/tex/latex/qtree')
-rw-r--r-- | Master/texmf-dist/tex/latex/qtree/qtree.sty | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/qtree/qtree.sty b/Master/texmf-dist/tex/latex/qtree/qtree.sty index f0f72543a47..4db8284bcbc 100644 --- a/Master/texmf-dist/tex/latex/qtree/qtree.sty +++ b/Master/texmf-dist/tex/latex/qtree/qtree.sty @@ -2,8 +2,8 @@ % qtree.sty, a LaTeX macro package for drawing trees from descriptions % given in bracket notation. % - \def\qTreeVersion{3.1} - \def\qTreeDate{2006/07/10 } + \def\qTreeVersion{3.1b} + \def\qTreeDate{2008/12/12 } % QobiTree tree macros written by Jeffrey Mark Siskind (Qobi@cis.upenn.edu). % Front end and extensions by Alexis Dimitriadis (alexis@ling.upenn.edu). @@ -13,6 +13,9 @@ % Most recent revisions: +% 2008/12/12 -- 3.1b A roof with an empty label will be connected to the tree +% branches (but will look ugly because of the different angles) + % 2006/03/08 -- Protected pict2e loading from possible redefinition of ^. % Reported by Alan Munn. Extended documentation. @@ -917,19 +920,19 @@ both pdf and PostScript is now provided by the package pict2e.sty. % User command for requesting a roof % \def\qroof#1.#2 {{% - % padding under the ``eaves'' of the roof + % padding under the "eaves" of the roof \setbox\@qrscratchbox = \hbox{\let\qtreepadding=\qroofpadding \qshow@text[l]{\qleafhook}{#1}}% % we don't pad here, since the entire roof gets padded as a leaf. - \def\qtreepadding{0pt}% - \begin{tabular}{@{}c@{}} - \qshow@text{\qlabelhook}{#2}\\ - \unitlength=\wd\@qrscratchbox \qdraw@roof \\[-0.6ex] + \def\qtreepadding{0pt}% + \begin{tabular}{@{}c@{}} + \setbox\@tempboxa = \hbox{\qshow@text{\qlabelhook}{#2}}% + \ifdim\wd\@tempboxa>0pt \box\@tempboxa \\ \fi + \unitlength=\wd\@qrscratchbox \qdraw@roof \\[-0.6ex] \box\@qrscratchbox \end{tabular}}} - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % DRAWING UTILITIES |