Am Montag, 04. Februar 2008 20:33:08 schrieb Hans Meine:
> > I often use the below from, left from etc options defined in the
> > signalflow library written by Karlheinz Ochs:
> >
http://www.fauskes.net/pgftikzexamples/signal-flow-building-blocks/>
> ..like this one. This is exactly what I need - if it would not break API
> compatibility, I would even suggest replacing the TikZ originals with
> these.
Thinking about that again - is there a good reason not to add the following
from pgflibrarytikzsignalflowdiagram.code.tex to tikz.code.tex? (Except
asking Karlheinz for permission)
\tikzoption{below from}{\tikz@from{#1}{1}{-90}{south}{north}}%
\tikzoption{right from}{\tikz@from{#1}{1}{0}{east}{west}}%
\tikzoption{above from}{\tikz@from{#1}{1}{90}{north}{south}}%
\tikzoption{left from}{\tikz@from{#1}{1}{180}{west}{east}}%
\tikzoption{below left from}{\tikz@from{#1}{1.414214}{-135}{south west}{north
east}}%
\tikzoption{below right from}{\tikz@from{#1}{1.414214}{-45}{south east}{north
west}}%
\tikzoption{above right from}{\tikz@from{#1}{1.414214}{45}{north east}{south
west}}%
\tikzoption{above left from}{\tikz@from{#1}{1.414214}{135}{north west}{south
east}}%
\def\tikz@from#1#2#3#4#5{%
\def\tikz@anchor{#5}%
\let\tikz@do@auto@anchor=\relax%
\tikz@addtransform{\pgftransformshift{\pgfpointscale{#2}{\pgfpointpolar{#3}
{\tikz@node@distance}}}}%
\def\tikz@node@at{\pgfpointanchor{#1}{#4}}}
--
Ciao, / /
/--/
/ / ANS
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
pgf-users mailing list
pgf-users@...
https://lists.sourceforge.net/lists/listinfo/pgf-users