On Thu, 12 May 2011, Otared Kavian wrote:
Hi Hans and Taco,
It seems that with the latest mkiv (version 2011.05.11 10:18, and LuaTeX version beta-0.70.0-2011050613 (rev 4250) ), there is a slight error for the spacing of the bounds in the integrals when using inline maths, at least for some fonts. For your information the example is below, and the resulting PDFs are available here:
http://dl.dropbox.com/u/4316076/inline-math-spacing-libertine.pdf http://dl.dropbox.com/u/4316076/inline-math-spacing-LM.pdf http://dl.dropbox.com/u/4316076/inline-math-spacing-palatino.pdf http://dl.dropbox.com/u/4316076/inline-math-spacing-termes.pdf http://dl.dropbox.com/u/4316076/inline-math-spacing-xits.pdf
Best regards: OK %% begin bug-inline-math.tex %\setupbodyfont[xits] % gives the correct spacing \setupbodyfont[palatino] % gives the wrong spacing %\setupbodyfont[libertine,12pt] % gives a slightly wrong spacing %\setupbodyfont[termes] % gives the wrong spacing
% Latin Modern gives also a slightly wrong spacing too
Since the wrong spacing is with the virtual fonts, this could be related to the recent change in the italic correction. Aditya