I need to align numbers as 99.88%~9.8% in tables in LaTeX:
\documentclass{article}
\usepackage{siunitx,amsmath,tabularray}
\UseTblrLibrary{booktabs, siunitx}
\begin{document}
\begin{table}
\begin{talltblr}{colspec={X[c] X[c,si={table-format=2.2\%}]}}
1&{{{$11.11\%\sim55.56\%$}}}\\
2&{{{$5.12\%\sim21.2\%$}}}\\
3&{{{$6.78\%\sim2.1\%$}}}\\
\end{talltblr}
\end{table}
\end{document}
The result is:
Is there a way to align them with si={table-format=2.2%\sim2.2%}?


\simsymbol's color to{RGB}{245,246,246}? – Y. zeng Jun 25 '22 at 04:47@{\textcolor[RGB]{245,246,246}{\ $\sim$\ }}, but that's far too light on a white background and almost unreadable. You've asked a number of questions on this site and not answered any. Time to start trying to answer simple questions like that for yourself. – frabjous Jun 25 '22 at 14:20https://tex.stackexchange.com/questions/648880/settblrinnertblrcells-bg-cant-change-the-background-color-in-tabularr, but there is an error. I can't adjust the table's color to{RGB}{245,246,246}. – Y. zeng Jun 26 '22 at 00:45