I'm having some problems getting my table and caption formatting to look right. Below is a sample of the code from my thesis. I've included all the packages that I'm using in my thesis, so that you can get an idea of what else might be affecting the look of the table. I've also attached a picture of my output.
The main issues that I have with the table are:
- The caption text sits too close to the top of the table. Is there a way to get this to sit a little higher (0.5-1 line spaces) above the table?
- The rows are too closely spaced, making it a little hard to read the nuclide and atomic mass numbers for the elements. Does line spacing not affect tables? How can I can increase the spacing between rows?
- The text underneath the table needs to sit directly beneath the table and be no wider than the width of the table. How do I go about this?
Thanks for the help!
.
\documentclass[12pt,a4paper]{report}
\usepackage{setspace}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{layout}
\usepackage{lscape}
\usepackage[round]{natbib}
\usepackage{array}
\usepackage{booktabs}
\usepackage{siunitx}
\usepackage{tensor}
\begin{document}
\doublespacing
\begin{table}
\centering
\caption{Naturally occurring long-lived radionuclides and their stable radiogenic daughters frequently used in geochronology.}\label{tab:001}
\addtolength{\tabcolsep}{-2pt} % slight reduction of intercolumn space
\begin{tabular}{*{4}{c} >{\raggedright\arraybackslash}p{3.5cm}}
\toprule
Parent & Decay Modes$^a$ & Half-life (years) & Daughters \\
\midrule
$^{40}_{19}$K & $\varepsilon$: $10.72\%$, $\beta^{+}$: $1.0\times 10^{-3}\%$ & $1.248 \times 10^{9}$ & $^{40}_{18}$Ar \\
$^{40}_{19}$K & $\beta^{-}$: $89.28\%$ & $1.248 \times 10^{9}$ & $^{40}_{20}$Ca \\
$^{87}_{37}$Rb & $\beta^{-}$: $100\%$ & $4.81\times 10^{10}$ & $^{87}_{38}$Sr \\
$^{147}_{62}$Sm & $\alpha$: $100\%$ & $1.06\times 10^{11}$ & $^{143}_{60}$Nd \\
$^{176}_{71}$Lu & $\beta^{-}$: $100\%$ & $3.76\times 10^{10}$ & $^{176}_{72}$Hf \\
$^{187}_{75}$Re & $\alpha$: $1.0\times 10^{-4}\%$, $\beta^{-}: 100\%$ & $4.33\times 10^{10}$ & $^{187}_{76}$Os \\
$^{232}_{90}$Th & $\alpha$: $100\%$, SF: $1.1\times 10^{-9}\%$ & $1.40\times 10^{10}$ & $^{208}_{82}$Pb \\
$^{235}_{92}$U & $\alpha$: $100\%$, SF: $7.0\times 10^{-9}\%$ & $7.04\times 10^{8}$ & $^{207}_{82}$Pb \\
$^{238}_{92}$U & $\alpha$: $100\%$, SF: $5.5\times 10^{-5}\%$ & $4.468\times 10^{9}$ & $^{206}_{82}$Pb \\
\bottomrule
\end{tabular}
\end{table}
$^{a}$ $\varepsilon$ = electron capture decay; $\beta^{+}$ = positron decay; $\beta^{-}$ = negatron decay; $\alpha$ = alpha decay.
\end{document}
Best Answer
It's enough to load the
caption
package (you could even set a biggerskip
, if needed).Redefine
\arraystretch
locally.Build your table and its footnote using the
ctable
package.The code:
Additional improvements:
The
siunitx
package was used to format the entries in the third column.The
chemmacros
package was used to properly format the sub/superscripts in the first and third columns.