On 8/4/26 11:44 AM, Herbert Voss via lyx-users wrote:


Am 04.08.26 um 17:25 schrieb Richard Kimberly Heck via lyx-users:

If what you mean is that, *in the LyX display*, LyX shows additional space above a displayed formula, when such a formula begins a paragraph, then that may be correct. I do think this may have changed in the 2.5.x series. There was lots of work on this sort of thing for 2.5.0 (which I have just checked does the same thing as 2.5.1). But it would also correspond to what LaTeX does, so I would regard that as an improvement. Otherwise, there is no visual difference between the two cases mentioned.

All these behaviors are simply due to the fact that a displayed equation can either be part of the paragraph that precedes it or not. If it is, then changing the paragraph the text is in will of course affect the type of paragraph the equation is in. As it should.

In LaTeX, the difference is:

test
$$x=y$$ % part of same paragraph

test

$$x=y$$ % starts a new paragraph


$$...$$. _always starts a new paragraph!  This $..$ is the inline mode!

Yes, in one sense. But not in the sense I had in mind. 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$$

Riki



--
lyx-users mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to