I have a document consisting of several images (tikzpicture and no text in between) split into different sections/subsections.
If I start a subsection and there is not enough place for two images on that page, only one image is shown on that page and this gives a badness warning, as the page is mainly empty.
However, the image is placed at the bottom of the page, whereas the subsection is at the top, and the middle is completely empty. This, to me, looks really stupid, so I would like to know if there is any way that I could tell latex to place the image close to the text at the top and leave the bottom of the page blank instead?
The thing is, the latex document is auto-generated, so I cannot tweak every single issue by hand, there must be some general rule to change, or something that I can add to every single picture/subsection.
I can add some screenshots if you are having problem understanding me
