fontspec
fontspec copied to clipboard
Support "hyphenat" / add feature for hyphenation in monospace text
See motivation from the hyphenat package, and this question and this other question.
Following a recent discussion in the LuaTeX users mailing list, it seems fontspec already has hyphenation by default in monospace text. In order to follow the standard latex settings, maybe \setmonofont
should set HyphenChar=None
by default unless explicitly changed.
Not filing it as a new issue because it is highly related to this.
Thanks — I’ve added the line to the .cfg file for \setmonofont
.
I don’t know why this never occurred to me to do in the past...