I would like the data in the "Confidence Limit" column to align on the plus/minus symbol. Here is a link to a similar but different question Aligning +- sign in table. However, the values in my data for this column also vary in length. Additionally, while the numbers in the first column are aligned the way I would like, I wish the header was aligned to them.
Here is what the table currently looks like:
This is the code I used to generate the table:
\documentclass[letterpaper,11pt,oneside, notitlepage]{article}% calls document type
\usepackage[usenames, dvipsnames, table, xcdraw]{xcolor}
\usepackage{booktabs}% table utilities
\usepackage{siunitx}% number and symbol alignment
\begin{document}
\begin{table}[htb]
\begin{tabular}{SSccc}
\toprule
\textbf{Mean} & \textbf{Confidence Limit} & \textbf{Year} & \textbf{Broodstock Source} & \textbf{Broodstock Type} \\ \hline
7816 & \num{+-1477} & 2016 & Oak Creek & Wild Captive \\
\rowcolor[HTML]{EFEFEF}
4996 & \num{+-262} & 2018 & Salt River & Wild Streamside \\
5646 & \num{+-328} & 2018 & Salt River & Wild Streamside \\
\rowcolor[HTML]{EFEFEF}
1939 & \num{+-157} & 2018 & Verde River & Wild Streamside \\
2362 & \num{+-239} & 2018 & Verde River & Wild Streamside \\
\rowcolor[HTML]{EFEFEF}
4012 & \num{+-671} & 2018 & Verde River & Wild Streamside \\
900 & \num{+-335} & 2018 & Verde River & Wild Streamside \\
\rowcolor[HTML]{EFEFEF}
4820 & \num{+-47} & 2018 & Verde River & Wild Streamside \\
1008 & \num{+-134} & 2018 & Verde River & Wild Streamside \\
\rowcolor[HTML]{EFEFEF}
419 & \num{+-427} & 2018 & Verde River & Wild Streamside \\
2460 & \num{+-290} & 2018 & Verde River & Wild Streamside \\
\rowcolor[HTML]{EFEFEF}
1634 & \num{+-715} & 2018 & Verde River & Wild Streamside \\ \bottomrule
\end{tabular}
\end{table}
\end{document}
Any help is appreciated.
Best Answer
Some improvements and code simplification: