Quantcast
Channel: Use a variable in foreach - TeX - LaTeX Stack Exchange
Browsing latest articles
Browse All 2 View Live

Answer by egreg for Use a variable in foreach

You're redefining \end at the same grouping level as the \end{tikzpicture} instruction. So when TeX sees \end{tikzpicture} it will obey your redefinition and replace it with2.0{tikzpicture}Can you see...

View Article


Use a variable in foreach

I am trying to use a variable in my foreach loop. It would make things a lot easier, because i only need to change one value and multiple loops are affected.Something like...

View Article
Browsing latest articles
Browse All 2 View Live