Wrong spacing in \unit
Hi, when \unit is used just with a unit, without a number, the spacing at the left is wrong. Example: \starttext % wrong spacing (\unit{micro mol per second}) % spacing OK (\unit{3 micro mol per second}) \stoptext Marco
2012-09-13 Marco Patzer
when \unit is used just with a unit, without a number, the spacing at the left is wrong.
Still the same in 2012.09.16 23:18, it doesn't seem that hard to fix. Maybe just an if-statement to check if the number is provided and add a space in that case. So I checked the sources and saw that it might be a feature to support the syntax with the number not included in the \unit call (is anyone actually using this syntax?): 3 \unit{micro mol per second} \unit{3 micro mol per second} I guess it's hard to check whether there is a number provided before the \unit command from inside \unit. Any ideas? It renders it much less useful if it only works with a unit *and* a number. Marco
participants (1)
-
Marco Patzer