I have a very annoying problem. I have two figures that I wanna include
in my Latex File. There are pdfs and have excactly the same size when I
open them alone in the acroreader. However, when I include them with the
commands below they completley look of different size (different height,
the second one is 1/4 higher)... Anyone an idea what I could have done wrong
\begin{figure}
\begin{minipage}[b]{0.49\linewidth}
\centering
\includegraphics[width=6cm]{figure1}
\caption{This shows figure one of two figures with the same size}
\label{fig:fig1}
\end{minipage}
%\hspace{0.2cm}
\hfill
\begin{minipage}[b]{0.49\linewidth}
\centering
\includegraphics[width=6cm]{figure2}
\caption{This shows figure two of two figures with the same size}
\label{fig:fig2}
\end{minipage}
\end{figure}
many thanks,
Philipp
> However, when I include them with the
> commands below they completley look of different size (different height,
> the second one is 1/4 higher)...
I suppose this means that the two images have different aspect ratios
height / width.
>Anyone an idea what I could have done wrong
Since the two images have (presumably) different aspect ratios,
you cannot expect them to have the same width *and* the same height
(except if you are willing to change their aspect ratios). But perhaps for
your application it is more desirable to force them to have the same
height (instead of having the same width).
>
>
> \begin{figure}
> \begin{minipage}[b]{0.49\linewidth}
> \centering
> \includegraphics[width=6cm]{figure1}
Try \includegraphics[height=6cm]{figure1} instead
> \caption{This shows figure one of two figures with the same size}
> \label{fig:fig1}
> \end{minipage}
> %\hspace{0.2cm}
> \hfill
> \begin{minipage}[b]{0.49\linewidth}
> \centering
> \includegraphics[width=6cm]{figure2}
Try \includegraphics[height=6cm]{figure2} instead.
then the two figures should have at least the same height.