I use this: Section should automatically start new page if the whole section does not fit on current page to make sure sections start on a new page (or in this case column) if they don't fit the remainder of the column.
Is it possible to detect when there is more than x cm left in the bottom of a column and insert an image there to fill out the space?
figure
ortable
placement optionhtb
)?paragraph A <code of the image> paragraph B
. After paragraph A, we check if there is enough vertical space in the current column. If the condition is satisfied, we insert the image. If not, we just let it float to the next page. If the user is writing a paper, it is better to let the page float, but if he is writing something like a manual or tutorial, it is usually better to let the image be as close as possible to the text.[htb]
do. OP should look tex.stackexchange.com/questions/39017/…