Re: [NTG-context] Missing space between digit and unit with the new unit-command
Am 01.07.2011 um 00:33 schrieb yoraxe: Ok, thanks, for this minimal example it works. But what do I have to type instead of \unit{10^{-3} kilogram cubic meter} (or \unit{10^{-3} kgm²} ) ? This does not work for me. It’s “10e-3”, you can find a list a valid input in the manual [1] for the \digits commands which is now included in \unit. [1] http://www.pragma-ade.com/general/magazines/mag-0003.pdf Wolfgang ___ 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 ___
Re: [NTG-context] Missing space between digit and unit with the new unit-command
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 ___
Re: [NTG-context] Missing space between digit and unit with the new unit-command
Am 01.07.2011 08:15, schrieb Wolfgang Schuster: Am 01.07.2011 um 00:33 schrieb yoraxe: Ok, thanks, for this minimal example it works. But what do I have to type instead of \unit{10^{-3} kilogram cubic meter} (or \unit{10^{-3} kgm²} ) ? This does not work for me. It’s “10e-3”, you can find a list a valid input in the manual [1] for the \digits commands which is now included in \unit. [1] http://www.pragma-ade.com/general/magazines/mag-0003.pdf Thanks a lot. Most programms (also the old digit-module) interpret “35e-3” as “35\cdot 10^{-3}” but the new unit-command only sets the “^{-3}“ after the number without “10·“. That's why I was confused. =D Yoraxe ___ 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 ___
[NTG-context] Missing space between digit and unit with the new unit-command
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. I attach the old (unit1) and new variant (unit2) with tex- and pdf-files. Do I type it in a wrong way or is it possible to fix this? Thanks, Yoraxe unit1.pdf Description: Adobe PDF document \usemodule[units] \starttext $35\Kilo\Gram\Cubic\Meter$ \stoptext unit2.pdf Description: Adobe PDF document \starttext $35\unit{kilo gram cubic meter}$ \blank $35\unit{kgm^3}$ \stoptext ___ 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 ___
Re: [NTG-context] Missing space between digit and unit with the new unit-command
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 Wolfgang ___ 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 ___
Re: [NTG-context] Missing space between digit and unit with the new unit-command
Am 30.06.2011 22:43, schrieb Wolfgang Schuster: 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 Ok, thanks, for this minimal example it works. But what do I have to type instead of \unit{10^{-3} kilogram cubic meter} (or \unit{10^{-3} kgm²} ) ? This does not work for me. ___ 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 ___