Scaling of math glyphs
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
Hi, In my opinion, the size of the \sum in Cambria in display style is too large. I know that this is a design decision on part of Cambria designers, but I am wondering if I can scale the glyph down. I made a local copy of cambria-math.lfg and changed FixDisplayOperatorMinHeight to local function FixDisplayOperatorMinHeight(value,target,original) table.print(target) local o = original.mathparameters.DisplayOperatorMinHeight if o < 2240 then return 2240.0 * target.parameters.factor else return 0.8 * value -- already scaled end end This works, but as expected, it scales down both \sum and \int. Is it possible to just change the height of \sum? Thanks, Aditya
![](https://secure.gravatar.com/avatar/7325514c8a7b377b86d86ad29d35e8ef.jpg?s=120&d=mm&r=g)
On Sat, Jan 28, 2012 at 01:16:18PM -0500, Aditya Mahajan wrote:
Hi,
In my opinion, the size of the \sum in Cambria in display style is too large. I know that this is a design decision on part of Cambria designers, but I am wondering if I can scale the glyph down.
I made a local copy of cambria-math.lfg and changed FixDisplayOperatorMinHeight to
local function FixDisplayOperatorMinHeight(value,target,original) table.print(target) local o = original.mathparameters.DisplayOperatorMinHeight if o < 2240 then return 2240.0 * target.parameters.factor else return 0.8 * value -- already scaled end end
This works, but as expected, it scales down both \sum and \int. Is it possible to just change the height of \sum?
AFAIK, no, this parameter affects all display big operators, however you can control it from TeX end using ‘\Umathoperatorsize’ primitive, so may be you can use some TeX grouping hackary to limit its effect. Regards, Khaled
participants (2)
-
Aditya Mahajan
-
Khaled Hosny