What is hyphenation?

Hyphenation occurs when the composition engine must split a word that would otherwise extend beyond the right margin of the text column.

When a word needs to be hyphenated, TopLeaf can determine the permitted hyphenation points using one or more of the following methods:

  • soft — split a word if a soft hyphen (Unicode code point U+00AD) appears within that word;

  • dictionary — search a language specific hyphenation exception list or dictionary;

  • rule-based — apply a set of language specific hyphenation rules.

You can use the <hyphenation/> command to set the length of the smallest word that will be considered for hyphenation.