I need to bold and align numeric values in a table while using both mathspec and siunitx packages. I've looked at siunitx: Bold single numeric cells for bold and alignment in a tabular environment with the siunitx package, however this breaks when specifying \setallmainfonts(Digits){Helvetica} with the mathspec package.
The MWE below shows proper numeric fonts in the displayed math (from the "Digits" specification), the 3.060 is properly aligned, the decimal is properly bold, but the digits are not bold. If the \setallmainfonts(Digits){Helvetica} is commented, then the table data is correctly bold and aligned, but then the display math digits revert to CM. Does anyone know how to reconcile these two?
\documentclass{article}
\usepackage{etoolbox}
\usepackage{siunitx}
\usepackage{booktabs}
\usepackage{mathspec}
\setallmainfonts(Latin,Greek)[Ligatures=TeX]{Helvetica}
\setallmainfonts(Digits){Helvetica}
\robustify\bfseries
\begin{document}
\begin{table}
\begin{tabular}{S[table-format=3.3,detect-weight]}
\toprule
{Header 35} \\
\midrule
\bfseries 3.060\\
100.59\\
0.64\\
0.52\\
\bottomrule
\end{tabular}
\end{table}
This is the number 2.
\[\int_{-\infty}^{\infty} 2 x^{2}_{i} dx \]
\end{document}
