I have a table and a figure, both with captions, that I want to keep together, problem is that when
\begin{figure}[htbp]
...figure code, graphics, plot, whatever
\caption[small caption]{figure caption}\label{fig:figlabel}
\end{figure}
\begin{table}[htbp]
\caption[small caption]{table caption}\label{tab:tablabel}
...table code, numbers, etc.
\end{table}
is used, latex has a tendency to split them up sometimes, I really want them kept together on a dedicated page, there is plenty of room on a single page, for both.
Anyone know a simple solution?
\includegraphics
(or whatever) andbegin{tabular}
, and also set the counters. Yet the captions might be difficult then... (Edit: see answer of Gonzalo Medina for that)