图表和标题的距离设置。 LATEX 假定图形的标题位于图形的下方,故而在标题上方保留了更多的空白。因此
\begin{figure}
\centering
\caption{Caption Above Graphic}
\includegraphics[width=2in]{graphic.eps}
\end{figure}
生成的图中标题和图形非常接近。
标题上下方的间距由长度\abovecaptionskip 和\belowcaptionskip (缺省分别为10pt 与零)。可以用标准的LATEX 命令\setlength 和\addtolength来修改这些长度。例如:
\begin{figure}
\setlength{\abovecaptionskip}{0pt}
\setlength{\belowcaptionskip}{10pt}
\centering
\caption{Caption Above Graphic}
\includegraphics[width=2in]{graphic.eps}
\end{figure}
得到图。其中标题的上方没有额外的空白,与图形之间则有10pt 的距离。
\begin{figure}
\centering
\caption{Caption Above Graphic}
\includegraphics[width=2in]{graphic.eps}
\end{figure}
生成的图中标题和图形非常接近。
标题上下方的间距由长度\abovecaptionskip 和\belowcaptionskip (缺省分别为10pt 与零)。可以用标准的LATEX 命令\setlength 和\addtolength来修改这些长度。例如:
\begin{figure}
\setlength{\abovecaptionskip}{0pt}
\setlength{\belowcaptionskip}{10pt}
\centering
\caption{Caption Above Graphic}
\includegraphics[width=2in]{graphic.eps}
\end{figure}
得到图。其中标题的上方没有额外的空白,与图形之间则有10pt 的距离。
