I am authoring a report that runs into hundreds of pages. In one particular chapter, I have a large number of tables and figures. I use the setting [htb] for both the tables and the figures, so that latex judiciously arranges them across the pages. But when I generate the PDF file, I see that there is extra space above one or two tables, that run into half a page. I tried using \vspace{*5mm} above the tables to reduce the white space, but still it does not go away. I would like to know whether there is a package that I could use to get a compact formatting, with only minimal white spacing.
TIA
[!htb]? (Please note the!.)\vspace*{5mm}will increase the white space, not reduce it. (Your*is misplaced.) Also, see these, http://tex.stackexchange.com/questions/23313/how-can-i-reduce-padding-after-figure and http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/squeeze.html. – Masroor Jan 31 '15 at 05:17\vspacea negative value and see if that solves it. (Positive values skip down, negative values skip up.) – dgoodmaniii Jan 31 '15 at 06:24poption. – Johannes_B Jan 31 '15 at 06:24htbis to prevent latex making float pages, which makes it much harder to find a good float placement and so makes it much more likely that all the floats drift to the end. Was there a particular reason for that choice? – David Carlisle Jan 31 '15 at 08:55\vspacein conjunction with a float is almost always wrong. I can't tell from your description whether the\vspaceis inside or outside the float, outside is always wrong, the vspace will add space where it is used but the float will float and may appear somewhere else entirely leaving the vspace making an unwanted change to a different page. – David Carlisle Jan 31 '15 at 08:57pchanging fromhtbtohtmakes it even harder to place floats as it prevents floats being placed at the bottom of the page in addition to preventing float pages. Basically an optional argument should only be needed for optional non-default cases. If you are using the same option in every case then something is wrong, you should instead set the default behaviour. – David Carlisle Jan 31 '15 at 09:14