I am trying to make a table where the data has plus/minus symbols and columns are aligned to the plus/minus symbols. I've managed to do the aligning, but the column headings are not centered over the data columns. I've attached the code below. Thanks for your help!
Jon
Code: Select all
\documentclass[12pt]{report}
\usepackage{booktabs}
\begin{document}
\begin{table}
\begin {center}
\begin{tabular}{c r@{$\pm$}l r@{$\pm$}l r@{$\pm$}l}
\toprule
\textit{Sample}
& \multicolumn{2}{c}{\textit{Duration (frames)}}
& \multicolumn{2}{c}{\textit{Uncorrected Intensity}}
& \multicolumn{2}{c}{\textit{S/B Ratio}}\\
\midrule
\textbf{3} & 57&44 & 13009&1442 & 2.0&0.3\\
\textbf{2} & 29&10 & 13875&1911 & 2.1&0.5)\\
Blank & 14&8 & 10451&338 & 1.8&0.2\\
\bottomrule
\end{tabular}
\caption{Summary of statistics from analysis of all three samples.}
\end {center}
\end{table}
\end{document}