diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tikz-qtree/tikz-qtree.tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/tikz-qtree/tikz-qtree.tex | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/tikz-qtree/tikz-qtree.tex b/Master/texmf-dist/tex/latex/tikz-qtree/tikz-qtree.tex index 09282e63e09..8e8d09f2c47 100644 --- a/Master/texmf-dist/tex/latex/tikz-qtree/tikz-qtree.tex +++ b/Master/texmf-dist/tex/latex/tikz-qtree/tikz-qtree.tex @@ -1,5 +1,5 @@ % tikz-qtree.tex -% Version 1.1, 25 Dec 2009 +% Version 1.11, 25 Dec 2010 % Copyright (C) 2002, 2009 by David Chiang @@ -17,6 +17,9 @@ % with this program; if not, write to the Free Software Foundation, Inc., % 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +% New in version 1.11: +% - make options compatible with standard tikz trees + % New in version 1.1: % - sideways trees @@ -148,13 +151,16 @@ \def\roof@edge@right#1#2{(#1.east) -- (#2.north west) -- (#2.south west) -- cycle} %%% Options - -\tikzoption{level distance}{\pgfmathsetlength\levelsep{#1}} -\tikzoption{sibling distance}{\pgfmathsetlength\subtreesep{#1}} % different semantics +\pgfkeysgetvalue{/tikz/level distance/.@cmd}{\orig@leveldistance} +\tikzoption{level distance}{\pgfmathsetlength\levelsep{#1}\orig@leveldistance#1\pgfeov} +\pgfkeysgetvalue{/tikz/sibling distance/.@cmd}{\orig@siblingdistance} +\tikzoption{sibling distance}{\pgfmathsetlength\subtreesep{#1}\orig@siblingdistance#1\pgfeov} % different semantics % I don't really like this scheme -\tikzoption{grow}{\csname grow@#1\endcsname} -\tikzoption{grow'}{\csname growprime@#1\endcsname} +\pgfkeysgetvalue{/tikz/grow/.@cmd}{\orig@grow} +\tikzoption{grow}{\csname grow@#1\endcsname\orig@grow#1\pgfeov} +\pgfkeysgetvalue{/tikz/grow'/.@cmd}{\orig@growprime} +\tikzoption{grow'}{\csname growprime@#1\endcsname\orig@growprime#1\pgfeov} \def\grow@up{\def\leveldirection{up}\def\siblingdirection{left}} \def\grow@down{\def\leveldirection{down}\def\siblingdirection{right}} \def\growprime@up{\def\leveldirection{up}\def\siblingdirection{right}} |