[NTG-context] Units fonts and spacing

Hans Hagen pragma at wxs.nl
Fri Sep 10 17:01:41 CEST 2010


On 10-9-2010 4:58, Wolfgang Schuster wrote:
>
> Am 10.09.2010 um 10:03 schrieb Vedran Miletić:
>
>> 2010/9/9 Wolfgang Schuster<schuster.wolfgang at googlemail.com>:
>>> \textdimensionstrue
>>
>> Awesome. Are there any other useful switches?
>
> Beside \textdimension(true|false) there is \spaceddimensions(true|false)
> to add a small space between dimension.
>
> The units module has unlike many other commands and environments in context
> not many parameters to change the layout and it will make more sense
> to write another module for units which has these options than modifying
> the existing one.
>
> With MkIV we have a powerful tool to do this because Lua make it so easy
> to parse and format numbers and units, see here: http://bitbucket.org/wolfs/units/src/tip/files/

I actually have a mkiv variant somewhere and will pick up that thread soon.

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


More information about the ntg-context mailing list