[NTG-context] dejavu: inline math fraction spacing too tight?

Hans Hagen pragma at wxs.nl
Sat Oct 26 00:49:59 CEST 2013


On 10/25/2013 5:57 PM, Khaled Hosny wrote:
> On Fri, Oct 25, 2013 at 07:23:43AM +0900, Hans Hagen wrote:
>> On 10/24/2013 2:46 PM, "H. Özoguz" wrote:
>>>> \setupbodyfont [dejavu,12pt]
>>>> \starttext
>>>> $a/b$
>>>>
>>>> $1/2$
>>>>
>>>> $π/3$
>>>> \stoptext
>>>>
>>>> Is this indeed the desired spacing? What do others think?
>>>>
>>>> Thanks.
>>>
>>> I think you are right, I don't know if this is really desired, but I
>>> don't think so. Escpecially one gets problems with "2" in the denominator.
>>>
>>> \setupbodyfont [dejavu,12pt]
>>> \starttext
>>> $1/2$
>>>
>>> $1\,/\,2$
>>> \stoptext
>>>
>>> The second hand-tuned example is obviously nicer.
>>
>> it looks like a font issue to me .. i could hack a solution but prefer not
>> to do that (the less exceptions we have the better)
>
> Not a font issue. ConTeXt is using the fraction slash (which is intended
> to be used with vulgar fractions) not the regular slash.

the problem is that (last time i looked into this) all math fonts had it 
differently so i (for the moment) setteld on it

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