LyX ⇒ Why does Lyx refuse to start a page with a math formula.
Why does Lyx refuse to start a page with a math formula.
for example, first page has 2 lines left, then if i type one line of text and then a "display" math formula, lyx would push that one line of text onto the next page just so that the next page doesn't start with a math formula!
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
Re: Why does Lyx refuse to start a page with a math formula.
i.e. i have three paragraphs left before the "page break", but these paragraphs are short, so lyx spaces them out so far away that the last paragraph is at the bottom of the page...
- Stefan Kottwitz
- Site Admin
- Posts: 10330
- Joined: Mon Mar 10, 2008 9:44 pm
Why does Lyx refuse to start a page with a math formula.
You can switch to oneside mode via a class option, which may also affect margins which are usually different to twoside mode (symmetric, not less inner), or you just switch it off by adding
\raggedbottom
to your preamble.Stefan
Why does Lyx refuse to start a page with a math formula.
that indeed solves my second problem. thanks!Stefan_K wrote:In twoside mode of some classes, page heights are balanced. So LyX tries to fill the page, it adds vertical space between paragraphs if necessary.
You can switch to oneside mode via a class option, which may also affect margins which are usually different to twoside mode (symmetric, not less inner), or you just switch it off by adding\raggedbottom
to your preamble.
Stefan
what about the first problem? lyx doesn't want to begin a page with a "display formula", i wonder what's the reason behind that...
- Stefan Kottwitz
- Site Admin
- Posts: 10330
- Joined: Mon Mar 10, 2008 9:44 pm
Why does Lyx refuse to start a page with a math formula.
You could allow a page break by inserting
Code: Select all
\pagebreak[0]
Try. It just looks better if there's a text line at the top.
Stefan
Why does Lyx refuse to start a page with a math formula.
i see.Stefan_K wrote:It just looks better if there's a text line at the top.
thanks again!