31 Jan
2019
31 Jan
'19
1:28 p.m.
Hi! I'm wondering if there's a way to have automatic thousands separation in the \unit command? \spaceddigits does that, but it doesn't work inside \unit. And using both would be quite verbose to write. Example: \starttext %% no thousands separation \unit{123456789 volt} %% manual thousands separation works \unit{123,456,789 volt} %% automatic thousands separation, but not using \unit \let\spaceddigitsseparator, \spaceddigits{123456789}\,V %% fails, no output \unit{\spaceddigits{123456789} volt} \stoptext Marco