Juergen Vigna <[EMAIL PROTECTED]> writes:

> Andre Poenitz wrote:
> >>You need also some space between enclosing text and inset. I normally
> >>add 2 pixels at each side to the width (see InsetText and/or
> >>InsetTabular).
> > As LaTeX does not add such space when changing into math mode I'd
> > rather
> > don't do it on screen either.
> 
> Well you'll need that space otherwise it may be that you don't see the
> cursor blinking .

[Anecdotal User Interface Babble: preview-latex under Emacs also has
to cater for cursor display, and Emacs defaults to blinking block
cursors.  First iterations of preview-latex had the entire graphic
flashing when the cursor was on it.  This was amended by making a
transparent border of few pixels around the graphics which is all that
is flashing or highlighted now.  The real estate from this transparent
border is taken from the preview itself by painting the transparency
color before anything gets typeset, so the transparent frame gets
interrupted where parts of characters actually reach into the border.
The results are quite tolerable, in spite of the occasional double
use of the border.

The XEmacs version does not have the possibility for transparent
frames, but it also does not need it: the cursor can't actually sit
on a preview under XEmacs.

> InsetText and InsetTabular may have some border lines and if you
> don't have that added pixels the cursor will be exactly on the line
> and so you're not able to see it.

Can't you overlay it?

> But if you don't care to see the cursor then you're free to not use
> the added space (anyway you also use this in mathed for more or less
> the same reasons, only that you may not remember it because it was
> already that way before you started the rewrite ;)

Actually, it might be that putting the cursor on the preview will
open the preview and yo'll get the math editor, anyway.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Email: [EMAIL PROTECTED]


Reply via email to