I noticed that Till has been reviewing a lot of patches on the Patch
tracker on the Vim-LaTeX website at Sourceforge. It might be a nice idea
to post this there too (it's too bad that tracker doesn't post to the
list -- to give the best of both worlds).
(with regard to this patch, at first glance, it makes sense to be a
helpful addition)
--Ted
On 02/22/2011 07:52 AM, Gerd Wachsmuth wrote:
> 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.
>
>
>
> ------------------------------------------------------------------------------
> Index, Search& Analyze Logs and other IT data in Real-Time with Splunk
> Collect, index and harness all the fast moving IT data generated by your
> applications, servers and devices whether physical, virtual or in the cloud.
> Deliver compliance at lower cost and gain new business insights.
> Free Software Download: http://p.sf.net/sfu/splunk-dev2dev
>
>
>
> _______________________________________________
> Vim-latex-devel mailing list
> Vim...@li...
> https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
--
Ted Pavlic <te...@te...>
Please visit my 2010 d'Feet ALS walk page:
http://web.alsa.org/goto/tpavlic
My family appreciates your support in the fight to defeat ALS.
|