aliftype / xits

XITS - OpenType implementation of STIX fonts with math support
SIL Open Font License 1.1
351 stars 35 forks source link

\binom in textstyle (LuaLaTeX) #27

Closed kmaed closed 10 years ago

kmaed commented 11 years ago

I'm using XITSMath font with lualatex and unicode-math.

Sample code:

\documentclass{article}
\usepackage{amsmath}
\usepackage{unicode-math}
\setmathfont{XITSMath}
\begin{document}
$\binom{n}{m}$
\end{document}

Then spacing between n and m looks too large; m is positioned at outside of parentheses.

khaledhosny commented 10 years ago

This is not a font bug, OpenType MATH table (unlike traditional TeX) does not have a special parameter for \binom and it is up to the engine to handle it (I suppose the expectation is to treat it just like \left({n \atop m}\right) or some such).