On 30-6-2011 10:43, Wolfgang Schuster wrote:

Am 30.06.2011 um 14:52 schrieb yoraxe:

Hey,

I was happy to have a new (and easier) unit-command, but now I miss the
space that was between the digits and the unit in the unit-module.

Put the number in the argument of the command.

\starttext
\unit{35 kilogram cubic meter}
\stoptext

@Hans: Can you add a option to replace \cdot with \thinspace, e.g. 
unitseparator=small|medium|...|cdot

ok, we will have (normal=>cdot):

\starttext

    \unit{35 kilogram cubic meter}

    \setupunits[unit][separator=small]

    \unit{35 kilogram cubic meter}

    \setupunits[unit][separator=none]

    \unit{35 kilogram cubic meter}

\stoptext

(plus a low level installer)


-----------------------------------------------------------------
                                          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
___________________________________________________________________________________

Reply via email to