[XeTeX] avoiding line break after dash

Philip Taylor P.Taylor at Rhul.Ac.Uk
Mon Dec 8 10:30:33 CET 2014



Mike Maxwell wrote:


> Another thing I've tried is to set the \exhyphenpenalty to 10000.  This
> works if I do it in the preamble, but I don't really want it to have
> scope over the entire document.  But if I put that command inside a
> {...} together with the dash+word, it has no effect.

The setting needs to be in effect at end-of-paragraph; thus it can be 
used locally (grouped) but every applied instance thereof needs to be 
within a paragraph that terminates (closes) before the group.

Philip Taylor


More information about the XeTeX mailing list