stipub / stixfonts

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

stix2 math footnotesize gives overfull hbox in tabular with dcolumn package. #242

Open 70ray opened 1 year ago

70ray commented 1 year ago

Minimum working example with lualatex:

\usepackage{unicode-math}[2020/01/31]
\usepackage{dcolumn}[2014/10/28] % for tables with aligned numbers
\setmathfont{STIX Two Math}
\begin{document}
\footnotesize
\begin{tabular}{D{.}{.}{4.1}}
17.8
\end{tabular}
\end{document}

gives overfull hbox. removing footnotesize, problem goes away. Doesn't happen with other fonts I have tried.