Text Formatting ⇒ how to change space below tables
-
rockybalboa
- Posts: 15
- Joined: Wed Mar 04, 2009 12:33 am
how to change space below tables
\begin{table}
blbla
\end{table}
text text
thanks
Javier
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
-
kaiserkarl13
- Posts: 707
- Joined: Tue Mar 25, 2008 5:02 pm
how to change space below tables
Code: Select all
\setlength{\textfloatsep}{1cm} %% Or whatever length
Code: Select all
\setlength{\abovecaptionskip}{1cm} % Or whatever length
Re: how to change space below tables
The space under tables and figures isn't the same: for tables, it's bigger. And it's also different in longtable.
So, is there a way to normalize this? i.e., all the captions with the same space under the table/fig/longtable, and between them and the text under them.
- Stefan Kottwitz
- Site Admin
- Posts: 10397
- Joined: Mon Mar 10, 2008 9:44 pm
how to change space below tables
how to change space below tables
Code: Select all
\usepackage[font=small,format=hang,parskip=1pt]{caption}
For tables, there are at least 1 cm between the table and the caption, and between caption and the next paragraph, 1.5cm. And in \longtable, 0.1 and 1.5 cm (respectively), and for \figures, 0.5 and 1.0 cm.
So, I read the caption document, and I didn't find how to deal with this.
- svend_tveskaeg
- Posts: 478
- Joined: Sun Jul 12, 2009 5:31 am
how to change space below tables
Code: Select all
\usepackage[figureposition=bottom,tableposition=top]{caption}-- Zapp Brannigan, Futurama (season 1, episode 4)
Re: how to change space below tables
By the way, the \longtable uses its own spaces…
- Stefan Kottwitz
- Site Admin
- Posts: 10397
- Joined: Mon Mar 10, 2008 9:44 pm
how to change space below tables
you could also check if the reason is that LaTeX tries to fill the pages to equal height by inserting some space, in flush bottom mode. Try \raggedbottom in the preamble if you wish to avoid that.
Stefan
Re: how to change space below tables
The problem with the \longtable is that it doesn't need the \begin{center} (and of course, the \end{center}) before the \longtable. Without the {center} the spaces under the table are those that I set up.