![](/img/trans.png)
[英]Latex figure ambient: how to start the indexing of the figures from a fixed number?
[英]Creating a space between figure number and label in latex table of figures
您可以使用tocloft
来定义tocloft
中图形编号和图形标题之间的间距。 控制这个距离的长度是\\cftfignumwidth
。 这是一个快速示例:
\documentclass{article}
\usepackage{tocloft}
\setlength{\cftfignumwidth}{3em}
\begin{document}
\listoffigures
\begin{figure}
\caption[short caption text]{Long caption text}
\end{figure}
\end{document}
上述建议提供了可以根据需要更改的一致调整。
参考:
解决方法:在图形环境的短标题参数中使用水平空间
\caption[\hspace{0.5cm} short caption text]{Long caption text}
不过,这当然不是一个很好的解决方案。 我相信,如果你想避免它,你必须在你的文档类中捏造代码。
如果您收到如下错误:
! LaTeX Error: Command \c@lofdepth already defined.
Or name \end... illegal, see p.192 of the manual.
尝试使用tocloft从子图包:
\usepackage{subfigure}
\usepackage[subfigure]{tocloft}
\setlength{\cftfignumwidth}{4em}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.