Integration limits with Cambria Math
Dear All, if I process the following with "ConTeXt ver: 2009.08.14 10:48 MKIV/LuaTeX, Version beta0.42.02009071723" I get too much space between the integral sign and limits of integration. Sum limits are positioned OK. Without "cambria" lines integral is also fine.  \usetypescript[cambria] \setupbodyfont[cambria] \starttext Inline $ \sum_{x=a}^{b}{f(x)g(x)}=\int_{a}^{b}{f(x)g(x)dx} $. \startformula \sum_{x=a}^{b}{f(x)g(x)}=\int_{a}^{b}{f(x)g(x)dx}. \stopformula \stoptext  Is it a bug? Are there fixes/workarounds? Sincerely, Michail
Michail Vidiassov wrote:
Dear All,
if I process the following with "ConTeXt ver: 2009.08.14 10:48 MKIV/LuaTeX, Version beta0.42.02009071723" I get too much space between the integral sign and limits of integration.
Is it a bug? Are there fixes/workarounds?
Do you recall whether this was ok earlier? Best wishes, Taco
Dear Taco, On Sun, 16 Aug 2009, Taco Hoekwater wrote:
I get too much space between the integral sign and limits of integration. Is it a bug? Are there fixes/workarounds?
Do you recall whether this was ok earlier?
I did not use integral with limits before, I am new in ConTeXt land. Sincerely, Michail
On Sun, 16 Aug 2009, Michail Vidiassov wrote:
Dear Taco,
On Sun, 16 Aug 2009, Taco Hoekwater wrote:
I get too much space between the integral sign and limits of integration. Is it a bug? Are there fixes/workarounds?
Do you recall whether this was ok earlier?
I did not use integral with limits before, I am new in ConTeXt land.
I think that the space is also excessive with context version 2009.07.17 and luatex 0.42.02009071807 I am attaching the output of \usetypescript[cambria] \setupbodyfont[cambria] \starttext \startTEXpage $\displaystyle \int_a^b \int\limits_a^b$ \stopTEXpage \stoptext Aditya
Hi, While the space after the inlined subscripts does look excessive, it faithfully matches the font's MATH table: the integrals in cambria math have a massive italic correction even though they fit in their bounding boxes quite nicely. Maybe Word has a workaround for that, but at first glance it looks to me like there is nothing we can do except complain to Microsoft. Best wishes, Taco Aditya Mahajan wrote:
On Sun, 16 Aug 2009, Michail Vidiassov wrote:
Dear Taco,
On Sun, 16 Aug 2009, Taco Hoekwater wrote:
I get too much space between the integral sign and limits of integration. Is it a bug? Are there fixes/workarounds?
Do you recall whether this was ok earlier?
I did not use integral with limits before, I am new in ConTeXt land.
I think that the space is also excessive with context version 2009.07.17 and luatex 0.42.02009071807
I am attaching the output of
\usetypescript[cambria] \setupbodyfont[cambria]
\starttext
\startTEXpage $\displaystyle \int_a^b \int\limits_a^b$ \stopTEXpage
\stoptext
Aditya

___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntgcontext@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntgcontext webpage : http://www.pragmaade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
Dear All, On Mon, 17 Aug 2009, Taco Hoekwater wrote:
While the space after the inlined subscripts does look excessive, it faithfully matches the font's MATH table: the integrals in cambria math have a massive italic correction even though they fit in their bounding boxes quite nicely.
Maybe Word has a workaround for that, but at first glance it looks to me like there is nothing we can do except complain to Microsoft.
"We" as the developers, who do not consider nongeneral solutions, or "we" as endusers, who can use nonkosher tricks and workarounds (negative kerns and the like) to suit their limited private needs? BTW, is there an ear in Microsoft open to such complaints? Sincerely, Michail
I get too much space between the integral sign and limits of integration. Is it a bug? Are there fixes/workarounds? I think that the space is also excessive with context version 2009.07.17 and luatex 0.42.02009071807
I am attaching the output of
\usetypescript[cambria] \setupbodyfont[cambria]
\starttext
\startTEXpage $\displaystyle \int_a^b \int\limits_a^b$ \stopTEXpage
\stoptext
Michail Vidiassov wrote:
"We" as the developers, who do not consider nongeneral solutions, or "we" as endusers, who can use nonkosher tricks and workarounds (negative kerns and the like) to suit their limited private needs?
in principle we can patch a font runtime in mkiv as there is a mechanism for that but before we do so, we need to collect bugs and kep track of fixed as well
BTW, is there an ear in Microsoft open to such complaints?
that's why Ulrik is in the cc, as he investigated otf math and cambria indepth and is best qualified to tell us what to do cq. act as liason with microsoft (a few years ago we had a nice eveningcabinesession at bachotek where we looked at how ms word does math, which is quite impressive btw) Hans  Hans Hagen  PRAGMA ADE Ridderstraat 27  8061 GH Hasselt  The Netherlands tel: 038 477 53 69  fax: 038 477 53 74  www.pragmaade.com  www.pragmapod.nl 
Hi, Taco Hoekwater wrote:
Hi,
While the space after the inlined subscripts does look excessive, it faithfully matches the font's MATH table: the integrals in cambria math have a massive italic correction even though they fit in their bounding boxes quite nicely.
Ok, Ulrik sent me a Word screenshot, and it turns out that we are (apparently) supposed to ignore the italic correction when a symbol is used in 'mathematical contexts' as it is here (as opposed to 'textual contexts', both of which terms are yettobedefined). Finding a proper solution to this problem will not be easy. TeX82 solves the spacing problems by having math fonts (recognisable by the lack of a spacewidth font dimension) as well as text fonts (that do have a spacewidth dimension), but that split does not exist in OpenType Math (as there is only one font). Best wishes, Taco
participants (4)

Aditya Mahajan

Hans Hagen

Michail Vidiassov

Taco Hoekwater