当我正在编辑LaTeX文件时,我Vim-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.}
Run Code Online (Sandbox Code Playgroud)
我希望结果看起来像是这样的:
\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.}
Run Code Online (Sandbox Code Playgroud)
我希望这篇文章中的格式仍然适用于我输入的内容,但我试图在第一个示例标题中描述问题.第二个应该是左对齐的.
有谁知道我需要做些什么来解决这个问题?我假设有一个我需要更改的设置,但我无法弄清楚它是什么.