\usepackage{subfigure}
\usepackage{parskip}
\begin{figure}[htbp]
\centering
\subfigure[SubCaption_1]{
\includegraphics[width=2.5in]{PrintScreen_0001}
\label{label_for_cross_ref_1}
}
\subfigure[SubCaption_2]{
\includegraphics[width=2.5in]{PrintScreen_0002}
\label{label_for_cross_ref_2}
}
\quad %用 \quad 来换行
\subfigure[SubCaption_3]{
\includegraphics[width=2.5in]{PrintScreen_0003}
\label{label_for_cross_ref_3}
}
\subfigure[SubCaption_4]{
\includegraphics[width=2.5in]{Photos/PrintScreen_0004}
\label{label_for_cross_ref_4}
}
\caption{This is a Demo of $2\times 2$}
\label{fig.1}
\end{figure}
\begin{figure*}[!ht] #强制单栏排版
\centering #居中
\begin{minipage}[b]{0.93\linewidth} #整体划分一个0.93倍页面宽度的页面
\subfloat[image1-4]{
\begin{minipage}[b]{0.17\linewidth} #继续划分子页面 每个宽度0.17倍总宽度
\centering
#依次读取每张图片 宽度或者高度可以自定义
#这里的几张图片是纵向排列的
\includegraphics[width=\linewidth]{p1.png}\vspace{8pt}
\includegraphics[width=\linewidth]{p2.png}\vspace{8pt}
\includegraphics[width=\linewidth]{p3.png}\vspace{8pt}
\includegraphics[width=\linewidth]{p4.png}
\end{minipage}
}
\hfill
\subfloat[image5-8]{
\begin{minipage}[b]{0.17\linewidth}
\centering
\includegraphics[width=\linewidth]{p1.png}\vspace{8pt}
\includegraphics[width=\linewidth]{p2.png}\vspace{8pt}
\includegraphics[width=\linewidth]{p3.png}\vspace{8pt}
\includegraphics[width=\linewidth]{p4.png}
\end{minipage}
}
\hfill
\subfloat[image9-12]{
\begin{minipage}[b]{0.17\linewidth}
\centering
\includegraphics[width=\linewidth]{p1.png}\vspace{8pt}
\includegraphics[width=\linewidth]{p2.png}\vspace{8pt}
\includegraphics[width=\linewidth]{p3.png}\vspace{8pt}
\includegraphics[width=\linewidth]{p4.png}
\end{minipage}
}
\hfill
\subfloat[image13-16]{
\begin{minipage}[b]{0.17\linewidth}
\centering
\includegraphics[width=\linewidth]{p1.png}\vspace{8pt}
\includegraphics[width=\linewidth]{p2.png}\vspace{8pt}
\includegraphics[width=\linewidth]{p3.png}\vspace{8pt}
\includegraphics[width=\linewidth]{p4.png}
\end{minipage}
}
\hfill
\subfloat[image17-20]{
\begin{minipage}[b]{0.17\linewidth}
\centering
\includegraphics[width=\linewidth]{p1.png}\vspace{8pt}
\includegraphics[width=\linewidth]{p2.png}\vspace{8pt}
\includegraphics[width=\linewidth]{p3.png}\vspace{8pt}
\includegraphics[width=\linewidth]{p4.png}
\end{minipage}
}
\end{minipage}
\vfill
\caption{这里是你的标题}
\end{figure*}
转:https://zhuanlan.zhihu.com/p/61893353
https://www.freesion.com/article/9655849367/