Graphics, Figures & Tablesalignment of subfigures

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
bulbanos
Posts: 13
Joined: Fri Apr 24, 2009 10:25 pm

alignment of subfigures

Post by bulbanos »

hey I'm using a very basic code for subfigures but since the images aren't of the same size, the result looks like on the attached screenshot. I would like to have the right image aligned to the top rather than the bottom. Is there any command for that?

Code: Select all

\usepackage{subfig}
\begin{figure}
  \centering
  \subfloat[][Berekende UL MAC throughput]{\label{fig:ulsima}\includegraphics[width=0.45\textwidth]{ulthrstd.jpg}}                
  \subfloat[][Simulatie UL MAC throughput]{\label{fig:ulsimb}\includegraphics[width=0.45\textwidth]{simulatie2.pdf}}
  \caption{Verificatie in OPNET UL MAC throughput voor 16-QAM $\frac{1}{2}$}
  \label{fig:ulsim}
\end{figure}
Attachments
align.png
align.png (97.67 KiB) Viewed 3033 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

sommerfee
Posts: 503
Joined: Mon Apr 09, 2007 4:20 pm

Re: alignment of subfigures

Post by sommerfee »

Take a look at the floatrow package, it has possibilities to align sub-figures like that.
Post Reply