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