[Vim-latex-devel] Patch: More customizations of envmacros
Brought to you by:
srinathava,
tmaas
From: Gerd W. <ger...@ma...> - 2011-02-22 12:52:58
|
Hi, with this patch, envmacros.vim allows more customizations. 1. let g:Tex_EnvLabelprefix_equation = "eq:" => labels in equations have the prefix eq: this works for: figure,table,theorem,definition,lemma,proposition,corollary,assumption,remark,equation,eqnarray,align,multline 2. let g:Tex_EnvEndWithCR = 0 => completed environments end with: \end{env-type} <++> instead of \end{env-type}<++> This saves one CR ;) 3. let g:Tex_LabelAfterContent = 0 => Put the label before the content of an environment, e.g. \begin{equation} \label{eq:<++>} <++> \end{equation} <++> Feel free to comment. |