Apologies for posting this here but I've looked everywhere online and it's
a vim specific latex problem
When I write tex I separate out my paragraphs and equations as follows
and then we find out that (end paragraph 1)
\begin{equation}
z^2 = x^2 + y^y
\end{equation}
(start paragraph 2) which is rather nice.
This is so that I can use 'gwip' to format the paragraph before and after
the equation without formatting the equation as well. However in latex the
empty lines introduce \par tokens which adds extra space around the
equation. I've tried eliminating the displayskip and shortskip lengths but
there is still a large space around the equation due to the \par tokens.
I know that the normal solution is to simply replace the empty line with a
comment '%' but this will break the 'gwip' formatting.
Any ideas?
David
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel