# Re: [NTG-context] Use \unit for value and uncertainty

Hello!

There does not seem to be a simple solution to using \unit with uncertainties,
see below.

Could someone maybe point me to the relevant source code for the parser for
\unit in MKIV? Then I would try to modify/improve the code myself.

Thanks a lot and best regards,
Florian

> On 25.09.16, at 20:11, Florian Leupold <fleup...@posteo.net> wrote:
>
> Dear list
>
> Is it possible to use the units module (in MKIV) for value plusminus
> uncertainty in a way similar to the \SI command in LaTeX, like
>  \unit{(1.59\pm2)e-19 coulomb} or
>  \unit{1.59(2)e-19 coulomb}?
>
> Thanks and best regards,
> Florian
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

___________________________________________________________________________________
___________________________________________________________________________________