Added an explanation
Source Link
ienissei
  • 6.1k
  • 2
  • 30
  • 53

Perhaps you could set \doublehyphendemerits to a high value. It will discourage LaTeX from hyphenating words at the ends of two consecutive lines. For instance:

\doublehyphendemerits=1000000

Edit: (La)TeX associates "demerits" to lines when breaking them (i.e. how undesirable is the line), and tries to minimize the total demerits within a paragraph. Demerits are calculated based on the square values of the badness of the line and of the penalties associated with it (e.g. with things like \hyphenpenalty which discourages the use of hyphenation). Because it uses square values, you must set any demerits to a high value in order for them to have any effect, which is why the default is \doublehyphendemerits=10000 (whereas penalties are usually set in the hundreds by default and have a maximum value of ±10000). The exact algorithm is explained in the TeXbook and in most books on the subject.

Perhaps you could set \doublehyphendemerits to a high value. It will discourage LaTeX from hyphenating words at the ends of two consecutive lines. For instance:

\doublehyphendemerits=1000000

Perhaps you could set \doublehyphendemerits to a high value. It will discourage LaTeX from hyphenating words at the ends of two consecutive lines. For instance:

\doublehyphendemerits=1000000

Edit: (La)TeX associates "demerits" to lines when breaking them (i.e. how undesirable is the line), and tries to minimize the total demerits within a paragraph. Demerits are calculated based on the square values of the badness of the line and of the penalties associated with it (e.g. with things like \hyphenpenalty which discourages the use of hyphenation). Because it uses square values, you must set any demerits to a high value in order for them to have any effect, which is why the default is \doublehyphendemerits=10000 (whereas penalties are usually set in the hundreds by default and have a maximum value of ±10000). The exact algorithm is explained in the TeXbook and in most books on the subject.

Source Link
ienissei
  • 6.1k
  • 2
  • 30
  • 53

Perhaps you could set \doublehyphendemerits to a high value. It will discourage LaTeX from hyphenating words at the ends of two consecutive lines. For instance:

\doublehyphendemerits=1000000