Special arrangement of subfigures

You could use a combination of minipages and subfigure environments (from the subcaption package); a little example:

\documentclass{article}
\usepackage[demo]{graphicx}
\usepackage{caption}
\usepackage{subcaption}

\begin{document}

\begin{figure}
\begin{minipage}{.33\textwidth}
  \begin{subfigure}{\linewidth}
    \centering
    \includegraphics[width=.7\linewidth]{name1}
    \caption{First subfigure}
    \label{fig:sub1}
  \end{subfigure}\\[1ex]
  \begin{subfigure}{\linewidth}
    \centering
    \includegraphics[width=.7\linewidth]{name2}
    \caption{Second subfigure}
    \label{fig:sub2}
  \end{subfigure}
\end{minipage}%
\begin{minipage}{.33\textwidth}
  \begin{subfigure}{\linewidth}
    \centering
    \includegraphics[width=.7\linewidth]{name3}
    \caption{Third subfigure}
    \label{fig:sub3}
  \end{subfigure}
\end{minipage}%
\begin{minipage}{.33\textwidth}
  \begin{subfigure}{\linewidth}
    \centering
    \includegraphics[width=.7\linewidth]{name4}
    \caption{Fourth subfigure}
    \label{fig:sub4}
  \end{subfigure}\\[1ex]
  \begin{subfigure}{\linewidth}
    \centering
    \includegraphics[width=.7\linewidth]{name5}
    \caption{Fifth subfigure}
    \label{fig:sub5}
  \end{subfigure}
\end{minipage}
\caption{Five subfigures}
\label{fig:test}
\end{figure}

\end{document}

enter image description here

I used the demo option for the graphicx package to replace the actual figures with black rectangles and make my code compilable for everyone; do not use that option in your actual code.


You could use three minipages next to each other:

enter image description here

\documentclass{article}

\usepackage{caption,subcaption}
\begin{document}
\begin{figure}
\centering
\begin{minipage}{0.3\textwidth}
\subcaptionbox{A}{\rule{3cm}{3.5cm}}\\[1ex]
\subcaptionbox{B}{\rule{3cm}{3.5cm}}
\end{minipage}%
\begin{minipage}{0.3\textwidth}
\subcaptionbox{C}{\rule{3cm}{3.5cm}}
\end{minipage}%
\begin{minipage}{0.3\textwidth}
\subcaptionbox{D}{\rule{3cm}{3.5cm}}\\[1ex]
\subcaptionbox{E}{\rule{3cm}{3.5cm}}
\end{minipage}
\caption{Pictures!}
\end{figure}

\end{document}

Using the subfig package you can use tabulars to arrange the images:

enter image description here

\documentclass{article}
\usepackage{subfig}% http://ctan.org/pkg/subfig
\begin{document}
\begin{figure}[ht]
  \begin{tabular}{c}
    \subfloat[subfigure 1]{\rule{100pt}{50pt}} \\
    \subfloat[subfigure 2]{\rule{100pt}{50pt}}
  \end{tabular} \hfill
  \begin{tabular}[m]{c}
    \subfloat[subfigure 3]{\rule{100pt}{50pt}}
  \end{tabular} \hfill
  \begin{tabular}{c}
    \subfloat[subfigure 4]{\rule{100pt}{50pt}} \\
    \subfloat[subfigure 5]{\rule{100pt}{50pt}}
  \end{tabular}
  \caption{bla bla bla bla bla bla}
\end{figure}
\end{document}

Vertical alignment across the subfigures is obtained using the optional tabular parameter [m] for middle. Using \hfill as suggested will push the columns of subfigures to the outer edges of the text block. If you want these columns evenly spaces, use \null\hfill on the left of the first column and \hfill\null on the right of the last column. Alternatively, a fixed spacing using \hspace{<len>} is also possible, where <len> is any recognized TeX length.

tabular column specification necessarily adds a little horizontal space of \tabcolsep between columns. If you want this removed (for whatever reason), you can use a {@{}c@{}} column specification instead of {c}.