每次我使用 VimTex 在 VIM 中关闭括号时都会出现不需要的文本
Unwanted text appears every time I close a bracket in VIM using VimTex
我正在使用 Vimtex plugin.
在 VIM 中排版乳胶文件
每次我关闭括号时,该文本都会自动显示在 <++>
中。
例如:
\section{This is one}<++>
\section{The variable $V_L$<++> explains things}<++>
\begin{equation}
<+content+>
\label{<+label+>}
\end{equation}<++>
LaTeX 使用 pdf 中打印的文本编译我的文本,所以我每次都必须手动删除。当使用 F5
.
的自动完成功能时,这种行为从 $$
到 {}
到其他人,甚至在某些区域内
我确实看过添加 ,但它并没有提供太多帮助 如何 解决我的问题。
- 我怎样才能防止将它添加到我的 tex 文件中?
- 如果它们是我不理解的功能,我该如何防止它们编译到我的 pdf 中?
这部分文档在 the vim-latex (not Vimtex) repo on github
解释宏系统的工作原理、它的用途以及仅用于编辑
NOTE: Place Holders
-------------
Almost all macros provided in Latex-Suite implement Stephen Riem's
bracketing system and Gergely Kontra's JumpFunc() for handling
place-holders. This consists of using "place-holders" to mark off
locations where the next relevant editing has to be done. As an example,
when you type EFI in |insert-mode|, you will get the following: >
\begin{figure}[<+htpb+>]
\centering
\includegraphics{<+file+>}
\caption{<+caption text+>}
\label{fig:<+label+>}
\end{figure}<++>
The text <+htpb+> will be selected and you will be left in |select-mode|
so that you can continue typing straight away. After having typed in the
placement specifier, you can press <Ctrl-J> (while still in insert-mode).
This will take you directly to the next "place-holder". i.e, <+file+> will
be visually selected with Vim in select mode again for typing in the file
aaaa. This saves on a lot of key presses.
注意:经过测试,我发现占位符仅在括号为空时出现。
我正在使用 Vimtex plugin.
在 VIM 中排版乳胶文件每次我关闭括号时,该文本都会自动显示在 <++>
中。
例如:
\section{This is one}<++>
\section{The variable $V_L$<++> explains things}<++>
\begin{equation}
<+content+>
\label{<+label+>}
\end{equation}<++>
LaTeX 使用 pdf 中打印的文本编译我的文本,所以我每次都必须手动删除。当使用 F5
.
$$
到 {}
到其他人,甚至在某些区域内
我确实看过添加
- 我怎样才能防止将它添加到我的 tex 文件中?
- 如果它们是我不理解的功能,我该如何防止它们编译到我的 pdf 中?
这部分文档在 the vim-latex (not Vimtex) repo on github 解释宏系统的工作原理、它的用途以及仅用于编辑
NOTE: Place Holders
-------------
Almost all macros provided in Latex-Suite implement Stephen Riem's
bracketing system and Gergely Kontra's JumpFunc() for handling
place-holders. This consists of using "place-holders" to mark off
locations where the next relevant editing has to be done. As an example,
when you type EFI in |insert-mode|, you will get the following: >
\begin{figure}[<+htpb+>]
\centering
\includegraphics{<+file+>}
\caption{<+caption text+>}
\label{fig:<+label+>}
\end{figure}<++>
The text <+htpb+> will be selected and you will be left in |select-mode|
so that you can continue typing straight away. After having typed in the
placement specifier, you can press <Ctrl-J> (while still in insert-mode).
This will take you directly to the next "place-holder". i.e, <+file+> will
be visually selected with Vim in select mode again for typing in the file
aaaa. This saves on a lot of key presses.
注意:经过测试,我发现占位符仅在括号为空时出现。