%%
%% The LaTeX Companion, 3ed
%%
%% Example 6-7-14 on page I-485 in "siunitx --- Scientific numbers in tables".
%%
%% Copyright (C) 2022 Frank Mittelbach
%%
%% It may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, either version 1.3c
%% of this license or (at your option) any later version.
%%
%% See https://www.latex-project.org/lppl.txt for details.
%%

\documentclass{tlc3exa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{195.0pt}

 \setlength\parindent{0pt}

 \usepackage{color} % for the book we need to load this explicitly because of
                    % the spotcolors we use (otherwise the blue will not be in
                    % the spotcolor but a ``real blue'' and thus gray)

%StartShownPreambleCommands
\usepackage{siunitx}
\newcommand\note[1]{\textsuperscript{\,#1}}
%StopShownPreambleCommands

\begin{document}
\begin{tabular}{|S|S[text-series-to-math]|}
\multicolumn{2}{|c|}{\tablenum{47.11}}    \\
\multicolumn{2}{|c|}{\tablenum{111.5}}    \\
2.345             &           -1.2        \\
12.17 \note{b}    &            7.84e2     \\
1.99998           &  {broken } 0.01       \\
\color{blue} 56.7 &  \bfseries 9.7(1)e-3
\end{tabular}
\end{document}