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
|