View Issue Details

IDProjectCategoryView StatusLast Update
0000982luatexluatex bugpublic2016-08-28 14:55
Reporterjuliangilbey Assigned ToHans Hagen  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
PlatformLinuxOSDebianOS Versiontesting
Product Version0.87.0 
Summary0000982: Integral limits placement is somewhat poor in displayed integrals with unicode-math
Description(This is actually version 0.95.0, but that's not offered in the dropdown menu.)

The integral limits are placed quite a distance from the integral when unicode-math is used. (Using unicode-math version [2015/09/24 v0.8c Unicode maths in XeLaTeX and LuaLaTeX].)
Steps To ReproduceThe following minimal file shows the behaviour:

\documentclass[a4paper]{article}
\usepackage{unicode-math}

\begin{document}
$\int_0^1 x$

$$\int_0^1 x$$
\end{document}

I ran it without the usepackage line and then with it, and joined the two PDF files together to give the attached document. The same behaviour occurs on a Mac OSX system running TeX Live 2016.
Additional InformationI have also reported this as https://github.com/wspr/unicode-math/issues/364 in case it is actually a unicode-math issue.

Thanks!
TagsNo tags attached.

Activities

juliangilbey

2016-08-17 15:46

reporter  

integrals.pdf (36,002 bytes)

Hans Hagen

2016-08-17 17:05

manager   ~0001625

afaiks it works ok (cf spec the superscript gets + ic/2 and the subscript - ic/2)

juliangilbey

2016-08-19 09:14

reporter  

integrals-stix.pdf (5,487 bytes)

juliangilbey

2016-08-19 09:16

reporter   ~0001626

Hi Hans,

That's interesting. If I add the line:
\setmathfont{xits-math}
to the preamble, then the result is as attached (integrals-stix.pdf), and the displayed integral has the 0 very far to the right. Is this, then, a font design issue?

Best wishes, Julian

Hans Hagen

2016-08-19 09:38

manager   ~0001627

Last edited: 2016-08-19 09:40

i checked with latin modern, dejavu, cambria, lucidaot and xits and all are more or less the same but indeed stix (large) integrals are more sloped and then this italic correction does not compensate enough for the subscript (as with latin modern)

indeed there can be font issues: most fonts lack the advanced kerning that opentype provides but in due time that will be fixed

of course i have no clue what latex does internally but that can also play a role here

Issue History

Date Modified Username Field Change
2016-08-17 15:46 juliangilbey New Issue
2016-08-17 15:46 juliangilbey File Added: integrals.pdf
2016-08-17 17:05 Hans Hagen Note Added: 0001625
2016-08-19 09:14 juliangilbey File Added: integrals-stix.pdf
2016-08-19 09:16 juliangilbey Note Added: 0001626
2016-08-19 09:38 Hans Hagen Note Added: 0001627
2016-08-19 09:40 Hans Hagen Note Edited: 0001627
2016-08-28 14:55 Hans Hagen Status new => closed
2016-08-28 14:55 Hans Hagen Assigned To => Hans Hagen
2016-08-28 14:55 Hans Hagen Resolution open => no change required