If I have a table like this
\documentclass{article}
\usepackage{booktabs}
\usepackage[separate-uncertainty=true]{siunitx}
\begin{document}
\begin{table}
\centering
\begin{tabular}{
l
S[table-format=1.1(2)]
S[table-format=-1.1(2)]
S[table-format=2.1(3)]
%S[table-figures-uncertainty=2,
% table-number-alignment=center]
}
\toprule
Station & {GHI} & {DIF} & {DHI} \\
\midrule
BS & 2.4 +-3.7 & -5.3 +-1.6 & 11.6 +- 7.9 \\
HB & 3.0 +-4.3 & -3.2 +-3.3 & 10.0 +- 9.0 \\
PD & 2.4 +-2.8 & -3.1 +-1.3 & 8.4 +- 6.3 \\
TR & 1.3 +-4.8 & -4.5 +-2.8 & 7.5 +-10.6 \\
WB & 0.3 +-2.7 & -3.8 +-1.9 & 4.8 +- 6.4 \\[0.5em]
Mean & 1.6 +-3.0 & -3.9 +-1.3 & 7.6 +- 6.5 \\
\bottomrule
\end{tabular}
\end{table}
\end{document}
The numbers are aligned on the decimal sign, but the uncertainties are not.
What I would like to have is that in the last column space for two numbers for the uncertainty is reserved, so that it is formatted as given in the code (uncertainties aligned on the right and a space before for instance the 7.9 in the first row of the last column).
How can I achieve this with siunitx?
1.1(2)
for the first column,-1.1(2)
for the second and2.1(3)
for the third to avoid overful boxes.table-format
I think. For my question I would need something like2.1(2.1)
I think, but this doesn't work.