![多列表格中出现“额外的对齐制表符已更改为 \cr”错误](https://linux22.com/image/331094/%E5%A4%9A%E5%88%97%E8%A1%A8%E6%A0%BC%E4%B8%AD%E5%87%BA%E7%8E%B0%E2%80%9C%E9%A2%9D%E5%A4%96%E7%9A%84%E5%AF%B9%E9%BD%90%E5%88%B6%E8%A1%A8%E7%AC%A6%E5%B7%B2%E6%9B%B4%E6%94%B9%E4%B8%BA%20%5Ccr%E2%80%9D%E9%94%99%E8%AF%AF.png)
我收到此错误:
! Extra alignment tab has been changed to \cr.
<template> \endtemplate
l.41 &
\multicolumn{3}{l}{\bf Head of Department } \\
当我尝试编译我的代码时。代码片段如下:
\begin{center}
\begin{tabular}{llll}
%
\multicolumn{3}{l}{\bf Seminar Guide/Supervisor}
&\multicolumn{3}{l}{\bf Seminar Coordinator}
&\multicolumn{3}{l}{\bf Head of Department } \\
%
& & & \\
%
Name: & & Name: & \\
\multicolumn{3}{l}{Mr. Aadars M S}%
&\multicolumn{3}{l}{Mis. Anjaly S Kumar}%
&\multicolumn{3}{l}{Prof. Rajendran T.K } \\ %
\multicolumn{3}{l}{M.Tech, MISTE } %
\multicolumn{3}{l}{M.Tech, MISTE } %
&\multicolumn{3}{l}{ME, FITE} \\%
%
& & & \\
%
Signature&: .............................
\qquad\quad &
Signature&: .............................
\qquad\quad &
Signature&: .............................\\
%
& & & \\
%
%
\end{tabular}
答案1
如果我理解你的排版目标正确的话,你不需要任何的\multicolumn
说明。相反,类似下面的内容应该就可以了:
...
\begin{tabular}{lll}
\bfseries Seminar Guide/Supervisor
& \bfseries Seminar Coordinator
& \bfseries Head of Department \\[1ex]
Mr.\ Aadars M S
& Mis.\ Anjaly S Kumar
& Prof.\ Rajendran T.K. \\
M.Tech, MISTE
& M.Tech, MISTE
& ME, FITE \\[1ex]
Signature: ............................... &
Signature: .................... &
Signature: ....................\\
\end{tabular}
...