Difference between revisions of "Command/hyphenation"
< Command
Jump to navigation
Jump to search
BruceH2020 (talk | contribs) (Added another point to 'notes') |
BruceH2020 (talk | contribs) m (→Note) |
||
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
- 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: