LyXIs there anyway to change the "proof" environment?

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

Is there anyway to change the "proof" environment?

Post by lyxrocks »

Sometimes the "white square" at the end of the proof gets pushed onto the next page, so it looks really stupid because there is nothing but a white square on the first line on the next page...

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: Is there anyway to change the "proof" environment?

Post by Stefan Kottwitz »

Perhaps post such a LyX example, which shows the problem, so it can be used to fix it.

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

Is there anyway to change the "proof" environment?

Post by lyxrocks »

sorry i should have done that.

here is an example file.
lyxquestion.lyx
(6.08 KiB) Downloaded 435 times
lyxrocks
Posts: 91
Joined: Sat Oct 23, 2010 5:59 pm

Re: Is there anyway to change the "proof" environment?

Post by lyxrocks »

anyone?

this is really frustrating...
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Is there anyway to change the "proof" environment?

Post by Stefan Kottwitz »

The problem here is, that you end your proof with a displayed math formula, that's why the end mark goes to the next line, which may be on the next page.

That'a a common problem with theorems and proofs, which end with a displayed equation. The ntheorem package can fix that, just have a look at the documentation.

However, the easiest fix is, to end a proof with normal text. Think about it - it can be a better style, to end the proof with a short conclusion or a statement, instead if just letting a formula abruptly end it.

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

Re: Is there anyway to change the "proof" environment?

Post by lyxrocks »

thanks as always!
Post Reply