When using siunitx
, by default, \SIrange{0}{10}{\celsius}
will render 0 °C to 10 °C
.
Is there any general way to change the default rendering of ranges to 0--10 °C
(i.e., using an en dash instead of "to").
punctuationsiunitx
When using siunitx
, by default, \SIrange{0}{10}{\celsius}
will render 0 °C to 10 °C
.
Is there any general way to change the default rendering of ranges to 0--10 °C
(i.e., using an en dash instead of "to").
Best Answer
The relevant option is
range-phrase
. This is explained in section 5.8 "Lists and ranges of numbers" of the documentation.