I am trying to show 4 .jpg files in 2x2 format using the following:
\begin{figure}[htb]
\centering
\begin{tabular}{@{}cccc@{}}
\includegraphics[scale=0.26]{error1.jpg}
\includegraphics[scale=0.26]{afperror1.jpg} \\
\includegraphics[scale=0.26]{error2.jpg}
\includegraphics[scale=0.26]{afperror2.jpg}
\multicolumn{4}{c}{\includegraphics[width=.23\textwidth]}
\end{tabular}
\end{figure}
But I get the following error:
!Misplaced \omit.\multispan ->\omit@\multispan ...c}
which is strange as the image renders fine when viewing the resulting pdf. What is causing this issue?
\\before the\multicolumnand the&between your images. (you have a 4 column table but all your entries are in the first column only) – David Carlisle Dec 13 '13 at 10:16{@{}cc@{}}not 4. – David Carlisle Dec 13 '13 at 10:17