I have a figure in my paper (I am using
IEEEtran package). After this figure there exists a space between the figure and the text. How can I reduce the size of this white space. To be specific the space is between the caption of the figure and the text of my paper. Any suggestions?
This depends on the location of the float - if the float is at the top of the page, the gap between the caption and the text is
and therefore depends on the choice of the default font (since that sets
would allow for between (roughly)
would fix the distance to
If you do not want to modify the standard template and just want a quick fix for this, you may add the following command to your document preamble:
Then, you can use the command
You can use etoolbox package. Just set a \vskip with a negative value at the start (\BeforeBeginEnvironment or \AtBeginEnvironment) and at the end (\AfterEndEnvironment) of the environment figure.
Werner's answer is obviously a good one. However, I encountered a gotcha.
Using a setting like he suggested:
produced a cryptic error:
After some playing around, I found out that it stumbles over the
Using lengths like