-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drawing paths that start at a node using \foreach #356
Comments
Migrated from SourceForge Hi Norbert, This is not a bug. Hence, the expanded version of your loop is not what you wrote but
In other words it doesn't concatenate the path syntax. It concatenates the paths. |
Migrated from SourceForge Well, this would make some sense if the behaviour were consistent between Cheers, |
Migrated from SourceForge
Diff:
|
Aha! Another |
It seems backing-up |
This commit adds more information to what TikZ remembers between foreach iterations, and does so in a way that makes it easier to add other macros and dimensions to the list of things it remembers, both at the code level and via keys. Fixes pgf-tikz#356, pgf-tikz#1047, pgf-tikz#1303, pgf-tikz#1313 Signed-off-by: Andrew Stacey <[email protected]>
Migrated from SourceForge
Author: nzeh
Timestamp: 2015-05-14 14:29:46.942000
In the following code example, two curves from
(a)
to(v2)
and from(a)
to(v3)
are created, but a single curve from(a)
to(v3)
through(v2)
should be drawn.The correct path is drawn if the
\foreach
loop is manually expanded toThe path is also drawn correctly using
but it is of course not shortened to start only at the node's boundary. This suggests that
\foreach
gets confused when the starting point of a path is a node rather than a coordinate.The text was updated successfully, but these errors were encountered: