ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* workaround for another too-low symbol in Pagella?
@ 2014-05-09 21:06 Sanjoy Mahajan
  2014-05-10  2:57 ` Otared Kavian
  0 siblings, 1 reply; 3+ messages in thread
From: Sanjoy Mahajan @ 2014-05-09 21:06 UTC (permalink / raw)
  To: ntg-context

Here's another math symbol that I think is too low: the vertical bar in
Palatino/Pagella.  Here's an almost-minimal example.  I've left in the
surrounding text, to show how it's used (in probability, as P(H|E)).

I think the bottom of the bar is correct, but the tip of the bar doesn't
reach to the top of the H or E.

\setupbodyfont[palatino]
\starttext
\placeformula\startformula
\text{P}(
H\,|\, E
)
\stopformula
\stoptext

Again, I don't think it's a ConTeXt problem, but rather a Pagella
problem.  But is there a recommended ConTeXt workaround?  Maybe a
metafun symbol?

-Sanjoy

___________________________________________________________________________________
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] 3+ messages in thread

* Re: workaround for another too-low symbol in Pagella?
  2014-05-09 21:06 workaround for another too-low symbol in Pagella? Sanjoy Mahajan
@ 2014-05-10  2:57 ` Otared Kavian
  2014-05-10 10:07   ` Sanjoy Mahajan
  0 siblings, 1 reply; 3+ messages in thread
From: Otared Kavian @ 2014-05-10  2:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Sanjoy,

I think that this a font related problem since in Plain TeX and mkii the following
	$${\rm P}(H\, | \, E)$$
gives the same result as in mkiv when using the default LM fonts, and the top (resp. the bottom) of the bar | is aligned with the top (resp. the bottom) of the parentheses, while in Palatino (Pagella) this does not seem to be the case.

Best regards: OK

On 9 mai 2014, at 23:06, Sanjoy Mahajan <sanjoy@mit.edu> wrote:

> Here's another math symbol that I think is too low: the vertical bar in
> Palatino/Pagella.  Here's an almost-minimal example.  I've left in the
> surrounding text, to show how it's used (in probability, as P(H|E)).
> 
> I think the bottom of the bar is correct, but the tip of the bar doesn't
> reach to the top of the H or E.
> 
> \setupbodyfont[palatino]
> \starttext
> \placeformula\startformula
> \text{P}(
> H\,|\, E
> )
> \stopformula
> \stoptext
> 
> Again, I don't think it's a ConTeXt problem, but rather a Pagella
> problem.  But is there a recommended ConTeXt workaround?  Maybe a
> metafun symbol?
> 
> -Sanjoy
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

___________________________________________________________________________________
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] 3+ messages in thread

* Re: workaround for another too-low symbol in Pagella?
  2014-05-10  2:57 ` Otared Kavian
@ 2014-05-10 10:07   ` Sanjoy Mahajan
  0 siblings, 0 replies; 3+ messages in thread
From: Sanjoy Mahajan @ 2014-05-10 10:07 UTC (permalink / raw)
  To: Otared Kavian, mailing list for ConTeXt users

Otared,

I agree (and that it's not ConTeXt's fault).  Palatino ("Palladio")
works fine (using LaTeX with \usepackage{mathpazo}).  Only Pagella does
not.

I will try Mikael Sundqvist's fallback trick or method ("a trick I use
twice," said Polya), borrowing from LM.

-Sanjoy


 Otared Kavian <otared@gmail.com> writes:

> Hi Sanjoy,
>
> I think that this a font related problem since in Plain TeX and mkii the following
> 	$${\rm P}(H\, | \, E)$$
> gives the same result as in mkiv when using the default LM fonts, and the top (resp. the bottom) of the bar | is aligned with the top (resp. the bottom) of the parentheses, while in Palatino (Pagella) this does not seem to be the case.
>
> Best regards: OK
___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2014-05-10 10:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-09 21:06 workaround for another too-low symbol in Pagella? Sanjoy Mahajan
2014-05-10  2:57 ` Otared Kavian
2014-05-10 10:07   ` Sanjoy Mahajan

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).