[Vim-latex-devel] Too much space around equations
Brought to you by:
srinathava,
tmaas
From: David A. <ad...@tc...> - 2012-08-23 19:10:45
|
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 |