I'm trying to place a figure and a table inside the same wide float so that they are positioned together within a two-column document. However, they also need separate captions (i.e. a figure caption and a table caption).
I tried to wrap the table (\begin{tabular}...\end{tabular}) and the figure (\begin{figure}...\end{figure}) inside a figure*, but then I get a compilation error:
Float(s) lost.
And in the minimal example below, I get
LaTeX Error: Not in outer mode
as error.
\documentclass[twocolumn]{article}
\usepackage{lipsum}
\begin{document}
\begin{figure*}[t]
\centering
\begin{minipage}{\textwidth}
\begin{figure}
stuff
\caption{abc}
\end{figure}
\begin{tabular}
\begin{table}{c}
more stuff
\end{table}
\caption{abc}
\end{tabular}
\end{minipage}
\end{figure*}
\lipsum
\lipsum
\end{document}
Anyone know how to solve this?