TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Using the siunitx package


Consider the following two tables:


  S[table-number-alignment=center, table-figures-decimal=3, table-auto-round]
  3.23958398 \\

% => 3.234


  S[table-figures-decimal=3, table-auto-round]
  3.23958398 \\

% => 3.23958398

In the former, the number gets rounded, but in the latter it does not. Ran under both pdflatex and xelatex. Can anyone explain?

share|improve this question
up vote 10 down vote accepted

In the second case, you have not set the table-number-alignment key, which will therefore take the default value center-decimal-marker. The later does not reserve space in the table for numbers of a particular size, and so table-auto-round does not apply.

The entire reason that center-decimal-marker is the default is precisely because it does not require any information about the size of the number in order to carry out alignment without any overfull boxes.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.