Looking to put a table and a figure side by side so that the table and figure have their own captions. A crude sketch
------------ ----------------- TABLE | a | b | FIGURE | c | d | ------------ Table 2: Caption ----------------- Figure 7: Caption
The closest I've gotten is:
\begin{table}%
\centering
\parbox{0.4\textwidth}{
\begin{footnotesize}
\begin{tabular}{| l | r |} \hline
some & table\\
\end{tabular}
\end{footnotesize}
\caption{Table}
\label{tab:table}
}
\qquad
\begin{minipage}[c]{0.53\textwidth}%
\centering
\includegraphics[width=1\textwidth]{awesome}
\caption{Figure}
\label{fig:figure}
\end{minipage}
\end{table}
But that gives two Table X: Caption
captions. I didn't find anything in subfig
.
Help?
Best Answer
Use a
floatrow
environment of the package of the same name.