Add a third option to "per" parameter for inline display without negative exponent (example g/cm³)
Closed this issue · 3 comments
idoric commented
I would like a third option to the "per" parameter to be able to display units in the form of g/cm³ or km/h.
My use case: I would like to adapt my content to my different audiences by changing its display using a simple #let qty = qty.with(per: "new third option")
.
ChHecker commented
The only point I'm not sure about is how to handle parentheses.
Technically, if more than one unit is in the denominator, one needs to add parentheses. On the other hand, many people don't do this. Also, for the numerator, this isn't even necessary.
I'm open to opinions.
eltos commented
Multiple units in the denominator are then typically written with multiple slash, e.g. as in
1 Pa = 1 kg/m/s²