Skip to content

子图标题与子图之间的间距过大 #52

Answered by note286
severous asked this question in Q&A
Discussion options

You must be logged in to vote

首先,没必要刻意模仿Microsoft Word。

其次,style/caption-label-sep是设置caption与中标签与标题内容之间的水平间距的,例如图1小狗图之间的间距。我觉得我手册中对此的描述应该没有歧义。

此外,我在 #40 中给了示例,推荐使用subcaption排版子图,更多设置可以阅读subcaption手册,例如\captionsetup[subfigure]{skip=0pt}的用法就在7.4节有介绍。

\documentclass{xdupgthesis}
\usepackage{subcaption}
\captionsetup[subfigure]{skip=0pt}
\begin{document}
\begin{figure}
\centering
\subcaptionbox{}{\includegraphics[width=.3\linewidth]{example-image}}\hfill
\subcaptionbox{}{\includegraphics[width=.3\linewidth]{example-image}}\hfill
\subcaptionbox{}{\includegraphics[width=.3\linewidth]{example-image}}\hfill
\subcaptionbox{}{\includegraphics[width=.3\linewidth]{example-image}}\hfill
\subcaptionbox{}{\includegraphics[width=.3\…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by note286
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants