josephwright / josephwright/siunitx
The decimal marker in bold number is not align with asymmetrical number format in table.
Open
@josephwright is already working on this.
Since May 3, 2023.
enhancement
- Dominant language
- TeX
- Stars
- 407
- Forks
- 29
- Avg merge
- 11h 20m
- Merged PRs (30d)
- 3
Description
In the example in the 9.13 Tables with heading rows, the number is symmetrical, i.e., 3.3. But if we set a number like 3.6, the decimal marker are not aligned.
\documentclass{article}
\usepackage[table]{xcolor}
\usepackage{siunitx}
\begin{document}
\robustify\bfseries
\begin{tabular}
{@{}S[text-series-to-math, table-format = 3.3]@{}}
\rowcolor[gray]{0.9}
\bfseries 123.456 \\
23.45
\\
123.4
\\
3.456 \\
\end{tabular}
\qquad
\begin{tabular}
{@{}S[text-series-to-math, table-format = 3.6]@{}}
\rowcolor[gray]{0.9}
\bfseries 123.456789 \\
23.45
\\
123.4
\\
3.456 \\
\end{tabular}
\qquad
\begin{tabular}
{@{}S[text-series-to-math, table-format = 3.6]@{}}
\rowcolor[gray]{0.9}
\bfseries 123.456 \\
23.45
\\
123.4
\\
3.456789 \\
\end{tabular}
\end{document}

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.