Take the 2-minute tour ×
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.

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?

share|improve this question

3 Answers 3

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

enter image description here

1 http://www.lyx.org/trac/ticket/5689

share|improve this answer
    
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

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

share|improve this answer
1  
This is not a good idea, because if you look at the source code, the second definition is "nested" in the first one. –  Kevin C 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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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