On the next-to-last line of a paragraph, I have some hyphenation and on the last line, I only have the end of the word.

blablabla cou-
New paragraph

I thought the command \finalhyphendemerits could resolve this problem, but it doesn't seems to…

Any idea ? I’m using memoir class and XeLaTeX

  • What value are you setting \finalhyphendemerits to?
    – egreg
    Jul 5, 2012 at 23:32
  • \finalhyphendemerits=10000
    – Calixte
    Jul 6, 2012 at 6:12
  • 6
    That's comparable to \penalty 100 when talking of line or page breaks, so it's not high enough; try 50000000.
    – egreg
    Jul 6, 2012 at 6:26

1 Answer 1


The value of \finalhyphendemerits should by much higher. Here's an example




The setting of \hyphenpenalty is just to invite TeX to hyphenate more frequently. Notice that the last line doesn't have a hyphen.

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .