Hi. I have been using latex-suite for a couple of years and until recently
I noticed an interesting problem about the location of \label{<++>} inserted
in a macro.

After I input "theorem", if I press <F5> then the following macro is 
inserted:

\begin{theorem}

     \label{<++>}
\end{theorem}<++>

I just noticed that in the online documentation
http://vim-latex.sourceforge.net/documentation/latex-suite/customizing-macros.html

it mentioned that

\begin{theorem}
      \label{<++>}<++>
\end{theorem}<++>

is indeed the "default" behavior of latex-suite.  I always prefer the 
"default" mode since
I am having a few problems when the label command is placed at the end 
of theorem environment.

So
1. Why latex-suite behaves differently on my computer other than the 
"default" behavior?
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.

Thanks

-- 
Peng Shao


------------------------------------------------------------------------------
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