* \vec{} arrow length?
@ 2017-12-27 18:01 Alan Braslau
2017-12-27 21:44 ` Hans Hagen
0 siblings, 1 reply; 4+ messages in thread
From: Alan Braslau @ 2017-12-27 18:01 UTC (permalink / raw)
To: mailing list for ConTeXt users
Why is the \vec{} arrow too short in some cases?
Compare $\vec{X}$ to $\vec{Y}$.
The MWE below looks wrong in the default font
and is even uglier when pagella is used.
Alan
%\setupbodyfont [pagella]
\starttext
$\vec{X}$ vs. $\vec{Y}$
\stoptext
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: \vec{} arrow length?
2017-12-27 18:01 \vec{} arrow length? Alan Braslau
@ 2017-12-27 21:44 ` Hans Hagen
2017-12-27 22:44 ` Alan Braslau
0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2017-12-27 21:44 UTC (permalink / raw)
To: mailing list for ConTeXt users, Alan Braslau
On 12/27/2017 7:01 PM, Alan Braslau wrote:
> Why is the \vec{} arrow too short in some cases?
> Compare $\vec{X}$ to $\vec{Y}$.
>
> The MWE below looks wrong in the default font
> and is even uglier when pagella is used.
>
> Alan
>
>
> %\setupbodyfont [pagella]
>
> \starttext
> $\vec{X}$ vs. $\vec{Y}$
> \stoptext
As this is has been the logic in tex font design for more than 3
decades, there's not much that we can do about it apart from patching
the font (doable but somewhat nasty and boring as we then need to patch
specific elements of (each) hvariant and it falls in the category "hard
to motivate myself for").
\showglyphs
\starttext
\start
\dorecurse{50}{$\vec{\blackrule[width=#1pt]}$\space}\unskip\par
\stop
\blank
\start
\switchtobodyfont [pagella]
\dorecurse{50}{$\vec{\blackrule[width=#1pt]}$\space}\unskip\par
\stop
\blank
\start
\switchtobodyfont [cambria]
\dorecurse{50}{$\vec{\blackrule[width=#1pt]}$\space}\unskip\par
\stop
\stoptext
Shows that it's a font design issue: the extensible has a threshold
related to the middle part and it should (1) have at least one more
fixed size, or (2) have one fixed size and for the rest be extensible
but that would be somewhat inefficient ion most cases, so (3) here we
have a trade-off.
Just blame the font ... cambria is (of course) ok.
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: \vec{} arrow length?
2017-12-27 21:44 ` Hans Hagen
@ 2017-12-27 22:44 ` Alan Braslau
2017-12-28 0:16 ` Henri
0 siblings, 1 reply; 4+ messages in thread
From: Alan Braslau @ 2017-12-27 22:44 UTC (permalink / raw)
To: Hans Hagen; +Cc: mailing list for ConTeXt users
On Wed, 27 Dec 2017 22:44:50 +0100
Hans Hagen <pragma@wxs.nl> wrote:
> On 12/27/2017 7:01 PM, Alan Braslau wrote:
> > Why is the \vec{} arrow too short in some cases?
> > Compare $\vec{X}$ to $\vec{Y}$.
> >
> > The MWE below looks wrong in the default font
> > and is even uglier when pagella is used.
> >
> > Alan
> >
> >
> > %\setupbodyfont [pagella]
> >
> > \starttext
> > $\vec{X}$ vs. $\vec{Y}$
> > \stoptext
> As this is has been the logic in tex font design for more than 3
> decades, there's not much that we can do about it apart from patching
> the font (doable but somewhat nasty and boring as we then need to
> patch specific elements of (each) hvariant and it falls in the
> category "hard to motivate myself for").
>
> \showglyphs
>
> \starttext
> \start
> \dorecurse{50}{$\vec{\blackrule[width=#1pt]}$\space}\unskip\par
> \stop
> \blank
> \start
> \switchtobodyfont [pagella]
> \dorecurse{50}{$\vec{\blackrule[width=#1pt]}$\space}\unskip\par
> \stop
> \blank
> \start
> \switchtobodyfont [cambria]
> \dorecurse{50}{$\vec{\blackrule[width=#1pt]}$\space}\unskip\par
> \stop
> \stoptext
>
> Shows that it's a font design issue: the extensible has a threshold
> related to the middle part and it should (1) have at least one more
> fixed size, or (2) have one fixed size and for the rest be extensible
> but that would be somewhat inefficient ion most cases, so (3) here we
> have a trade-off.
>
> Just blame the font ... cambria is (of course) ok.
>
> Hans
Even Computer Modern!
Do you mean to tell me that the TeX Gyre fonts are all "broken"?
And that the *only* correctly working font is ... Cambria?
So following up on the font discussion at the last ConTeXt meeting,
must we conclude that *all* of the fonts that we distribute with the
Standalone are to be avoided, and that one must pilfer the MicroSoft
font in order to typeset mathematics correctly?
Alan
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: \vec{} arrow length?
2017-12-27 22:44 ` Alan Braslau
@ 2017-12-28 0:16 ` Henri
0 siblings, 0 replies; 4+ messages in thread
From: Henri @ 2017-12-28 0:16 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1: Type: text/plain, Size: 2896 bytes --]
On Wed, 2017-12-27 at 15:44 -0700, Alan Braslau wrote:
> On Wed, 27 Dec 2017 22:44:50 +0100
> Hans Hagen <pragma@wxs.nl> wrote:
>
> >
> > On 12/27/2017 7:01 PM, Alan Braslau wrote:
> > >
> > > Why is the \vec{} arrow too short in some cases?
> > > Compare $\vec{X}$ to $\vec{Y}$.
> > >
> > > The MWE below looks wrong in the default font
> > > and is even uglier when pagella is used.
> > >
> > > Alan
> > >
> > >
> > > %\setupbodyfont [pagella]
> > >
> > > \starttext
> > > $\vec{X}$ vs. $\vec{Y}$
> > > \stoptext
> > As this is has been the logic in tex font design for more than 3
> > decades, there's not much that we can do about it apart from patching
> > the font (doable but somewhat nasty and boring as we then need to
> > patch specific elements of (each) hvariant and it falls in the
> > category "hard to motivate myself for").
> >
> > \showglyphs
> >
> > \starttext
> > \start
> > \dorecurse{50}{$\vec{\blackrule[width=#1pt]}$\space}\unskip\par
> > \stop
> > \blank
> > \start
> > \switchtobodyfont [pagella]
> > \dorecurse{50}{$\vec{\blackrule[width=#1pt]}$\space}\unskip\par
> > \stop
> > \blank
> > \start
> > \switchtobodyfont [cambria]
> > \dorecurse{50}{$\vec{\blackrule[width=#1pt]}$\space}\unskip\par
> > \stop
> > \stoptext
> >
> > Shows that it's a font design issue: the extensible has a threshold
> > related to the middle part and it should (1) have at least one more
> > fixed size, or (2) have one fixed size and for the rest be extensible
> > but that would be somewhat inefficient ion most cases, so (3) here we
> > have a trade-off.
> >
> > Just blame the font ... cambria is (of course) ok.
> >
> > Hans
> Even Computer Modern!
>
> Do you mean to tell me that the TeX Gyre fonts are all "broken"?
> And that the *only* correctly working font is ... Cambria?
>
> So following up on the font discussion at the last ConTeXt meeting,
> must we conclude that *all* of the fonts that we distribute with the
> Standalone are to be avoided, and that one must pilfer the MicroSoft
> font in order to typeset mathematics correctly?
Lucida OpenType looks okay (if you have it).
\setupbodyfont[lucidaot]
\starttext
$\vec{X}$ vs. $\vec{Y}$
\stoptext
>
> Alan
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
[-- Attachment #2: test.pdf --]
[-- Type: application/pdf, Size: 6146 bytes --]
[-- Attachment #3: Type: text/plain, Size: 492 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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-12-28 0:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-27 18:01 \vec{} arrow length? Alan Braslau
2017-12-27 21:44 ` Hans Hagen
2017-12-27 22:44 ` Alan Braslau
2017-12-28 0:16 ` Henri
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).