I have two images which I want to place side-by-side as subfigures (with different captions). The images are not of the same size, but they have elements whose size must be kept equal (e.g. text). I want the total width of the figure to be the \textwidth
, and to resize both images by the same factor to achieve this. However, from what I know, size is set individually for \includegraphics
… what do I do?
[Tex/LaTex] How to force the same resizing factor for two \includegraphics
floatsgraphicsresizewidth
Best Answer
The scale factor for the images can be calculated:
The two-page image file
img.pdf
was generated bypdflatex
with the following source: