Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Here is my code:

\begin{equation*} \begin{split}
begin{bmatrix} 2&5 & & 1& 0 \\ 3&5 & & 0&1 \end{bmatrix} & \rightarrow 
\begin{bmatrix} 1&3 & & \frac{1}{2} & 0 \\ 3&5 & & 0&1 \end{bmatrix} \rightarrow 
\begin{bmatrix} 1&3 & & \frac{1}{2} & 0 \\ 0&-4 & & \frac{-3}{2} & 1 \end{bmatrix} \rightarrow 
\begin{bmatrix} 1&3 & & \frac{1}{2} & 0 \\ 0&-1 & & \frac{-3}{8} & \frac{1}{4} \end{bmatrix} \\
& \rightarrow \begin{bmatrix}  \frac{-5}{8} & \frac{3}{4} \\ \frac{3}{8} & \frac{-1}{4} \end{bmatrix} 
\end{split} \end{equation*}

The error tells me that the \begin{split} command ends at the first \end{bmatrix}. How do I align these matrices the way I want to?

share|improve this question
1  
You're missing a backslash in front of begin in the second line. If I add it, the example runs without errors. – egreg Sep 29 '11 at 21:53
@egreg ha, thanks. – iDontKnowBetter Sep 29 '11 at 21:55

closed as too localized by egreg, Werner, Stefan Kottwitz Sep 29 '11 at 22:28

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.