我已将数字的粗体b
改为bx
。
我发现只有10pt
是右对齐,其他字体大小都是错误对齐,当数字格式不对称时,例如1234567890.12
。
或者如果数字格式是对称的,例如1234567890.1111111111
。所有字体大小都是右对齐。
\documentclass{article}
\pagestyle{empty}
\SetSymbolFont{operators}{bold}{OT1}{cmr}{b}{n}
\usepackage{siunitx}
\sisetup{reset-math-version=false,text-series-to-math=true,group-digits=none}
\begin{document}
\fontsize{12pt}{\baselineskip}\selectfont
\begin{tabular}{S[table-format=10.2]}
1234567890.12\\
\bfseries 1234567890.12 \\
\boldmath 1234567890.12 \\
1234567890.12\\
\end{tabular}
\fontsize{10pt}{\baselineskip}\selectfont
\begin{tabular}{S[table-format=10.2]}
1234567890.12\\
\bfseries 1234567890.12 \\
\boldmath 1234567890.12 \\
1234567890.12\\
\end{tabular}
\fontsize{8pt}{\baselineskip}\selectfont
\begin{tabular}{S[table-format=10.2]}
1234567890.12\\
\bfseries 1234567890.12 \\
\boldmath 1234567890.12 \\
1234567890.12\\
\end{tabular}
\end{document}
\documentclass{article}
\pagestyle{empty}
\SetSymbolFont{operators}{bold}{OT1}{cmr}{b}{n}
\usepackage{siunitx}
\sisetup{reset-math-version=false,text-series-to-math=true,group-digits=none}
\begin{document}
\fontsize{12pt}{\baselineskip}\selectfont
\begin{tabular}{S[table-format=10.10]}
1234567890.1111111111\\
\bfseries 1234567890.1111111111 \\
\boldmath 1234567890.1111111111 \\
1234567890.1111111111\\
\end{tabular}
\fontsize{10pt}{\baselineskip}\selectfont
\begin{tabular}{S[table-format=10.10]}
1234567890.1111111111\\
\bfseries 1234567890.1111111111 \\
\boldmath 1234567890.1111111111 \\
1234567890.1111111111\\
\end{tabular}
\fontsize{8pt}{\baselineskip}\selectfont
\begin{tabular}{S[table-format=10.10]}
1234567890.1111111111\\
\bfseries 1234567890.1111111111 \\
\boldmath 1234567890.1111111111 \\
1234567890.1111111111\\
\end{tabular}
\end{document}