Generalspace between table and his caption

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
marxt
Posts: 5
Joined: Tue Mar 25, 2008 1:11 pm

space between table and his caption

Post by marxt »

Hi,

When I insert a table with caption, this caption stay attacked to a table above.
How can I fill much more space between table and caption?

Thanks!

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

space between table and his caption

Post by gmedina »

To customise the captions use the caption package. Take a look at the following example:

Code: Select all

\documentclass{article}
\usepackage[font=small,labelfont=bf,aboveskip=10pt]{caption}

\begin{document}
text text  text text text text text text text text text text text text text text text text text text text text text text text text text text text text
\begin{table}[!ht]
  \centering
  \caption{Test table}
  \label{tab:test}
  \begin{tabular}{cc}
    a & b \\
    c & d
  \end{tabular}
\end{table}
text text  text text text text text text text text text text text text text text text text text text text text text text text text text text text text

\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply