On Fri, May 28, 2010 at 12:10:39PM +0200, Uwe Brauer wrote:
> an empty line between this is a test and \[ causes
> unnecessary spaces.

This happens because you hit the Enter key before the equation. If you
go to "Preferences->Look&Feel->Display" and select "Mark end of
paragraphs", you will see a pilcrow marking the end of a paragraph.
Positioning the cursor just before the equation and hitting the
backspace key, the pilcrow marker should disappear and you will not
get the extra space on output.

> The  \int\] instead of 
>  \int
> \]
> makes reading it more difficult.

This is more tricky than you imagine, because there's a risk of
introducing an end of paragraph not easily eliminable as in the
previous case. However, I think that it is possible to output
"%\n\\]" instead of "\\]" such that you would get
  \int%
 \]
without risking obscure bugs.

-- 
Enrico

Reply via email to