Difference between revisions of "Command/hyphenation"

From Wiki
Jump to navigation Jump to search
(Added another point to 'notes')
 
Line 37: Line 37:
 
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].
+
If you have a word that refuses to hyphenate (e.g. 're-implementation') and <tt>\hyphenation{re-im-ple-men-ta-tion}</tt> has no effect then try setting <tt>\setbreakpoints[compound]</tt>.
  
 
== See also ==
 
== See also ==

Latest revision as of 18:02, 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: