caption中标题断行

2019-10-14 15:49发布

使用minipage将两个图并排用caption为每个图生成标题,标题长度比各自对应图长怎么将其断行?

使用minipage将两个图并排用caption为每个图生成标题,标题长度比各自对应图长怎么将其断行?

4条回答
正常写就行,如果做不到,那就是你写错了。 ```tex \documentclass{article} \usepackage{graphicx} \begin{document} \begin{figure} \begin{minipage}{0.45\linewidth} \centering \includegraphics[width=\linewidth]{example-image-a.pdf} \caption{a very very very very very very very very very very very very very very very very very very long caption} \end{minipage}\hfill \begin{minipage}{0.45\linewidth} \centering \includegraphics[width=\linewidth]{example-image-b.pdf} \caption{a very very very very very very very very very very very very very very very very very very long caption} \end{minipage}% \end{figure} \end{document} ``` ![效果图](https://wenda.latexstudio.net/data/attach/191014/zOEy3SBI.png)

一周热门 更多>