* Problem with \overrightarrow over BC and CB
@ 2013-10-11 7:53 Mikael P. Sundqvist
2013-10-13 12:59 ` Mikael P. Sundqvist
2013-10-13 22:05 ` Hans Hagen
0 siblings, 2 replies; 4+ messages in thread
From: Mikael P. Sundqvist @ 2013-10-11 7:53 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 886 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 1116 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem with \overrightarrow over BC and CB
2013-10-11 7:53 Problem with \overrightarrow over BC and CB Mikael P. Sundqvist
@ 2013-10-13 12:59 ` Mikael P. Sundqvist
2013-10-13 22:05 ` Hans Hagen
1 sibling, 0 replies; 4+ messages in thread
From: Mikael P. Sundqvist @ 2013-10-13 12:59 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1538 bytes --]
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 <mickep@gmail.com>wrote:
> 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
>
[-- Attachment #1.2: Type: text/html, Size: 2165 bytes --]
[-- Attachment #2: test1.pdf --]
[-- Type: application/pdf, Size: 14388 bytes --]
[-- Attachment #3: test2.pdf --]
[-- Type: application/pdf, Size: 6806 bytes --]
[-- Attachment #4: test3.pdf --]
[-- Type: application/pdf, Size: 24131 bytes --]
[-- Attachment #5: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem with \overrightarrow over BC and CB
2013-10-11 7:53 Problem with \overrightarrow over BC and CB Mikael P. Sundqvist
2013-10-13 12:59 ` Mikael P. Sundqvist
@ 2013-10-13 22:05 ` Hans Hagen
2013-10-14 7:12 ` Mikael P. Sundqvist
1 sibling, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2013-10-13 22:05 UTC (permalink / raw)
To: ntg-context
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem with \overrightarrow over BC and CB
2013-10-13 22:05 ` Hans Hagen
@ 2013-10-14 7:12 ` Mikael P. Sundqvist
0 siblings, 0 replies; 4+ messages in thread
From: Mikael P. Sundqvist @ 2013-10-14 7:12 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 3269 bytes --]
On Mon, Oct 14, 2013 at 12:05 AM, Hans Hagen <pragma@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
[-- Attachment #1.2: Type: text/html, Size: 4998 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-10-14 7:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-11 7:53 Problem with \overrightarrow over BC and CB Mikael P. Sundqvist
2013-10-13 12:59 ` Mikael P. Sundqvist
2013-10-13 22:05 ` Hans Hagen
2013-10-14 7:12 ` Mikael P. Sundqvist
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).