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