I am using the following script to create my table:
\sisetup{parse-numbers = false}
\begin{longtable}{ @{} l *{ 9 }{S[table-format = +2.3 ]} @{}}
\caption{\label{tab:}Results}\\
\toprule
\multicolumn{1}{c}{ } & \multicolumn{3}{c}{AAAAAAAAA} & \multicolumn{3}{c}{BBBBBBBBB} & \multicolumn{3}{c}{CCCCCCCCC} \\
\cmidrule(l{3pt}r{3pt}){2-4} \cmidrule(l{3pt}r{3pt}){5-7} \cmidrule(l{3pt}r{3pt}){8-10}
{Date} & {XXX} & {YYY} & {ZZZ} & {XXX} & {YYY} & {ZZZ} & {XXX} & {YYY} & {ZZZ}\\
\midrule
\endfirsthead
\caption[]{Results \textit{(continued)}}\\
\toprule
\multicolumn{1}{c}{ } & \multicolumn{3}{c}{AAAAAAAAA} & \multicolumn{3}{c}{BBBBBBBBB} & \multicolumn{3}{c}{CCCCCCCCC} \\
\cmidrule(l{3pt}r{3pt}){2-4} \cmidrule(l{3pt}r{3pt}){5-7} \cmidrule(l{3pt}r{3pt}){8-10}
{Date} & {XXX} & {YYY} & {ZZZ} & {XXX} & {YYY} & {ZZZ} & {XXX} & {YYY} & {ZZZ}\\
\midrule
\endhead
\
\endfoot
\bottomrule
\endlastfoot
\addlinespace
2000-06-11 & -0.010 & -0.010 & -0.990 & -0.020 & -0.020 & -1.768 & -0.024 & -0.024 & -2.057\\
2000-06-12 & 0.010 & 0.000 & 0.968 & 0.022 & 0.001 & 1.859 & 0.022 & -0.002 & 1.904\\
2000-06-13 & 0.000 & 0.000 & 0.040 & 0.000 & 0.001 & 0.042 & 0.001 & -0.001 & 0.118\\
\end{longtable}
the output is not bad, but I think the column names are not centered with their values, and I also want to reduce the space between the columns in each group (XXX, YYY, ZZZ) can someone please help me with these two issues?
-1.3
not+2.3