When having a table with the caption above the table, it seems that there are too many white spaces created after the table (or below the table). I wanted to reduce/remove some of the white spaces manually, only for some tables. I could not find the solution after searching on Google while the solution is so simple! I wasted my time on the search engine. 😦
Solution: put a negative \vspace{} before you end the table! That’s it 🙂
This is very important, because when placing the negative “\vspace{}” after “\end{table}” and you have a float with [h], it will only reduce the white space of the text, so this could be somewhere else in your document. Place it before the table ends!
Example:
\begin{table}[h]
\captionsetup{width=0.8\linewidth}
\caption[]{}\label{tab:X}%
\centering
\input{}
\vspace{-4mm}%Put here to reduce too much white space after your table
\end{table}
..
Thanks, it was really helpful and simple to use. cheers
LikeLiked by 1 person
Hi Iman, thank you very much for leaving a comment. I appreciate it a lot! And happy to hear that it was helpful for you. Have a great day! Cheers
LikeLike
Thank you, it helps a lot.
LikeLiked by 1 person
Brutal, but useful! Thanks man
LikeLiked by 1 person
Thanks a lot.
LikeLiked by 1 person
yes it is good
LikeLiked by 1 person
You just made my day, Iman. Thanks a lot.
LikeLiked by 1 person
Thanks very much- that was such an easy solution. All the best, Anita
LikeLiked by 1 person
I just added this site to my google reader, great stuff. Cannot get enough!
LikeLiked by 1 person
Wow, I’m amazed my site got added to your google reader. Didn’t realize that it would help for many when I started this website. Thank you so much for your great comment, Adelina! All the best!
LikeLike
Thank you everyone who left a comment. Very much appreciated, hearing from you how it helped really made my day. I’m glad it helped! All the best!
LikeLike