title: Typesetting a large matrix in LaTeX
body: <p>I have a 3x12 matrix I'd like to input into my LaTeX (with amsmath) document but LaTeX seems to choke when the matrix gets larger than 3x10:</p>
  
  <pre><code>\begin{equation}
  \textbf{e} = 
  \begin{bmatrix} 
  1&amp;1&amp;1&amp;1&amp;0&amp;0&amp;0&amp;0&amp;-1&amp;-1&amp;-1&amp;-1\\
  1&amp;-1&amp;0&amp;0&amp;1&amp;1&amp;-1&amp;-1&amp;0&amp;0&amp;1&amp;-1\\
  0&amp;0&amp;1&amp;-1&amp;1&amp;-1&amp;1&amp;-1&amp;1&amp;-1&amp;0&amp;0
  \end{bmatrix}
  \end{equation}
  </code></pre>
  
  <p>The error: <strong>Extra alignment tab has been changed to \cr.</strong> tells me that I have more <code>&amp;</code> than the <code>bmatrix</code> environment can handle. Is there a proper way to handle this? It also seems that the alignment for 1's and the -1's are different, is that also expected of the <code>bmatrix</code>?</p>