I'm looking for a way to generate in a loop the rows of an align environment, or IEEEeqnarray or some such thing. I can see that \foreach works in math mode (inside \[ \] e.g.), but something like this
\begin{align*}
\foreach \i in {1,...,5}
{
V_\i & = 12345
}
\end{align*}
fails with
! Extra }, or forgotten \endgroup.
<template> }
$}\ifmeasuring@ \savefieldlength@ \fi \set@field \endtemplate
l.161 \end{align*}
Can I make this work without much hassle?
