
나는 사용했다
\begin{matrix}
\ldots & 1 & 0 & 0 & 2 & 1 & | & 2 & 0 & 0 & 1 & \ldots \\
\ldots & & & & & 0 & | & 1 & & & &
\end{matrix}
하지만 라텍스는 이렇게 말합니다.
Extra alignment tab has been changed to \cr.
<recently read> \endtemplate
내 실수는 어디에 있습니까?
답변1
보다\bmatrix에서 10개 이상의 탭 정지를 사용하는 방법은 무엇입니까?하지만 아마도 다른 것을 원할 것입니다.
\[
\begin{array}{@{} *{6}{c} | *{5}{c} @{}}
\dots & 1 & 0 & 0 & 2 & 1 & 2 & 0 & 0 & 1 & \dots \\
\dots & & & & & 0 & 1 & & & &
\end{array}
\]
의 출력과 비교
\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}