LyXhow to "break" a numerated format

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
lyxrocks
Posts: 91
Joined: Sat Oct 23, 2010 5:59 pm

how to "break" a numerated format

Post by lyxrocks »

for example i want

lemma 1, apples
lemma 2, oranges

but in lyx, once it sees the two consecutive lines are the same format, it combines them into

lemma 1, apples
oranges

i could insert a phantom with "standard" format in between the two lines, but that messes up my spacing.

i was wondering if there is a more sophisticated way to do it.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Re: how to "break" a numerated format

Post by Stefan Kottwitz »

What do you mean by "numerated format"? Is this a LyX element? Do you mean an enumerated list, or numbered theorem environments?

Stefan
LaTeX.org admin
lyxrocks
Posts: 91
Joined: Sat Oct 23, 2010 5:59 pm

Re: how to "break" a numerated format

Post by lyxrocks »

sorry English isn't my first language, I meant to say a "numbered environment".

so things like definition, lemma, theorem etc.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Re: how to "break" a numerated format

Post by Stefan Kottwitz »

Ok, I understand!

To avoid that LyX merges such environments, you could insert a "separator" environment. In the drop-down menu at the top left, choose "Seperator".

Stefan
LaTeX.org admin
lyxrocks
Posts: 91
Joined: Sat Oct 23, 2010 5:59 pm

Re: how to "break" a numerated format

Post by lyxrocks »

that worked! you rock! thanks for the quick reply!

man I spent like an hour "inserting" all sorts of things between them and nothing worked. :oops:
Post Reply