📅  最后修改于: 2022-03-11 15:00:21.799000             🧑  作者: Mango
\begin{figure}
\centering
\begin{subfigure}[t]{0.45\textwidth}
\includegraphics[width=\linewidth, height=20em]{example-image-a}
\caption{taller image}
\end{subfigure}
\begin{subfigure}[t]{0.45\textwidth}
\includegraphics[width=\linewidth, height=15em]{example-image-b}
\caption{shorter image}
\end{subfigure}
\caption{two images}
\end{figure}