Changes

Jump to navigation Jump to search
439 bytes added ,  14:14, 22 October 2022
\mainlanguage, language shortcuts and \startlanguage...\stoplanguage
When a word extends beyond the end of a line, it can be broken in the middle and written on two lines, with a hyphen to indicate the breakoff. This is called '''hyphenation'''. ConTeXt has a great many facilities for dealing with hyphenation, both automatically and manually; they are gathered on this page.
 
=== Define the language for the whole document ===
 
{{cmd|mainlanguage|[nl]}} would be the way to set the language for the whole document to Dutch.
=== Change the hyphenation language ===
 
Use {{cmd|language|[de]}}. NB: this will also alter the marks used for {{cmd|quotation}}, etc.
 
A shortcut for German would be {{cmd|de}}. Italian has no shortcut in {{cmd|it}} (which is reserved for italics) and Finnish has no shortcut for {{cmd|fi}} is the command to end conditionals.
 
Another way of marking a passage would be {{cmd|startlanguage|[es]}} and {{cmd|stoplanguage}}.
=== Allow breaking at existing hyphens ===
139

edits

Navigation menu