You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The count variable in \foreach seems to be unscoped unlike the list variable.
\documentclass{article}
\usepackage{pgffor}
\begin{document}
Testing the acute accent í í í ...
\show\listitem\show\i\foreach\listitem [count=\i] in {1,...,4} {x}
\show\listitem\show\i
Testing the acute accent í í í ...
\end{document}
The
count
variable in\foreach
seems to be unscoped unlike the list variable.Using
pdflatex
this results in:Thanks @u-fischer for the original report: https://chat.stackexchange.com/transcript/message/50829169#50829169
The text was updated successfully, but these errors were encountered: