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 am trying to create a subfigure in LaTeX similar to this image:

enter image description here

I want to have a figure which has two columns. The left column contains one image and the right columns has two images. In fact, the right column is divided into two rows and the sum of the heights of the two images in the right column is equal to the height of the image in the left column. Is there a way to create such a figure in LaTeX?

I have been trying to adjust different versions of the following code but no success.

\begin{figure}
    \centering
    \subfigure
        []
        {\label{fig:figA}}
        \includegraphics[width=0.33\textwidth]{figA}
    \hspace{0.005\textwidth}    
    \subfigure
        []
        {\label{fig:figB}}
        \includegraphics[width=0.33\textwidth]{figB}
    \hspace{0.005\textwidth}    
    \subfigure
        []
        {\label{fig:figC}}
        \includegraphics[width=0.33\textwidth]{figC}                
    \caption{my caption. (a) is .... (b) is .... (c) is ....}
    \label{fig:Test}
\end{figure}

Thanks, Ahmad

share|improve this question
    
Welcome to TeX.sx! I uploaded your image using the official interface (i.e., by clicking the button above the text field). This is preferred, as it reduces the chance of dead image links. –  Torbjørn T. Dec 22 '12 at 22:00
    
Also, are you using the subfigure package? That is actually deprecated, subfig or subcaption is recommended instead. –  Torbjørn T. Dec 22 '12 at 22:03
    
@TorbjørnT. you need a reputation of at least 10 to upload images, and the OP did not have that when he asked the question :) –  Vivi Dec 22 '12 at 22:11
    
@TorbjørnT. actually, you were precise. I didn't know he could upload the images... I am going to delete my comments after giving you time to see this. –  Vivi Dec 22 '12 at 23:08
add comment

1 Answer 1

up vote 12 down vote accepted

You can use some minipage environment and \sbox to measure the height of the biggest box.

\documentclass{article}
\usepackage{subfig}
\usepackage[demo]{graphicx}

\newsavebox{\measurebox}

\begin{document}

\begin{figure}
\centering
\sbox{\measurebox}{%
  \begin{minipage}[b]{.33\textwidth}
  \subfloat
    []
    {\label{fig:figA}\includegraphics[width=\textwidth,height=5cm]{figA}}
  \end{minipage}}
\usebox{\measurebox}\qquad
\begin{minipage}[b][\ht\measurebox][s]{.33\textwidth}
\centering
\subfloat
  []
  {\label{fig:figB}\includegraphics[width=\textwidth,height=2cm]{figB}}

\vfill

\subfloat
  []
  {\label{fig:figC}\includegraphics[width=\textwidth,height=2cm]{figC}}
\end{minipage}
\caption{my caption. (a) is .... (b) is .... (c) is ....}
\label{fig:Test}
\end{figure}
\end{document}

Notice that I've used subfig and not the obsolete subfigure. Also subcaption can be a choice and should if you use hyperref.

The demo option to graphicx is just to produce some mock pictures; I gave them a height to show the example.

enter image description here

share|improve this answer
add comment

Your Answer

 
discard

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.