答案1
像这样吗?
\documentclass{article}
\usepackage{graphicx}
\usepackage{subcaption}
\begin{document}
\begin{figure}
\centering
\begin{subfigure}{.4\linewidth}
\centering
\includegraphics[width=.8\linewidth]{example-image-duck}
\caption{Some duck}
\label{fig:duck1}
\end{subfigure}
\begin{subfigure}{.4\linewidth}
\centering
\includegraphics[width=.8\linewidth]{example-image-duck}
\caption{Some other duck}
\label{fig:duck2}
\end{subfigure}
\begin{subfigure}{\linewidth}
\centering
\includegraphics[width=.32\linewidth]{example-image-duck}
\caption{Another duck}
\label{fig:duck3}
\end{subfigure}
\begin{subfigure}{\linewidth}
\centering
\includegraphics[width=.32\linewidth]{example-image-duck}
\caption{Another duck the second time}
\label{fig:duck4}
\end{subfigure}
\caption{Many ducks!}
\label{fig:manyducks}
\end{figure}
\end{document}
添加垂直线和一些自定义间距
\documentclass{article}
\usepackage{graphicx}
\usepackage{subcaption}
\begin{document}
\begin{figure}
\centering
\begin{tabular}{c|c}
\begin{subfigure}{.4\linewidth}
\centering
\includegraphics[width=.8\linewidth]{example-image-duck}
\caption{Some duck}
\label{fig:duck1}
\end{subfigure} &
\begin{subfigure}{.4\linewidth}
\centering
\includegraphics[width=.8\linewidth]{example-image-duck}
\caption{Some other duck}
\label{fig:duck2}
\end{subfigure}
\end{tabular}
\vspace{1cm}\par
\begin{subfigure}{\linewidth}
\centering
\includegraphics[width=.32\linewidth]{example-image-duck}
\caption{Another duck}
\label{fig:duck3}
\end{subfigure}
\vspace{2cm}\par
\begin{subfigure}{\linewidth}
\centering
\includegraphics[width=.32\linewidth]{example-image-duck}
\caption{Another duck the second time}
\label{fig:duck4}
\end{subfigure}
\caption{Many ducks!}
\label{fig:manyducks}
\end{figure}
\end{document}