from 2.5.0 to 2.5.1

Richard Kimberly Heck rikiheck at gmail.com
Wed Aug 5 22:18:01 UTC 2026


On 8/5/26 1:46 PM, Udi Fogiel wrote:
> On Wednesday, August 5th, 2026 at 7:35 PM, Richard Kimberly Heck via lyx-users <lyx-users at lists.lyx.org> wrote:
>
>> There is
>> additional space above the displayed equation in the latter case. I take
>> it that this is in the inter-paragraph spacing. Please correct me if the
>> additional space is coming from somewhere else. But I get the same in
>> the latter case as if I'd written:
>>
>> test
>>
>> ~
>> $$x=y$$
>>
> [....]
>
> Since you used $ in vertical mode, LuaTeX started an indented paragraph, i.e. a paragraph with a hbox node, so LuaTeX does not discard it, but it is visually empty and might seem like a vertical space.
>
> You can see the difference with \noindent $$x=y$$. In this case there is no indent box in the paragraph, so LuaTeX will discard it.

Indeed! And PDFLaTeX does the same thing.

So that means that the OP's original problem can be solved by using "Do 
not indent paragraph" under Edit> Paragraph Settings. Strangely enough, 
this works even immediately following a section heading, when the 
paragraph wouldn't be indented anyway.

The attached demonstrates this. Note the extra space in the first case: 
there's the empty line there. In the second (\noindent'ed) case, the 
displayed equation appears at the same position as the text in the third.

Riki

-------------- next part --------------
A non-text attachment was scrubbed...
Name: noindent.lyx
Type: application/x-lyx
Size: 2614 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20260805/a9b4589f/attachment-0001.bin>


More information about the lyx-users mailing list