Latex: extra alignment tab has been changed to cr

参考:

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

posted @ 2017-12-16 16:18  Wasdns  阅读(7024)  评论(0编辑  收藏  举报