TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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? – user9292 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... – user9292 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
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

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.