答案1
看起来你的子图标签嵌入在图形中。因此,不需要子图包来管理标签。相反,加载adjustbox
包裹使用export
选项并添加vadjust=t
到您的\includegraphics
选项中:
\documentclass{article}
\usepackage[export]{adjustbox}
\begin{document}
\begin{figure}[h]
\centering
\includegraphics
[width=2in,height=2in,keepaspectratio,valign=t]{example-image-golden-upright}
\includegraphics
[width=2in,height=2in,keepaspectratio,valign=t]{example-image}
\caption{A figure caption}
\end{figure}
\end{document}