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 Answer 1

2

The line

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

should be

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .