![](https://secure.gravatar.com/avatar/a9569c0144001424e70287ebde8f600e.jpg?s=120&d=mm&r=g)
Hi,
I still do have problems with a wrong spacing between number and unit in math mode (minimal example below). Clearly, I could do something like
$\alpha = $ \unit{1,2 meter}
but I think this is likely to result in problems with the look of the result in case this is close to a line break.
Cheers,
Andreas
%%%%%%%% MINIMAL EXAMPLE %%%%%%%%
\starttext
\unit{1,2 meter} % what I would expect
$\unit{1,2 meter}$ % wrong spacing
$\unit{1{,}2 meter}$ % there is no output after "1"
\stoptext
%%%%%%%% MINIMAL EXAMPLE %%%%%%%%
Am Nov 30, 2012 um 8:43 PM schrieb Romain Diss
Le jeudi 29 novembre 2012, Andreas Mang a écrit :
Hi there,
I encountered some problems with the built in units command in MKIV. I provide a minimal example which should demonstrate my problems. Maybe I am doing something wrong...
\setupbodyfont[pagella] \starttext \unit{11,1e-1 micro mol per second} \par $\unit{11,1e-1 micro mol per second}$ \par \unit{11,1e-1 per second} \par \unit{11,1e-1 / second} \par \stoptext Don't know for the first two, but the last two should be replaced by: \unit{11,1e-1 inverse second}
All the best.
-- Romain Diss
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________