[Tex/LaTex] siunitx tabular numbers with separated uncertainty

siunitx

I would like to format the space reserved for a number shown in a table with separated uncertainty. It seems that when I use the table-format option the brackets around the mantissa disappear. This is illustrated in the example below:

\documentclass{article}    
\usepackage{siunitx}

\begin{document}    
\begin{table}
  \begin{tabular}{
                  S[separate-uncertainty = true]
                  S[table-format=1.1(1)e1,
                  separate-uncertainty = true]
                  }
    {Header} & {Header}\\
    1.0(2)e2 & 1.0(2)e2\\
  \end{tabular}
\end{table}    
\end{document}

enter image description here

I have also tried to use the bracket-numbers and multi-part-units = brackets
without solving this issue. Is there any workaround to center the number and keep the brackets like in the first column of the example?

Best Answer

Using your example: By using the table-figures-XXX assignments independently, rather than using the table-format shortcut, I was able to make Header 1 and 2 appear identical.

\documentclass{article}

\usepackage{siunitx}

\begin{document}

    \begin{table}
        \begin{tabular}{
                S[separate-uncertainty = true]
                S[%table-format=1.1(1)e1,
                table-figures-integer=1,
                table-figures-decimal=1,
                table-figures-exponent=1,
                table-figures-uncertainty=1,
                separate-uncertainty = true]
            }
            {Header} & {Header}\\
            1.0(2)e2 & 1.0(2)e2\\
        \end{tabular}
    \end{table}

\end{document}

%retain-unity-mantissa=true,    % probably unnecessary
%table-sign-mantissa=true,      % probably unnecessary

screenshot

Related Question