Open main menu


23 bytes removed ,  12:24, 29 June 2012
Make examples smaller.
<context source="yes">
<context source="yes">
<context source="yes">
a |<|as explained below|>| conflirtaneous \unknown
\def\ShowComposed #1
\VL \bf input \VL \bf normal \VL \bf hyphenated \VL\SR
== Indicating hyphenation pattern patterns manually (Optional hyphen) / optional hyphens ==
If you have single a few foreign words in your text, or just very simply a few unusual wordsones, they may hyphenate incorrectlybut not be worth invoking a different {{cmd|language}} for. Especially if the word is used multiple times, you You can define a ad-hoc hyphenation pattern patterns with the command{{cmd|hyphenation}}:
If you just need to fix a single word, you can add an optional hyphen (hyphenation hint) with <code>\{{cmd|-}}: </code>: <tt>kai\-vos\-auk\-ko</ttcode>.
== Enabling hyphenation on hyphens for composed words globally ==
For mkiv just add to This is possible in MkIV with the preamblefollowing command:
(which does the same thing as This is equivalent to typing for each composed word as <code>intracomposed|-|word</code>). It will set also sets the characters "'+" "/" (typed verbatim', '/', 'not(', and ')' as <code>\slash</code> or <code>\textslash</code> ) "(" ")" as good breakpoints inside composed words. EThe slash must be typed verbatim, though, not as {{cmd|slash}} or {{cmd|backslash}}.g the following line will be correctly broken at the /
<texcodecontext mode=mkiv source=yes>% mode=mkiv
% mkiv only
love+hate+play+run+love+hate+play+run+love+hate+play+run+love+hate+play+run+love+hate+play+run+love+hate+play+run+ love)hate)play)run)love)hate)play)run)love)hate)play)run)love)hate)play)run)love)hate)play)run)love)hate)play)run)\stoptext</texcodecontext>