答案1
minipage
您可以使用包中的和subfigure
环境的组合subcaption
:
% arara: pdflatex
\documentclass{article}
\usepackage{graphicx}
\usepackage{subcaption}
\begin{document}
\begin{figure}
\centering
\begin{minipage}{.3\textwidth}
\begin{subfigure}{\textwidth}
\centering
\includegraphics[width=\textwidth]{example-image-a}
\caption{}
\end{subfigure}\\
\begin{subfigure}{\textwidth}
\centering
\includegraphics[width=\textwidth]{example-image-b}
\caption{}
\end{subfigure}%
\caption{Main caption}
\end{minipage}
\hfill
\begin{minipage}{.3\textwidth}
\begin{subfigure}{\textwidth}
\centering
\includegraphics[width=\textwidth]{example-image-a}
\caption{}
\end{subfigure}\\
\begin{subfigure}{\textwidth}
\centering
\includegraphics[width=\textwidth]{example-image-b}
\caption{}
\end{subfigure}%
\caption{Main caption}
\end{minipage}
\hfill
\begin{minipage}{.3\textwidth}
\begin{subfigure}{\textwidth}
\centering
\includegraphics[width=\textwidth]{example-image-a}
\caption{}
\end{subfigure}\\
\begin{subfigure}{\textwidth}
\centering
\includegraphics[width=\textwidth]{example-image-b}
\caption{}
\end{subfigure}%
\caption{Main caption}
\end{minipage}%
\end{figure}
\end{document}