I have three images and I want to align them in the way that one image is above the other two. Here's an example:
How can I achieve this? For my other figures I use the subcaption package, but I am not able to align the pictures that way with it.
Thanks for all your replys! The answer that is working for me is the one supposed by karlkoeller:
\documentclass{article}
\usepackage{graphicx}
\usepackage{subcaption}
\begin{document}
\begin{figure}
\centering
\begin{subfigure}[b]{.45\linewidth}
\includegraphics[width=\linewidth]{example-image-a}
\caption{A mouse}\label{fig:mouse}
\end{subfigure}
\begin{subfigure}[b]{.45\linewidth}
\includegraphics[width=\linewidth]{example-image-b}
\caption{A gull}\label{fig:gull}
\end{subfigure}
\begin{subfigure}[b]{.45\linewidth}
\includegraphics[width=\linewidth]{example-image-c}
\caption{A tiger}\label{fig:tiger}
\end{subfigure}
\caption{Picture of animals}
\label{fig:animals}
\end{figure}
\end{document}
Best Answer
You are already using the
subcaption
package, and it is very easy with it.Here's the code you need
Output:
If you need to have the subcaption numbers as in your picture, you have to adjust the counter
subfigure
with\setcounter{subfigure}{<num>}
inside thesubfigure
sOutput: