[dev-context] Units

Hans Hagen pragma at wxs.nl
Sat Jun 25 12:11:21 CEST 2011


On 25-6-2011 11:44, Wolfgang Schuster wrote:
>
> Am 24.06.2011 um 22:57 schrieb Hans Hagen:
>
>> On 24-6-2011 9:47, Aditya Mahajan wrote:
>>> Math letters do not work with the new units module.
>>>
>>> \unit{micro ohm}
>>>
>>> gives nothing.
>>
>> i'll add alternative=mathematics
>
> Or use µ and Ω as symbols, this way it works in text and math mode
> while you force one to use math for these two symbols.

Ok. Let's try this then (in phys-dim.lua):

long_prefixes.Micro = [[\textmu]]
long_units   .Ohm   = [[\textohm]]



-----------------------------------------------------------------
                                           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 dev-context mailing list