# siunitx error processing parentheses and negative signs after 3.0.25 update

Today I installed the latest version of MiKTeX in a new windows computer and attempted to run the following siunitx code in the preamble, which, among other things, helps me format my tables such that the alignment ignores stars, negative signs, and parentheses:

\documentclass{article}
\usepackage{booktabs,caption}
\captionsetup[table]{font=large}
\newcommand\mc[1]{\multicolumn{1}{c}{#1}} % handy shortcut macro
\usepackage{rotating}
\usepackage[flushleft]{threeparttable}
\usepackage{siunitx}
\sisetup{group-separator = {,}, group-minimum-digits = 4,
detect-mode,
tight-spacing           = true,
input-signs             = ,
input-symbols           = ,
input-open-uncertainty  = ,
input-close-uncertainty = ,
table-align-text-pre    = false,
table-space-text-pre    = (,
} % centering in tables
\begin{document}
\begin{tabular}{l *{1}{S[table-format=1.3, table-space-text-post =***]}} \toprule \toprule
&       \mc{(1)}        \\
&       \mc{OLS}        \\
\midrule \\
ABC & -0.003*** \\
& ( 0.001) \\ \addlinespace
Constant &  0.006*** \\
& ( 0.001) \\
Observations & \mc{60,571}  \\
RMSE & \mc{ 0.071} \\
\bottomrule \bottomrule
\end{tabular}
\end{document}


I got no error messages after running this code, but the alignment is off and the opening parentheses and negative signs overlap with numbers. See below for an example:

By calling a previous version of siunitx, I got it to work as desired. See the code and output below:

\usepackage{siunitx}[=2021-04-09]


Could anyone please help me understand what might be happening with my code after the update and how to fix it such that I do not need to call the previous siunitx version?

Thank you!

• you should always show a small but complete example. That makes it much easier to test your issue. Aug 20, 2021 at 16:14
• I'm guessing it's a side-effect of the bug fix that happened for this question: tex.stackexchange.com/questions/610213/… Aug 20, 2021 at 16:19
• @UlrikeFischer Example added, thanks! Aug 20, 2021 at 16:41
• the example is incomplete. But beside this: your table format is wrong, you have a negative number, so it should be table-format=-1.3. Aug 20, 2021 at 16:45
• @DonHosek I tried @Mico 's solution of adding input-symbols = () instead of input-open-uncertainty = , input-close-uncertainty = , table-align-text-pre = false, table-space-text-pre = ( but that did not help either. Aug 20, 2021 at 16:46

One of the v2 to v3 changes is that table-format now 'knows' about pre/post text. However, that does mean that here you need to include the pre-text in the table-format, otherwise your table-space-text-pre = ( gets 'lost'. So using table-format = (1.3 should do it.