ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Romain Diss <romain.diss@yahoo.fr>
To: ntg-context@ntg.nl
Subject: Re: \unit problem with powers of ten.
Date: Sat, 24 Nov 2012 11:15:58 +0100	[thread overview]
Message-ID: <201211241115.58333.romain.diss@yahoo.fr> (raw)
In-Reply-To: <50B09A6B.6070707@wxs.nl>

Le samedi 24 novembre 2012, Hans Hagen a écrit :
> On 11/24/2012 1:48 AM, Sietse Brouwer wrote:
> >>> The '^' and 'e' all print a '10 ×' at the begining. It's what is
> >>> expected for
> >>> 'e' but not for '^'. Did I miss something?
> >> 
> >> well, until now ^ and e were equivalent so if that has to change (say ^
> >> no 10) then there need to be agreement about this as it's an
> >> incompatible change
> > 
> > I, for one, would expect 2^3 to mean '2 cubed', not 2x10^3. So I'd be
> > in favour of this change. Then again, I have no code that depends on
> > the old meaning...
> 
> interesting so then we need a list of more ^2 ^3 ^4 ^5 ... and what
> about ^1.2
I don't know everyone's use of \units but for physicists I think that the only 
case where it should be usefull is for 10^something (like \unit{10^-12 second} 
;). Maybe the informaticians need 2^something… The other cases are probably 
marginals.

> then, what will be the escape for the texlike 2^3? maybe $2^3$, so $
> will leave scanning mode
That's already working and this should be the way when one need something 
unusual. Maybe a support for \m{} should be usefull for those who do not use 
$...$ anymore. For the moment nested curly brackets aren't supported inside a 
\m{} which himself is inside a \unit{}.

All the best.


-- 
Romain Diss
<romain.diss@yahoo.fr>
___________________________________________________________________________________
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	other threads:[~2012-11-24 10:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-19 22:44 Romain Diss
2012-11-20 13:43 ` Romain Diss
2012-11-22 14:45   ` Romain Diss
2012-11-22 14:51     ` luigi scarso
2012-11-22 18:09 ` Hans Hagen
2012-11-23 13:44   ` Sietse Brouwer
2012-11-23 19:25   ` Romain Diss
2012-11-23 22:51     ` Hans Hagen
2012-11-24  0:48       ` Sietse Brouwer
2012-11-24  7:39         ` Romain Diss
2012-11-24  9:59         ` Hans Hagen
2012-11-24 10:15           ` Romain Diss [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201211241115.58333.romain.diss@yahoo.fr \
    --to=romain.diss@yahoo.fr \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).