# Two math sections of the same type in a row?

Whenever I try to create two sections of the same type in a row LyX unites them as if they were one. I write a definition, press ENTER for a new line, and then want to write another definition on that new line, LyX ignores my intention and moves me back to the previous definition ...

What shall I do?

• Just to add that --Separator-- can be found under the drop-down menu (near the top-left, under File and Edit). Took me another 10 minutes to figure out after reading the answer below. – Kenny LJ Mar 16 '16 at 2:17

The "proper" way of doing seems to be to add a "Separator" environment after the first definition1.

• Hey Torbjørn , thanks for all the effort with the screenshot and all, but I think I didn't explained myself clearly enough. what I meant was that if a wrote a definition, pressed ENTER for a new line, and then wanted to write another definition on that NEW line, Lyx ignore my intention and moved me back to the previous definition... – dave Jan 1 '12 at 14:38
• @dave Please add that to your question. – Torbjørn T. Jan 1 '12 at 14:43
• @dave Did I get it right this time? – Torbjørn T. Jan 1 '12 at 16:12
• ok. I have edited the question, the thing is (and again, thanks for your help) I've already used the double-ENTER-Ctrl+SPACE-ENTER method, but thought that its an ugly trick, and I was sure there's a proper way to do it... – dave Jan 1 '12 at 18:21
• @dave Searching the LyX bug tracker, I found this: lyx.org/trac/ticket/5689 Updated my answer yet again. – Torbjørn T. Jan 1 '12 at 18:42

The existing answers are now out of date. In LyX 2.2, the separator environment has been replaced by a separator inset. To quote the changelog,

This new separator is introduced with Edit→Start new environment (shortcut Alt+P Enter) or by pressing Enter in an empty Standard paragraph that immediately follows a non-standard one (e.g. enumerate environments).

Just press TAB. It will place another "definition" mark on the follow line.

• This is not a good idea, because if you look at the source code, the second definition is "nested" in the first one. – Herr K. Dec 10 '13 at 23:45

Say you want to insert several different definitions in a row without writing any text between them. All you need to do is to write your definitions between \begin{defn} and \end{defn} commands. Then you can insert as many definitions in a row as you want.