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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM