Cursor intersects with \cap

Scott Kostyshak skostysh at lyx.org
Tue Sep 8 00:57:45 UTC 2020


On Tue, Sep 08, 2020 at 02:25:57AM +0200, Enrico Forestieri wrote:
> On Mon, Sep 07, 2020 at 07:30:25PM -0400, Scott Kostyshak wrote:
> > On Tue, Sep 08, 2020 at 12:11:25AM +0200, Enrico Forestieri wrote:
> > > On Mon, Sep 07, 2020 at 03:52:11PM -0400, Scott Kostyshak wrote:
> > > 
> > > > To reproduce, open the attached file. Put the cursor just after \cap. It
> > > > might help to zoom in. For me, it shows that the cursor intersects the
> > > > \cap.
> > > 
> > > For me it does not intersect but the cursor is practically attached to \cap.
> > > However, I see that it also depends on what symbol follows. If I add a
> > > single letter just after \cap, the spacing between \cap and the cursor
> > > increases. So, maybe the problem is with the metrics of the following
> > > symbol (the left bearing, perhaps).
> > > 
> > > > I see this on master and 2.3.x, but not on 2.3.0. I think it's because
> > > > there were improvements with respect to 2.3.0 to spacing with these
> > > > types of operators.
> > > 
> > > Likely. Possibly the culprit is 79998fdc. However, after that commit,
> > > the "2" in \int_0^2 does not clash with the integral anymore.
> > > It seems that you can't have your cake and eat it, too.
> > 
> > I agree that fix is more important than this minor issue I bring up. And
> > usually there is something that follows the \cap so if anything the
> > issue only happens for a split second.
> 
> If you look at the output, adding a character after \cap also modifies
> the spacing around it. It seems that the on-screen representation
> is able to follow more closely the latex output.

I agree, it's a nice improvement.

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200907/3a0bdb42/attachment-0001.asc>


More information about the lyx-devel mailing list