Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I keep getting the error "! Misplaced \omit. \multispan ->\omit \@multispan" for the following table:

\begin{tabular}{cc|c|c|c|c|l}
\cline{3-6}
&& \multicolumn{4}{c|}{Glucose} \\ \cline{3-6}
&& Initial absorption & Absorption after 60 min & $\Delta$ Absorption & Amount of glucose \\ \cline{1-6} 
\multicolumn{1}{|c}{\multirow{2}{*}{Aerobic}} & \multicolumn{1}{|c|}{$ t_{0}$} &&&&&\\ \cline{2-4}
\multicolumn{1}{|c}{} & \multicolumn{1}{|c|}{$t_{48}$} &&&&&\\ \cline{1-6}
\multicolumn{1}{|c}{\multirow{2}{*}{1st Form}} & \multicolumn{1}{|c|}{$ t_{0}$} &&&&&\\ \cline{2-4}
\multicolumn{1}{|c}{} & \multicolumn{1}{|c|}{$t_{48}$} &&&&&\\ \cline{1-6}
\multicolumn{1}{|c}{\multirow{2}{*}{2nd Form}} & \multicolumn{1}{|c|}{$ t_{0}$} &&&&&\\ \cline{2-4}
\multicolumn{1}{|c}{} & \multicolumn{1}{|c|}{$t_{48}$} &&&&&\\ \cline{1-6}
\end{tabular}

But this table appears to work, and that confuses me a little:

\begin{tabular}{cc|c|c|c|c|l}
\cline{3-6}
&& \multicolumn{4}{c|}{Primes} \\ \cline{3-6}
&& 2 & 3 & 5 & 7 \\ \cline{1-6}
\multicolumn{1}{|c}{\multirow{2}{*}{Powers}} & \multicolumn{1}{|c|}{504} & 3 & 2 & 0 & 1 & \\ \cline{2-6}
\multicolumn{1}{|c}{} &\multicolumn{1}{|c|}{540} & 2 & 3 & 1 & 0 & \\ \cline{1-6}
\multicolumn{1}{|c}{\multirow{2}{*}{Powers}} &\multicolumn{1}{|c|}{gcd} & 2 & 2 & 0 & 0 & min \\ \cline{2-6}
\multicolumn{1}{|c}{} &\multicolumn{1}{|c|}{lcm} & 3 & 3 & 1 & 1 & max \\ \cline{1-6}
\end{tabular}

I'd appreciate any help. Thanx :)

share|improve this question
1  
Welcome to TeX.SX! \multirow shouldn't appear in the argument of \multicolumn. – egreg Nov 1 '12 at 17:12
Hey, I'm sorry, I'm very new to LaTeX, and I'm afraid I didnt understand that. What exactly is different in the 2nd Table that that one works and the 1st one doesn't? In basic english please. Thanx again. – E. W. Nov 1 '12 at 17:21
@egreg: Both tabulars works fine for me in a minimal example. So some information (aka a complete example) is missing. – Ulrike Fischer Nov 1 '12 at 17:22
@UlrikeFischer Yes, indeed. – egreg Nov 1 '12 at 17:24
Crazy, i fixed it!... even though i have now idea what the problem was. Thanx anyway :) – E. W. Nov 1 '12 at 17:35
show 1 more comment

closed as too localized by Thorsten, Kurt, cgnieder, Stefan Kottwitz Nov 1 '12 at 18:05

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.