<http://www.mail-archive.com/search?l=lyx-users@lists.lyx.org&q=from:%22Guenter+Milde%22>Guenter Milde writes: > On 2014-05-17, Enrico Forestieri wrote: > > Roman Inflianskas writes: > > >> Thank you, it works and looks better, than -separator-. > > > Just for information. This issue is solved for the next major release (2.2). > > To achieve your goal you can either simply hit <return> after an environment > > or use a local layout with NextNoIndent set to false, as you already did > > (but now it will work). > > Thanks a lot. This solves a long standing problem. > > How is the visual feedback?
You get a small arrow, similar to the one obtained with Ctrl+Enter but blue instead of red, standing on its own line. This will also be one way to separate environments: a double <return> gets you out of an environment and a third one introduces this new "separator", after which you can repeat the same environment as the previous one. You will have a blank line in the output but, if this is not wanted, with a right click you can change this to a "plain" separator. Visually, the blue arrow will change to a small red line segment which produces nothing in the output (you will actually have the blank line commented out by '%' sign, so this is really equivalent to a space). This cannot be backported because it is a file format change, but the NextNoIndent glitch has been fixed also for LyX 2.1.1, so the example of the OP will also work. > (For display maths, the presence of white space > around it is almost invisible in the LyX window while it has a profound > effect in the output.) Yes, this is really a bugger and the only way to recognize it is activating the end of paragraph marker in the preferences. If you see a pilcrow mark before the math inset it means that a blank line will be output. Placing the cursor just before the math inset and hitting the backspace key gets rid of it. It's easier to get aware of a blank line after the math inset by the fact the following text is indented. -- Enrico