I am trying to create a big table without leading zeros using siunitx \num{}
. Namely, I have a bunch of number formated like this:
0.001
0.1
1.000
and I want to remove the 0. part. So the output would be:
.001
.1
1.000
It should be the opposite of add-integer-zero option (something like remove-integer-zero). I have triyed lots of \sisetup
configuration without luck. All question in tex exchange seems to be the opposite to what I want. Any idea of it is possible?
Thanks in advance.
Best Answer
I agree with the comments about this not being a good idea. But having said that, here's an approach, using the
expl3
syntax thatsiunitx
is built upon: