A very similar question has been asked before:
I'm trying to accomplish this, but while using the subfig
package. The image below depicts almost what I want, but as you can see, the table is not aligned correctly:
The TeX I'm working with is:
\begin{figure}[h]
\caption{A figure and a table, side-by-side}
\centering
\subfloat[A figure left of a table]{
\rule{6.4cm}{3.6cm}
}
\subfloat[A table right of a figure]{
\begin{tabular}{cc}\hline
Table head & Table head \\ \hline
Some values & Some values \\
Some values & Some values \\
Some values & Some values \\
Some values & Some values \\
Some values & Some values \\
Some values & Some values \\ \hline
\end{tabular}
}
\end{figure}
I've tried throwing a few minipages into the mix, but to no avail. How can I align the top of the table to the top of the figure?