<div dir="ltr"><div>[I'm having trouble replying directly to Ulrik, so I apologize for posting</div><div>this reply directly to the mailing list, or wherever it ends up.]</div><div><br></div><div>Thank you for the detailed post Ulrik.</div><div><br></div><div>Admittedly, the specifics of TeX and LuaLaTeX font metrics/configurations</div><div>are outside my knowledge. However, I did appreciate the TUGboat</div><div>article and the paper you linked. There was quite a bit of </div><div>interesting information within, even though I didn't understand it all :).</div><div><br></div><div>I've tested out almost every combination of font/package/TeX Engine.</div><div>Below is the link to an image I made from the PDF outputs</div><div>of each combination. I'll also post a MWE of the math parts </div><div>below for reproducibility.</div><div><br></div><div>Here is the image link:</div><div><a href="https://i.imgur.com/cqWQ0uk.png">https://i.imgur.com/cqWQ0uk.png</a></div><div><br></div><div>The image shows that contrary to what I said in my first post, </div><div>this spacing occurs in PDFLaTeX as well as LuaLaTeX. It really seems</div><div>quite bizarre since I never recall seeing this "issue" back when I </div><div>used PDFLaTeX.</div><div><br></div><div>However, it seems that TeX is rendering each numerator as if it has</div><div>a descender. This gives the irregular spacing effect, and is visible </div><div>in the simple numerical fractions like 1/2, or the fractions where </div><div>there are no descenders, such as x/x, or \alpha over \alpha.</div><div><br></div><div>On numerators with descenders, the increased spacing is correct and</div><div>looks fine, however when extended to "normal" numerators, it looks</div><div>poorly spaced. I haven't got a clue as to why this behaviour happens </div><div>for _all_ numerators.</div><div><br></div><div>I've also noted that LuaLaTeX is making the correct adjustments for</div><div>superscripted denominators (ex. a denominator of \delta^{2}), but</div><div>this _only_ occurs on the LuaLaTeX engine with OTF TeX Gyre Pagella </div><div>fonts (it does not happen on LuaLaTeX Computer Modern defaults,</div><div>or in PDFLaTeX).</div><div>This can be seen in the top right section of the linked image,</div><div>on the third and fourth fractions from the right.</div><div><br></div><div>If anyone has some sort of simple remedy to this, please let me know!</div><div>For now, I suppose that I will have to introduce a patched \frac </div><div>environment, or I'll just have to deal with the spacing, as ugly</div><div>as it is.</div><div>I hope that my comparison has at least helped someone.</div><div><br></div><div>MWE for LuaLaTeX + fontspec + unicode-math + TeX Gyre Pagella</div><div><br></div><div>%%%%%%%%%%%%%%%%%%</div><div>\documentclass[11pt]{article}</div><div><br></div><div>\usepackage{amsmath,amsthm,amssymb,amsfonts}</div><div>\usepackage{fontspec}<span class="" style="white-space:pre">                                                    </span>% remove if testing PDFLaTeX</div><div>\setmainfont[Ligatures=TeX]{TeX Gyre Pagella}<span class="" style="white-space:pre">  </span>% remove if testing PDFLaTeX</div><div>\usepackage{unicode-math}<span class="" style="white-space:pre">                                              </span>% remove if testing PDFLaTeX</div><div>\setmathfont{TeX Gyre Pagella Math}<span class="" style="white-space:pre">                            </span>% remove if testing PDFLaTeX, or testing plain LuaLaTeX</div><div>%\usepackage{mathpazo}<span class="" style="white-space:pre">                                                      </span>% add only if using PDFLaTeX, testing Palatino variants</div><div>\begin{document}</div><div><span class="" style="white-space:pre">     </span>Lua\LaTeX + fontspec, TeX Gyre Pagella, unicode-math.</div><div><span class="" style="white-space:pre">      </span>$$</div><div><span class="" style="white-space:pre"> </span>\frac{xL}{xT} \;</div><div><span class="" style="white-space:pre">   </span>\frac{1}{2} \;</div><div><span class="" style="white-space:pre">     </span>\frac{3}{4} \;</div><div><span class="" style="white-space:pre">     </span>\frac{x}{x} \;</div><div><span class="" style="white-space:pre">     </span>\frac{\alpha}{\beta} \;</div><div><span class="" style="white-space:pre">    </span>\frac{\beta}{\beta} \;</div><div><span class="" style="white-space:pre">     </span>\frac{\beta}{\alpha} \;</div><div><span class="" style="white-space:pre">    </span>\frac{\alpha}{\alpha} \;</div><div><span class="" style="white-space:pre">   </span>\frac{\gamma}{\delta} \;</div><div><span class="" style="white-space:pre">   </span>\frac{\gamma_{1}}{\delta^{2}} \;</div><div><span class="" style="white-space:pre">   </span>\frac{\delta}{\gamma} \;</div><div><span class="" style="white-space:pre">   </span>\frac{\delta_{1}}{\gamma^{2}} </div><div><span class="" style="white-space:pre">    </span>$$</div><div>\end{document}</div><div>%%%%%%%%%%%%%%%%%%</div></div>