needs testing as usual (and wiki adaption as well)
http://wiki.contextgarden.net/Command/unit
Wiki: adapted. (Page created, actually, as there was none.) Using the
fancy-schmancy {{since|2012|text=nov 2012}} template, which (1) marks
this as a recent feature, and as such not in the stable yet, and
(2) sticks it in the hidden categories [Since] and [Since 2012], so
that we may review (and remove) those tags when the new stable comes
out next year.
--Sietse
On Thu, Nov 22, 2012 at 7:09 PM, Hans Hagen
On 11/19/2012 11:44 PM, Romain Diss wrote:
Hi all,
I got some problems to express powers of ten in the \unit command. See the strange behaviour with these two minimal examples.
\starttext \unit{10^2 meter}\\ \unit{10^{-12} second} \stoptext
However, there is no problem with this one: \unit{1e-4 kilogram}.
Is this a bug or are these expressions not supported?
not supported .. i've added it to the upcoming beta:
\starttext
\startlines \unit{10^12 meter} \unit{10^{-12} second} \unit{10^{12} second} \unit{10e12 meter} \unit{10e{-12} second} \unit{10e{12} second} \stoplines
\stoptext
needs testing as usual (and wiki adaption as well)
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
___________________________________________________________________________________ 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 ___________________________________________________________________________________