Difference between revisions of "Command/hyphenation"

From Wiki
Jump to navigation Jump to search
(Added another point to 'notes')
Line 36: Line 36:
  
 
If you are also using {{cmd|startexceptions}}...{{cmd|stopexceptions}} in your document, that must precede {{cmd|hyphenation}}.
 
If you are also using {{cmd|startexceptions}}...{{cmd|stopexceptions}} in your document, that must precede {{cmd|hyphenation}}.
 +
 +
If you have a word that refuses to hyphenate (e.g. 're-implementation') and \hyphenation{re-im-ple-men-ta-tion} has no effect then try setting \setbreakpoints[compound].
  
 
== See also ==
 
== See also ==

Revision as of 17:58, 30 November 2020

\hyphenation

Syntax (autogenerated)


Syntax

\hyphenation{...}
{...} se-ve-ral words cut in-to syl-la-bles with hy-phens

Description

Indicate how to hyphenate a word. Useful when there are some foreign or unusual words that are used a few times in your text.

Example

\setuppapersize[A9]

\hyphenation{ac-cord-ance Rein-heits-gebot}

A lot of German beer is brewed in accordance with the 
{\it Reinheitsgebot} laid down in Munich in 1516.

Note

If you are also using \startexceptions...\stopexceptions in your document, that must precede \hyphenation.

If you have a word that refuses to hyphenate (e.g. 're-implementation') and \hyphenation{re-im-ple-men-ta-tion} has no effect then try setting \setbreakpoints[compound].

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: