Problem with \overrightarrow over BC and CB
Dear all, with the latest beta (and older ones), the following file %%% 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
Hi again,
sorry to bump this. Can anyone confirm the problem? Ideas of a solution?
Also, I think the arrows are too high above the characters using the
pagella fonts. Please compare the three files attached.
1) ConTeXt and pagella
2) ConTeXt and latin modern
3) LaTeX and latin modern
I can't say if I like 2) or 3) more when it comes to the vertical placement
of the arrows.
Is there some way I can change the vertical placement of the arrows (in
case it is not a bug but a feature)?
/Mikael
On Fri, Oct 11, 2013 at 9:53 AM, Mikael P. Sundqvist
Dear all,
with the latest beta (and older ones), the following file
%%% 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
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 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : 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 -----------------------------------------------------------------
On Mon, Oct 14, 2013 at 12:05 AM, Hans Hagen
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
participants (2)
-
Hans Hagen
-
Mikael P. Sundqvist