-
Notifications
You must be signed in to change notification settings - Fork 392
Description
Hey everyone,
Has there been discussion about adding some sort of SI unit formatting to quartio, similar to what siunitx allows for LaTeX?
This sort of thing is quite helpful when working with derived SI units, or prefixes that aren't found on latin keyboards. siunitx (documentation here) handles this in LaTeX, and it would be nice to somehow bring this functionality over.
siunitx ensures that the units are formatted consistently, with a required nonbreaking space between number and unit. It also has some nice features for things like formatting angles, lists, and ranges. As examples, \qty{30}{\uA} is rendered as "30 µA", \qty{70}{\Mohm\per\um} as "70 MΩ µm^-1" (with the correct exponent of course), \ang{180} as "180°" , or \qtyrange{0.15}{30}{\MHz} as "0.15 MHz to 30 MHz. (There are a lot more examples in the PDF documentation linked above).
Something like this would be a very nice fit for Quarto's use in scientific documentation.