Graphics, Figures & Tablesadjust the space between float/text

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
neumannturing
Posts: 32
Joined: Sun Mar 01, 2009 8:29 am

adjust the space between float/text

Post by neumannturing »

Hello,
There are some space between float objects(figures) and the text body. The default space is not satisfiable. How can I adjust the space? Thank you.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

magicmoose
Posts: 90
Joined: Fri Nov 06, 2009 7:29 am

adjust the space between float/text

Post by magicmoose »

Hi there,

There are two lengths, \textfloatsep and \intextsep. \textfloatsep set the spacing between text and a float at the top or bottom of a page and \intextsep sets the spacing for a float in the middle of a page. Use the syntax \setlength{(name of length)}{length (in mm, cm, pt etc.). eg:

Code: Select all

\setlength{\textfloatsep}{50pt}
sets the distance between a float at the top o bottom of the page to 50pt.

hope that helps
moose!
neumannturing
Posts: 32
Joined: Sun Mar 01, 2009 8:29 am

Re: adjust the space between float/text

Post by neumannturing »

Solved as magic's post.
Post Reply