Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question

marked as duplicate by moewe, Kurt, yo', Adam Liter, Fran Feb 1 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 at 14:29
Yeah, I only noticed it now because another duplicate was asked today! :-) – darthbith Feb 1 at 15:04

1 Answer 1

up vote 8 down vote accepted

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

enter image description here

share|improve this answer
Thanks a lot I was obviously being completely ignorant. – Michael Feb 17 '12 at 13:48
@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.