\startformula
  a = 21407 g
\stopformula

:)

The units code should certainly know how to deal with "N"...

Alan


On Thu, 4 Oct 2012 11:32:20 +0200
Wolfgang Schuster <wolfgang.schus...@gmail.com> wrote:

> 
> Am 04.10.2012 um 11:07 schrieb Procházka Lukáš Ing. - Pontex s. r. o.
> <l...@pontex.cz>:
> 
> > Hello,
> > 
> > which is the most correct way to display units (here: kN) in math
> > formula?
> > 
> > ----
> > \starttext
> >  \startformula
> >    a = 210 kN % "kN" is shown like a variable (here: like 'a'),
> > which is unwanted \stopformula
> > 
> >  \startformula
> >    a = 210 \unit{kN} % No unit is displayed (?!)
> >  \stopformula
> > 
> >  \startformula
> >    a = 210 \text{~kN} % '~' required?, ugly way
> >  \stopformula
> > \stoptext
> > ----
> 
> 
> The units code doesn’t know how to deal with “N” but you can use the
> full name of the unit (can also be lowercase) or “n” which is also
> accepted.
> 
> \starttext
> 
> \startformula
>   a = \unit{210 kilo Newton}
> \stopformula
> 
> \startformula
>   a = 210 \unit{kilo Newton}
> \stopformula
> 
> \startformula
>   a = 210 \unit{k Newton}
> \stopformula
> 
> \startformula
>   a = 210 \unit{kn}
> \stopformula
> 
> \stoptext
> 
> Wolfgang

___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to