I'm new to TikZ, and I'm trying to use the align enviroment to align some text then draw something on it using some TikZ lines.
But the problem that pdfLaTeX is generating an error whenever I try to put the alignment enviroment inside a TikZ picture.
Here's my code:
\begin{figure}
\centering
\begin{tikzpicture}
\begin{align}
\notag &a_1,\ &b_1,\ &c_1,\ &d_1,\ &e_1\ \mbox{etc.}\\
\notag &a_2,\ &b_2,\ &c_2,\ &d_2,\ &e_2\ \mbox{etc.}
\end{align}
%% draw some stuff using tikz on the the aligned text.
\end{tikzpicture}
\end{figure}
but I'm always getting this error:
! Missing \endgroup inserted.
<inserted text>
\endgroup
l.358 \end{align}
P.S. If I put the align outside the TikZ enviroment, everything works normally.

