<div dir="ltr"><div>Hello,</div><div>I'm typesetting some simple math problems/solutions using LuaLaTeX, </div><div>and I'm having trouble with the spacing between the numerator and </div><div>division bar in \frac environments.</div><div>I've attached a MWE below, along with an image showing the my </div><div>output of the MWE.</div><div>I apologize in advance if my image links don't follow the proper</div><div>etiquette for this mailing list.</div><div><br></div><div>\documentclass[11pt]{article}</div><div><br></div><div>\usepackage{amsmath,amsthm,amssymb,amsfonts}</div><div>\usepackage{fontspec}</div><div>\setmainfont[Ligatures=TeX]{TeX Gyre Pagella} </div><div>\usepackage{unicode-math} </div><div>\setmathfont{TeX Gyre Pagella Math} </div><div>\begin{document}    </div><div>$$</div><div>\frac{xxxxxxLLLLLL}{xxxxxxTTTTTT} \frac{2(x-1)-(x^{2}-1)}{(x^{2}-1)(x-1)}</div><div>$$</div><div>\end{document} </div><div><br></div><div>Here is a screenshot of the PDF output on my system.</div><div>Note how the spacing between the bottom of the L and the division bar</div><div>is about 2-3x larger than the spacing between the top of the T and </div><div>division bar.</div><div><a href="https://i.imgur.com/RWeuSVA.png">https://i.imgur.com/RWeuSVA.png</a></div><div><br></div><div>The bizarre spacing occurs regardless of font, or the packages </div><div>fontspec, unicode-math, or the AMS packages.</div><div>This seems to indicate that it's a problem with LuaLaTeX itself.</div><div>I've been able to fix the fraction spacing by defining a new \frac </div><div>environment that manually adjusts the spacing of the numerator, </div><div>but that's a "hacky" solution that I don't like using.</div><div>PDFLaTeX shows proper spacing using the same math code, however</div><div>I'd like to stay with LuaLaTeX instead of reverting to PDFLaTeX.</div><div><br></div><div>Is there any way to fix this spacing?</div><div><br></div><div>Below are some details of my set-up:</div><div>Arch Linux x64</div><div>Running TeXLive 2014, installed manually and up-to-date</div><div>LuaLaTeX version is beta-0.79.1 (TeX Live 2014) (rev 4971)</div><div>Compiling through TeXStudio 2.8.8</div><div><br></div></div>