[Tex/LaTex] coordinate number format \ang{}

angleformattingsiunitx

In a table, I am listing several coordinates. I want to use a number format such as this

W 95°13'14''

W 95°03'00''

I am using the \ang{} environment of the siunitx package.

However, there seems to be no control over the number format when e.g. W 94°02'09'', then W\ang{94;02;09} produces W94°2'9'' i.e. eliminates automatically the zeros in the decade positions.

Is there a way to define a number format?

Best Answer

You have to use the right option, either locally:

W\ang[minimum-integer-digits=2]{94;2;9}

or globally:

\sisetup{minimum-integer-digits=2}
 W\ang{94;2;9}

enter image description here