This question already has an answer here:

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.

marked as duplicate by moewe, Mensch, yo', Adam Liter, Fran Feb 1 '15 at 15:27

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • @darthbith: Indeed, I didn't see that when posting. Funny that it was asked just about a month earlier. – Michael Feb 1 '15 at 14:29
  • Yeah, I only noticed it now because another duplicate was asked today! :-) – darthbith Feb 1 '15 at 15:04

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

enter image description here

  • @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 '12 at 17:15

Not the answer you're looking for? Browse other questions tagged or ask your own question.