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

\foreach initial value stored for remember key is actually in <macro> #1340

Open
robert-g-liu opened this issue Jun 20, 2024 · 0 comments
Open
Labels

Comments

@robert-g-liu
Copy link

Version

3.1.10

Details

For this key "/pgf/foreach/remember=<variable> as <macro> (initially <value>)" the document explains "By default
the value of <variable> is zero for the first iteration, however, the optional (initially <value>)
statement, allows the <macro> to be initially defined as <value>."

It's more appropriate to say by default the value of <macro> is zero for the first iteration. The <variable> gets a value out of the list, or gets evaluated in some way, in current iteration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant