As is common with tables with numeric results, I would like to mark some values
by using \textbf (usually the best results obtained). When I try to combine the S type
of column provided by siunitx with \textbf, I loose the decimal separator alignment.
A solution has been given five years ago, I have tried it and it doesn't work:
\documentclass{article}
\usepackage{array,siunitx,booktabs,tabularx}
\robustify\bfseries
\sisetup{table-parse-only,detect-weight=true,detect-inline-weight=text}
\newcommand{\tbnum}[1]{\multicolumn{1}{c}{\bfseries \num{#1}}}
\begin{document}
\begin{tabularx}{\textwidth}{llXS}\toprule
A&B&C&\multicolumn{1}{c}{Numbers}\\midrule
bla&bla&bla&0.535\
bla&bla&bla&0.535\
bla&bla&bla&0.535\\midrule
bla&bla&bla&\tbnum{1322.0}\\bottomrule
\end{tabularx}
\end{document}
What am I doing wrong?

