How can I put a table and a PNG (using \includegraphics) next to each other in the same figure, in the following way?

    +-----+  |png |
    |table|  |png |
    |table|  |png |
    +-----+  +----+
  Figure 4.1: Caption

So the table and the PNG are aligned at the bottom.

I tried to just put both in a table (2 columns), but the objects are not aligned at the bottom.


You need to align the table with its baseline by passing it the optional [b] placement argument. After that you can just put them side-by-side. Here's an example:

    \hline a & b \\ c & d \\ \hline
  \rule{2cm}{3cm}% = graphic
  \caption{Double figure/table combo!}

Use parbox or minipage.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.