Open Jinwen-XU opened 4 months ago
Thanks for the report. How bizarre. Confirming this problem does NOT arise when fontspec is loaded without unicode-math.
@wspr Ulrike commented at tex.sx that you can reproduce with just fontspec by declaring the font twice https://tex.stackexchange.com/questions/711456/xelatex-set-mono-font-after-loading-unicode-math-and-modify-parfillskip-leads#comment1767977_711456
Description
With XeLaTeX, if one
\setmonofont
after loadingunicode-math
, and then modify the\parfillskip
, there would be issue with the spacing in\texttt
.This problem does not happen with LuaLaTeX.
See https://tex.stackexchange.com/q/711456.
Minimal example demonstrating the issue