TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.