On Mon, Oct 14, 2013 at 12:05 AM, Hans Hagen <pra...@wxs.nl> wrote:

> On 10/11/2013 9:53 AM, Mikael P. Sundqvist wrote:
>
>> Dear all,
>>
>> with the latest beta (and older ones), the following file
>>
>
> you can control this with
>
> \setupmathstackers
>   [both]
>   [hoffset=.5pt]
>
> granularity might improve over time (as arrows are proper extensibles now)
>
> (I have no time now to look into more automated threshold adaption)
>
>
>  %%% start test file
>> \definefontfamily [mainface] [serif] [DejaVu Serif]
>> \definefontfamily [mainface] [sans]  [DejaVu Sans]
>> \definefontfamily [mainface] [mono]  [DejaVu Sans Mono] [feature=none]
>> \definefontfamily [mainface] [math]  [TeX Gyre Pagella Math][scale=1..12]
>>
>>
>> \setupbodyfont[mainface]
>>
>> \starttext
>> $
>> \overrightarrow{AB}
>> \overrightarrow{BA}
>> \overrightarrow{AC}
>> \overrightarrow{CA}
>> \overrightarrow{AD}
>> \overrightarrow{DA}
>> \overrightarrow{BC}
>> \overrightarrow{CB}
>> \overrightarrow{BD}
>> \overrightarrow{DB}
>> \overrightarrow{CD}
>> \overrightarrow{DC}
>> $
>> \stoptext
>> %%% end test file
>>
>> gives a shorter arrow than expected above BC and CB (but over the other
>> ones it is OK).
>>
>> Is this a bug in the Pagella math font (it looks OK if one comments out
>> the \setupbodyfont[mainface] above)?
>>
>> Can it be fixed?
>>
>> Best regards, Mikael
>>
>>
>> ______________________________**______________________________**
>> _______________________
>> 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 <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/<http://foundry.supelec.fr/projects/contextrev/>
>> wiki     : http://contextgarden.net
>> ______________________________**______________________________**
>> _______________________
>>
>>
>
> --
>
> ------------------------------**------------------------------**-----
>                                           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 <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/<http://foundry.supelec.fr/projects/contextrev/>
> wiki     : http://contextgarden.net
> ______________________________**______________________________**
> _______________________
>

Thank you Hans, now it looks much better.

I ended up with

\setupmathstackers[both][
 hoffset=.5pt,
 voffset=0pt,
]

which also reduced the vertical space. I have not seen any bad consequences
of this yet.

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