Difference between revisions of "Command/hyphenation"

From Wiki
Jump to navigation Jump to search
(Create entire page.)
 
 
(4 intermediate revisions by 4 users not shown)
Line 3: Line 3:
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>hyphenation</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
Line 29: Line 32:
 
{\it Reinheitsgebot} laid down in Munich in 1516.
 
{\it Reinheitsgebot} laid down in Munich in 1516.
 
</context>
 
</context>
 +
 +
== Note ==
 +
 +
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 <tt>\hyphenation{re-im-ple-men-ta-tion}</tt> has no effect then try setting <tt>\setbreakpoints[compound]</tt>.
  
 
== See also ==
 
== See also ==
* {{cmd|-}} to specify a word's hyphenation points in-place, for that occurrence only.
+
{{Hyphenation see also}}
* {{cmd|language}} to (briefly) change to a different language's hyphenation rules.
 
  
 
== Help from ConTeXt-Mailinglist/Forum ==
 
== Help from ConTeXt-Mailinglist/Forum ==

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: