Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have two figures I want them to be side-by-side, and I have two issues:

1) How to make both figures have the same size? I know that dimensions are not the same for both figures, but how can I make them the same? (both figures are in pdf format)

2) I want to include one caption for both figures.. say, Figure 1, but underneath the figure on the left side I want to put (a), and underneath the figure on right side I want to put (b).. so we have figure 1(a) and Figure 1(b).

This is ehat I have so far:

\subfigure{\includegraphics[scale=0.5]{Figure1_b.pdf} }}}
\caption{caption for figure 1}
share|improve this question
This might habe been answered here: tex.stackexchange.com/q/37581/21591 –  mafp Feb 11 '13 at 0:19
Thanks, but how can i resize both figures to be the same? –  act00 Feb 11 '13 at 0:32
use height=5cm instead of scale=... –  David Carlisle Feb 11 '13 at 0:33
I tried it, but still getting different heights... –  act00 Feb 11 '13 at 0:47
If you are getting different heights, it means that the bounding boxes aren't tight (white space above/below what you consider to be the figure). Where do the figures come from? –  vonbrand Feb 11 '13 at 1:52
show 1 more comment

1 Answer

up vote 2 down vote accepted

With graphicx you can set the width of the figure.

So you should do something like


Same width



Same height

     \hspace*{\fill}Caption for first\hspace*{\fill}
     \hspace*{\fill}Caption for second\hspace*{\fill}

Same height and width (ick!)



enter image description here

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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