Skip to content

table-format and input in e-notation #835

@rlalik

Description

@rlalik

I have following code:

\begin{table}[!h]
  \centering
  \begin{tabularx}{1.0\linewidth}{S[table-format=1.3]}
  \toprule
-1.040e+00 \\
-1.000e+00 \\
-9.600e-01 \\
-9.200e-01 \\
  \bottomrule
  \end{tabularx}
\end{table}

which prints numbers as follows:

−1.040
−1.000
−9.600
−9.200

The expected output would be:

−1.040
−1.000
−0.960
−0.920

If \begin{tabularx}{1.0\linewidth}{S[table-format=1.3,exponent-mode=fixed]} is used, then the output is:

−1.040
−1.000
−0.9600
−0.9200

which doesn't fits the requested table-format.

siunitx version: Package: siunitx 2025-05-22 v3.4.12 A comprehensive (SI) units package from Overleaf TeX Live version 2025.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions