I've just starting learning Latex. Would somebody be so kind as to please explain to me why there is such a large gap between the last line of text and the table? I hope this post is acceptable and in the correct forum. If not, please let me know.
Code: Select all
\documentclass{article}
\title{M1 - Use of SI Units}
\author{Zane Allford}
\date{\today}
\usepackage{enumitem}
\usepackage{booktabs}
\usepackage[table,xcdraw]{xcolor}
\begin{document}
\maketitle
\section*{Specification Links}
\textbf{Unit 1 Topic 1 - Basic Physics}
(a) the 6 essential base SI units (kg, m, s, A, mol, K)
(b) representing units in terms of the 6 base SI units and their prefixes
(c) checking equations for homogeneity using units
\section*{Introduction}
The units in bold are used in AS physics, so you should be familiar with them.
\begin{table}[]
\centering
\begin{tabular}{@{}ll@{}}
\toprule
Quantity & Basic S.I. Unit \\ \midrule
mass & kilogram (kg) \\
length & metre (m) \\
time & second (s) \\
current & ampere (A) \\
temperature & kelvin (K) \\ \bottomrule
\end{tabular}
\end{table}
\end{document}