使用 subcaption 包插入 2 张图片。如何让每个子图的标题右对齐?示例代码:
\documentclass[a4paper,12pt]{article}
\usepackage[demo]{graphicx}
\usepackage{lipsum}
\usepackage[list=true]{subcaption}
\begin{document}
\section{TEST}
\lipsum[1]
\begin{figure}
\centering
\captionsetup[subfigure]{labelformat=empty}
\begin{subfigure}[t]{1.0\linewidth}
\includegraphics[width=1.0\linewidth]{example-image-a}
\caption{This is figure A.}
\end{subfigure}%
\vspace{15pt}
\lipsum[1]
\vspace{15pt}
\begin{subfigure}[b]{1.0\linewidth}
\caption{This is Figure B.}
\includegraphics[width=1.0\linewidth]{example-image-b}
\end{subfigure}
\end{figure}
\end{document}