7

I use LyX for some time now, but have not figured out how to put two "examples" (or exercises or theorems etc.) one after the other without having to separate them by a different environment.

What happens: say I'm in the "example" environment and finished writing example No 1. I hit enter to start a new paragraph. LyX then allows me to choose a different environment like "standard text" starting from the new paragraph, but I'm unable to start a new example No 2.

I hope someone knows a simple solution.

3
  • @darthbith: Indeed, I didn't see that when posting. Funny that it was asked just about a month earlier.
    – Michael
    Feb 1, 2015 at 14:29
  • Yeah, I only noticed it now because another duplicate was asked today! :-)
    – darthbith
    Feb 1, 2015 at 15:04
  • See tex.stackexchange.com/a/632952/193546 for LyX 2.3. Feb 6, 2022 at 20:58

1 Answer 1

9

At the end of the first example add a --Separator-- (from the list of text environments).

enter image description here

2
  • @Michael: Never mind. I had been using LyX for years until I discovered that --Separator-- actually is a layout. Before that I did consider it as a visual element to group stuff within the layout menu.
    – Daniel
    Feb 17, 2012 at 17:15
  • See tex.stackexchange.com/a/632952/193546 for LyX 2.3. Feb 6, 2022 at 20:58

Not the answer you're looking for? Browse other questions tagged .