I am having a problem with aligning columns using siunitx. The example goes like this:
\usepackage{siunitx}
\sisetup{separate-uncertainty, table-auto-round}
\begin{sidewaystable}[p]
\myfloatalign
\caption[Abundances]{Abundances.}
\label{tbl:abundance}
\begin{tabularx}{\textwidth}{S[table-format=2]XS[table-format=-1.2(2)]S[table-format=2]}
\toprule
Z & Element & $\phi = 0.31$ & N \\
\midrule
6 & $\mathrm{C \, I }$ & -0.08(22) & 3 \\
25 & $\mathrm{Mn\, II}$ & 0.94 & 1 \\
\bottomrule
\end{tabularx}
\end{table}
The problem is that the numbers with no reported uncertainty are flushed right so that they are aligned underneath the uncertainty values of the other numbers. Is there a way to make all the data values align under each other?
siunitxdo you have installed? – Joseph Wright♦ Nov 6 '12 at 22:08separate-uncertainty, etc.) are for version 2 and later! There was a bug about table alignment and uncertainties, which was fixed a while ago: all I can suggest is getting an up-to-datesiunitx. – Joseph Wright♦ Nov 6 '12 at 22:29