\documentclass[a4paper, 12pt]{article}
\usepackage{booktabs,array}
\usepackage[table]{xcolor}
\usepackage{colortbl}
\usepackage{float}
\usepackage{makecell}
\begin{document}
\begin{table}[H]
\renewcommand\arraystretch{1.5}
\centering
\begin{tabular}{ccccccc}
\toprule
String Tension & \makecell{Mean \\ Rebound Height} & Uncertainty in $\overline{h_{r}}$ & \makecell{Percentage uncertainty\\ in $\overline{h_{r}}$} & \makecell{Coefficient \\of Restitution} & \makecell{Percentage uncertainty \\in $e$} & Uncertainty in $e$\\
(T) $\pm$ 5 N & ($\overline{h_{r}}$) / m & $e$ \\
\midrule
\rowcolor[rgb]{0.902,0.902,0.902}
147 & 1.345 & 2.345 & 2.345& 2.345& 2.345& 2.345\\
\rowcolor[rgb]{0.949,0.949,0.949}
196 & 1.345 & 2.345 & 2.345& 2.345& 2.345& 2.345\\
\rowcolor[rgb]{0.902,0.902,0.902}
245 & 1.345 & 2.345 & 2.345& 2.345& 2.345& 2.345 \\
\rowcolor[rgb]{0.949,0.949,0.949}
294& 1.345 & 2.345 & 2.345& 2.345& 2.345& 2.345\\
\rowcolor[rgb]{0.902,0.902,0.902}
343& 1.345 & 2.345 & 2.345& 2.345& 2.345& 2.345\\
\bottomrule
\end{tabular}
\caption{Processed Data}
\label{tab:Raw Data}
\end{table}
\end{document}
I tried using the \makecell package, but I could not make it look presentable. Any help would be greatly appreciated.




! LaTeX Error: Unknown float option \H'.` – David Carlisle Dec 17 '21 at 14:08