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: \digits get \times instead of \cdot before exponent
Date: Tue, 21 May 2013 11:44:26 +0200	[thread overview]
Message-ID: <201305211144.28458.romain.diss@yahoo.fr> (raw)
In-Reply-To: <CA+9XOxpyZj-C+7R41W+S8yzs7rW_mbHmRxxKbpG9JqjkV+KT_g@mail.gmail.com>

Le lundi 20 mai 2013, Christian Prim a écrit :
> is it possible to change the behaviour of \digits to have \cdot as in
> http://www.pragma-ade.com/general/magazines/mag-0003.pdf page 2 (table at
> the bottom) instead of \times as shown in the latest units-mkiv-document
> http://www.pragma-ade.com/general/manuals/units-mkiv.pdf pages 6&7?
Seems to be hardcoded in phys-dim.mkiv for the moment:
l. 173-175

\unexpanded\def\digitspower       #1{\times10\phys_digits_raised{#1}}
\unexpanded\def\digitspowerplus   
#1{\times10\phys_digits_raised{\digitsplus#1}}
\unexpanded\def\digitspowerminus  
#1{\times10\phys_digits_raised{\digitsminus#1}}
ntextgarden.net/)



-- 
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:[~2013-05-21  9:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-20  7:32 Christian Prim
2013-05-21  9:44 ` Romain Diss [this message]
2013-05-21 14:37   ` Hans Hagen
2013-05-21 15:15     ` Christian Prim
2013-05-21 15:34       ` Hans Hagen
2013-05-21 15:40         ` Christian Prim
2013-05-21 19:17     ` Sietse Brouwer
2013-05-21 21:35       ` Romain Diss
2013-05-22  8:29         ` Hans Hagen
2013-05-22 12:31           ` Romain Diss

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=201305211144.28458.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).