【发布时间】:2016-02-22 05:21:10
【问题描述】:
当我使用 Vim-LaTeX 编辑 LaTeX 文件并想重新格式化 \caption{} 中的一段文本时,我会遇到悬垂或悬垂 - 我不知道该怎么称呼它们。我首先选择标题中的文本,然后使用“gq”重新格式化它。重新格式化后的标题如下:
\caption{The problem is that when I reformat the text
in a caption the text on each successive line
begins further and further to the left until it begins
at the first space of the line.}
我希望结果会是这样的:
\caption{The problem is that when I reformat the text
in a caption the text on each successive line
begins further and further to the left until it
begins at the first space of the line.}
我希望这篇文章中的格式与我输入的内容保持一致,但我试图在第一个示例标题中描述问题。第二个应该左对齐。
有人知道我需要做什么来解决这个问题吗?我假设有一个设置需要更改,但我无法弄清楚它是什么。
【问题讨论】: