* Wrong spacing with inline math in latest mkiv
@ 2011-05-12 6:06 Otared Kavian
2011-05-12 13:26 ` Aditya Mahajan
0 siblings, 1 reply; 3+ messages in thread
From: Otared Kavian @ 2011-05-12 6:06 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
\starttext
By the way, $\int_{0}^{2\pi} \sin(x)dx = 0$, while $\sum_{n=1}^\infty n^{-1} = +\infty$ and
\startformula
\int_{0}^{2\pi} \sin^2(x)dx = \pi,\qquad \sum_{n=1}^\infty {1\over n^2 } = {\pi^2\over 6}.
\stopformula
\stoptext
%% end bug-inline-math.tex
___________________________________________________________________________________
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: Wrong spacing with inline math in latest mkiv
2011-05-12 6:06 Wrong spacing with inline math in latest mkiv Otared Kavian
@ 2011-05-12 13:26 ` Aditya Mahajan
2011-05-12 13:29 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Aditya Mahajan @ 2011-05-12 13:26 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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: Wrong spacing with inline math in latest mkiv
2011-05-12 13:26 ` Aditya Mahajan
@ 2011-05-12 13:29 ` Hans Hagen
0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2011-05-12 13:29 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 12-5-2011 3:26, Aditya Mahajan wrote:
> Since the wrong spacing is with the virtual fonts, this could be related
> to the recent change in the italic correction.
indeed, but Taco needs to explain why this affects inline math
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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:[~2011-05-12 13:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-12 6:06 Wrong spacing with inline math in latest mkiv Otared Kavian
2011-05-12 13:26 ` Aditya Mahajan
2011-05-12 13:29 ` Hans Hagen
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).