參考:
Error: extra alignment tab has been changed to \cr
Latex: extra alignment tab has been changed to cr 解決方法
復現錯誤的latex實例:
\documentclass{article}
\begin{document}
\begin{tabular}{c|c}
one & two & three \\
\hline
one & two
\end{tabular}
\end{document}
The problem is caused by the extra column you try to insert. The tabular environment expects two columns but three is inserted.
原因是插入了額外的列,或者是因為列數與聲明的不一致(\begin{tabular}{c|c}
).
2017.12