stipub / stixfonts

OpenType Unicode fonts for Scientific, Technical, and Mathematical texts
SIL Open Font License 1.1
714 stars 41 forks source link

badly aligned sqrt power #264

Open mennucc opened 6 months ago

mennucc commented 6 months ago

hi; when compiling a LaTeX like this,

\documentclass{article}
\usepackage{fontspec}
\usepackage{unicode-math}
\setmathfont{STIX Two Math}
\begin{document}
\[ \sqrt[p]{2} , \sqrt[q]{2} ,  \sqrt[a]{2} ,  \sqrt[\alpha]{2} \]
\end{document}

the result is image

and this is bad, since it is difficult to read the "q", and distinguish it from "a".

I have created the above example in Overleaf that uses LuaLaTeX (TeX Live 2023)

the above issue was a showstopper for me in using STIX math fonts (that otherwise are quite beautiful)

regards a.