josephwright / siunitx

A comprehensive (SI) units package for LaTeX
LaTeX Project Public License v1.3c
350 stars 25 forks source link

Comparators are not truly aligned with `table-align-comparator=true` #733

Closed muzimuzhi closed 1 month ago

muzimuzhi commented 1 month ago

See the example of table-align-comparator in package manual:

\documentclass{article}
\usepackage{booktabs}
\usepackage{siunitx}

\begin{document}
\sisetup{table-format = >2.2}
\begin{tabular}{@{}SS[table-align-comparator = false]@{}}
  \toprule
    {Header} & {Header} \\
  \midrule
    >  1.2  & >  1.2  \\
    > 12.34 & > 12.34 \\
  \bottomrule
\end{tabular}

\end{document}
josephwright commented 1 month ago

Looks like I need fill order glue

josephwright commented 1 month ago

Right, should be sorted

muzimuzhi commented 1 month ago

Many thanks!