You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\documentclass{article}
\usepackage{fontspec}
\usepackage{unicode-math}
\setmonofont{NewCMMono10-Regular.otf} % any other typewriter font would do\begin{document}
\setlength{\parfillskip}{0pt plus 10pt}
\texttt{some text with whitespaces}
\texttt{some-text-with-whitespaces}
\end{document}
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: