On 5/21/2013 11:44 AM, Romain Diss wrote:
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/)
there are several ways we can deal with this: % \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 -----------------------------------------------------------------