> So
> 1. Why latex-suite behaves differently on my computer other than the
> "default" behavior?
Because the documentation is not up to date.

> 2. Is there any way to let the \label<++> be placed ALWAYS at the first
> line of an environment? I know I can
> customize them one by one, but I have no idea how to deal with the new
> environment defined in a specific
> tex file.
Just put something like

let g:Tex_Env_theorem = 
"\\begin{theorem}\<CR>\label{<++>}\<CR><++>\<CR>\\end{theorem}\<CR><++>"

in your ~/.vim/ftplugins/tex.vim

Btw:
There is a patch that allows customization of these macros at sourceforge

http://sourceforge.net/tracker/?func=detail&aid=3189887&group_id=52322&atid=466458

However, it seems that nobody tends to incorporate these patches. (For 
this reason, I published my patched version of latex-suite on 
https://github.com/gerw/vim-latex-suite)


Regards
Gerd

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to