55

spacing – Remove space after figure and before text

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 textfloatsep, while the gap for a float in the middle of the page is given by intextsep.

From the layouts package documentation it is possible to see the lengths in terms of page/document float elements (p 21 onward):

enter image description here

Default for ieeetran are

  • textfloatsep: 1.7baselineskip plus 0.2baselineskip minus 0.5baselineskip
  • intextsep: baselineskip plus 0.2baselineskip minus 0.2baselineskip

and therefore depends on the choice of the default font (since that sets baselineskip). The default pt-form is therefore

  • textfloatsep: 20.4pt plus 2.4pt minus 4.8pt
  • intextsep: 12.0pt plus 2.4pt minus 2.4pt

in the 10pt font size. The above includes some stretch/shrink. You can modify them using setlength. For example,

setlength{textfloatsep}{baselineskip plus 0.2baselineskip minus 0.2baselineskip}

would allow for between (roughly) 10pt and 15pt gap between the float and the text. Something like

setlength{textfloatsep}{5pt}

would fix the distance to 5pt (without stretch/shrink).


spacing – Remove space after figure and before text

More Story on Source:

* Source→ *

0

Publication author

offline 2 weeks

SFi Official

0
Comments: 0Publics: 1362Registration: 11-03-2021