I've been trying and searching for quite some time, but I don't see what I'm doing wrong:
I want to create several table columns with decimal numbers (some in the format "1,25" and some like "3,156" or "12,247").
I tried:
(The vertical lines are only for seeing clearly where the columns begin and end.)
\documentclass[11pt, a4paper]{scrreprt}
\usepackage{booktabs}
\usepackage[round-mode=places, round-integer-to-decimal, round-precision=2,
table-number-alignment=center,
round-integer-to-decimal
]{siunitx}
\begin{document}
\footnotesize
\begin{tabular}{|S| S[round-precision=4]| c }
\multicolumn{1}{c}{$A_{max}$} & \multicolumn{1}{c}{$A_{max}$} & test \\
1,2345 & 1,2345 & 1,2345\\
1,23 & 1,23 & 1,23\\
1 & 1 & 1\\
1,23456 & 1,243456 & 1,23456\\
%11,23456 & 11,23456\\
\end{tabular}
\end{document}
I'd like the whole "number block" to be centered in the width of the column, however, in the result the decimal point seems to be the centered in the S-columns:
From my understanding of the siunitx
-manual, the option table-number-alignment=center
should do exactly that, shouldn't it?