Skip to content
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

Fix foreach in TikZ to remember more stuff between iterations #1316

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

loopspace
Copy link
Contributor

Motivation for this change

Fixes #356, #1047, #1303, #1313 by remembering more information between iterations of a foreach loop on a path, in particular the last node. Also provides a more flexible interface to remember more macros & dimensions at both the code level and the user level (the latter via pgfkeys).

See #1304 for a previous version of this pull request where something went wrong with signing the commits.

Checklist

Please signoff your commits to explicitly state your agreement to the Developer Certificate of Origin. If that is not possible you may check the boxes below instead:

loopspace and others added 3 commits January 8, 2024 21:42
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Drawing paths that start at a node using \foreach
1 participant