
solía
\begin{matrix}
\ldots & 1 & 0 & 0 & 2 & 1 & | & 2 & 0 & 0 & 1 & \ldots \\
\ldots & & & & & 0 & | & 1 & & & &
\end{matrix}
Pero látex dice:
Extra alignment tab has been changed to \cr.
<recently read> \endtemplate
¿Dónde está mi error?
Respuesta1
Ver¿Cómo utilizar más de 10 tabulaciones en \bmatrix?, pero probablemente quieras algo más:
\[
\begin{array}{@{} *{6}{c} | *{5}{c} @{}}
\dots & 1 & 0 & 0 & 2 & 1 & 2 & 0 & 0 & 1 & \dots \\
\dots & & & & & 0 & 1 & & & &
\end{array}
\]
Comparar con la salida de
\documentclass{article}
\usepackage{amsmath}
\setcounter{MaxMatrixCols}{12}
\begin{document}
\[
\begin{matrix}
\dots & 1 & 0 & 0 & 2 & 1 & | & 2 & 0 & 0 & 1 & \dots \\
\dots & & & & & 0 & | & 1 & & & &
\end{matrix}
\]
\end{document}