1

I'm trying to build the following table, but I get the error in the title. I'm sure it has something to do with the \multicolumn function, but I can't see what's wrong with it. Help?

\begin{table} [h]
\centering
\caption{Belastninger for K6, M og L i BSim.}
\label{tab:belastninger}
\makebox[\textwidth][c]
{\begin{tabular}{ccccc}
\rowcolor[HTML]{C0C0C0} Lokale & System & Beskrivelse & \multicolumn{2}{c}{Tidsplan} & \\
\rowcolor[HTML]{C0C0C0} & & & Regulering & Tidsangivelse \\
\end{tabular}}
\end{table}

closed as off-topic by Andrew Swann, Mensch, user13907, user31729, darthbith May 8 '15 at 10:48

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • Welcome to TeX.SX! You have an extra &: with \multicolumn{2}{c}{...} the & is implicitly given, so that line should have only three of them. Why enclosing the tabular in \makebox? – egreg May 8 '15 at 9:37
  • 5
    I'm voting to close this question as off-topic because it is due to a typo – Andrew Swann May 8 '15 at 10:03