LyXHow to avoid GIANT gaps in text?

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
insipidtoast
Posts: 128
Joined: Wed Jul 04, 2012 5:34 pm

How to avoid GIANT gaps in text?

Post by insipidtoast »

When starting a new document I wrote a few pages then formatted everything and inserted images. The first page of the document has a huge gap at the bottom, because there is an image on the next page. However, the image on the next page isn't even at the top of the page, and there is a very small amount of text above it.

I thought this progam was supposed to be good at typesetting.

I tried entering various permutations of the \nopagebreak[n] command, but that didn't solve the issue. For some reason the program does not want to have a subsection headline at the bottom of the page...it would rather have a huge blank space and then put the subsection headline on the following page. :?:
FYI:
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class

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

insipidtoast
Posts: 128
Joined: Wed Jul 04, 2012 5:34 pm

Re: How to avoid GIANT gaps in text?

Post by insipidtoast »

And why is the float placement under the document-->settings menu? what if you want one float to follow certain placement instructions and another float to follow different placement instructions? This makes no sense to me.

Even when I select "here definitely" Lyx still does whatever it wants and puts my image somewhere random and undesirable.

The only way I've figured out so far how to remedy the problem in my above post is by inserting a pagebreak after the subsection headline. A couple pages later, however, lyx still strikes again by putting half of one of my data tables through the bottom margin of a page. WTF?! That looks very professional. What am I supposed to do? Tell the printer to attach a little flap so the reader can have a fold-out graph?!
FYI:
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class
insipidtoast
Posts: 128
Joined: Wed Jul 04, 2012 5:34 pm

Re: How to avoid GIANT gaps in text?

Post by insipidtoast »

How can lyx automatically put part of a table on the following page?
FYI:
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

How to avoid GIANT gaps in text?

Post by Stefan Kottwitz »

insipidtoast wrote:I thought this progam was supposed to be good at typesetting.
It is, it should already work very well with default settings.
insipidtoast wrote:The first page of the document has a huge gap at the bottom, because there is an image on the next page.
Just don't choose Here definitely, because it would disable floating within the text for optimizing page breaks, resulting in such gaps.

Perhaps the image is not allowed to float, check the float/figure settings, specify placement options as desired, such as here via Document / Settings:
float-settings.png
float-settings.png (20.82 KiB) Viewed 4052 times
insipidtoast wrote:For some reason the program does not want to have a subsection headline at the bottom of the page...it would rather have a huge blank space and then put the subsection headline on the following page. :?:
It's good typesetting, not to place a headline without any following text at the bottom of a page. It can be changed, though.

Stefan
LaTeX.org admin
Post Reply