我需要在子图之间写东西。示例如下所示。
\开始{图} \子图[][]{...} \标签
然后段落继续,字体、字号、行距均不变,段落结束后,子图和图形随后结束,如下所示。
\子图[][]{...} \标签 \end{图}
但这里的问题是中间的段落。它以粗体字体显示,没有行距。我希望它在文档中保持正常对齐。
答案1
这是你想要的吗?
\documentclass{article}
\usepackage{graphicx}
\usepackage{subcaption}
\begin{document}
\begin{figure}
\subcaptionbox{aaa\label{aaa}}{\includegraphics[width=.3\linewidth]{example-image}}\hfill
\subcaptionbox{aaa\label{aaa}}{\includegraphics[width=.3\linewidth]{example-image}}\hfill
\subcaptionbox{aaa\label{aaa}}{\includegraphics[width=.3\linewidth]{example-image}}
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
\subcaptionbox{aaa\label{aaa}}{\includegraphics[width=.3\linewidth]{example-image}}\hfill
\subcaptionbox{aaa\label{aaa}}{\includegraphics[width=.3\linewidth]{example-image}}\hfill
\subcaptionbox{aaa\label{aaa}}{\includegraphics[width=.3\linewidth]{example-image}}
\caption{bbb}
\label{bbb}
\end{figure}
\end{document}