workaround for another too-low symbol in Pagella?

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

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

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
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
participants (2)
-
Otared Kavian
-
Sanjoy Mahajan