Difference between revisions of "Command/hyphenation"
< Command
(Create entire page.) |
BruceH2020 (talk | contribs) m (→Note) |
||
(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 == | ||
− | + | {{Hyphenation see also}} | |
− | |||
== 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
- Hyphenation
- \hyphenation to define the hyphenation of a specific word
- \startexceptions to define language-specific hyphenations
- \- to define an ad-hoc breakpoint
- \unhyphenated to prevent hyphenation
- \doublehyphendemerits to penalize hyphenation on consecutive lines
- \setupalign justification parameters to tweak the auto-hyphenation algorithm
- \definebreakpoints to initialize a breakpoint set
- \definebreakpoint to add to a breakpoint set
- \setbreakpoints to activate a breakpoint set
- \language to activate a language's settings, including hyphenation
- Wrapping
Help from ConTeXt-Mailinglist/Forum
All issues with: