spurious spaces around forceLTR insets

Udicoudco udifoglle at gmail.com
Sat Apr 8 19:25:37 UTC 2023


On Sun, Apr 2, 2023 at 12:00 PM Jürgen Spitzmüller <jspitzm at gmail.com> wrote:
>
> Am Mittwoch, dem 22.03.2023 um 22:39 +0000 schrieb Udicoudco:
> > In some cases, e.g. displayed equation,
> > LyX wraps a forceLTR inset like so:
> >
> > \LRE{
> > \[
> > a+b=c
> > \]
> > } continuous text here...
> >
> > which might cause undesired space
> > if the user is not careful.
> >
> > Attached a LyX file to demonstrate the problem and a patch to fix it.
>
> Thanks. Could you try if the attached patch works for you? It employs
> the slightly more elegant texstream methods rather than literal comment
> chars.
>

I've used this patch in the past few days and it looks great.

Thanks,
Udi

> --
> lyx-devel mailing list
> lyx-devel at lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-devel


More information about the lyx-devel mailing list