spurious spaces around forceLTR insets

Udicoudco udifoglle at gmail.com
Wed Mar 22 22:39:34 UTC 2023


Hello all,

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.

Regards,
Udi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spurious_spaces_forceLTR.diff
Type: text/x-patch
Size: 784 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20230322/9af141de/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spurious_spaces_example.lyx
Type: application/x-lyx
Size: 2153 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20230322/9af141de/attachment.lyx>


More information about the lyx-devel mailing list