Latex: extra alignment tab has been changed to cr

Posted Wasdns

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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

以上是关于Latex: extra alignment tab has been changed to cr的主要内容,如果未能解决你的问题,请参考以下文章

LaTeX使用笔记

latex 如何实现align的自由编号

latex插入图表需要啥宏包

关于LaTeX公式排版

Latex 排版技巧 1——数学公式对齐

latex多行公式和分段函数的写法