Aligning the equals sign '=' with several equations doesn't seem to work with \begin{eqnarray*} and \end{eqnarray*}.
When I use this code:
\begin{eqnarray*}
6 &=& 1 + 2 + 3 \\
&=& 1 \cdot 2 \cdot 3 \\
\end{eqnarray*}
I get
.
What's going on here?
I see how active the calculus forum is and I would love to be able to use this feature.
I see. Thank you very much!
However, there seem to be some limitations on string length on this forum as opposed to some other forums I've seen. Is there a way to align equations with more than one [tex] tag?
There are limits on the size of a displayed formula and on the number of characters allowed in a formula (presumably to discourage hackers and nuisance posts). As you say, the only way to post a long string of calculations is to break it up among different [tex] tags.
Another problem is that the compiler strips out all leading and trailing spaces in formulas. I don't know the reason for this, but it makes it hard to align formulas. If you want to align equations between different [tex] tags then you have to resort to trickery, like this:
That comes from this code:
[tex]\begin{aligned}f(x_1,x_2,\ldots,x_n) &= ... \\
&= ... \\
&= ... \\
&= ... \end{aligned}[/tex]
[tex]\begin{aligned}{\color{white}f(x_1,x_2,\ldots,x_n) } &= ... \\
&= ... \\
&= ... \end{aligned}[/tex]
Repeating the left-hand side of the chain of equations in (approximately) the background colour gets the horizontal spacing exactly right. But there may be a slight difference in the vertical spacing between lines, because the only spacing available there is the paragraph break.