
eu usei
\begin{matrix}
\ldots & 1 & 0 & 0 & 2 & 1 & | & 2 & 0 & 0 & 1 & \ldots \\
\ldots & & & & & 0 & | & 1 & & & &
\end{matrix}
Mas o látex diz:
Extra alignment tab has been changed to \cr.
<recently read> \endtemplate
Onde está o meu erro?
Responder1
VerComo usar mais de 10 tabulações em \bmatrix?, mas provavelmente você quer outra coisa:
\[
\begin{array}{@{} *{6}{c} | *{5}{c} @{}}
\dots & 1 & 0 & 0 & 2 & 1 & 2 & 0 & 0 & 1 & \dots \\
\dots & & & & & 0 & 1 & & & &
\end{array}
\]
Compare com a saída 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}