On 5/21/2013 11:44 AM, Romain Diss wrote:there are several ways we can deal with this:
Le lundi 20 mai 2013, Christian Prim a écrit :
is it possible to change the behaviour of \digits to have \cdot as inSeems to be hardcoded in phys-dim.mkiv for the moment:
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?
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/)
% \def\digitstimessymbol{\symbol[units][times]}
% \definesymbol[units][times][\times]
% \definesymbol[units][times][\cdots]
% \definesymbol[units][times][\kern.2\emwidth\cdot\kern.2\emwidth]
\def\digitstimessymbol{\times}
\def\digitstimessymbol{\cdot}
\def\digitstimessymbol{\kern.2\emwidth\cdot\kern.2\emwidth}
\unprotect
\unexpanded\def\digitspower #1{\digitstimessymbol10\phys_digits_raised{#1}}
\unexpanded\def\digitspowerplus #1{\digitstimessymbol10\phys_digits_raised{\digitsplus#1}}
\unexpanded\def\digitspowerminus #1{\digitstimessymbol10\phys_digits_raised{\digitsminus#1}}
\protect
or maybe a key/value in setuptimes .. not sure yet
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
___________________________________________________________________________________