1

I'm trying to have a series of titles using \multicolumn, but I'm systematically having the error "Missing \cr inserted." when I try to run the code below:

\documentclass{report}
\usepackage{multirow}

\begin{document}
\begin{table} [!h]
\centering
\begin{tabular}{c  c  c  c}
\hline
\multicolumn{4}{c}{Title}} \\
1 & 2  & 3 & 4 \\ \hline    
\end{tabular}
\newline
\caption{caption of table}  \label{tab:table7_2}
\end{table} 
\end{document}

Can someone please help me out with this?

1

The line

 \multicolumn{4}{c}{Title}} \\

should be

\multicolumn{4}{c}{Title} \\ %one } removed
  • Awesome! It works now! Thanks a lot, Przemyslaw! – Helder Jun 30 '16 at 15:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.