Changes

Jump to navigation Jump to search
new
<cd:commandgroup name="hyphenatedpar" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
<cd:shortdesc><!-- a short command summary goes here -->
The command <tt>\hyphenatedpar</tt> is used to show the possible hyphens in a paragraph.
</cd:shortdesc>
<cd:variants>
<cd:command category="language" file="supp-box.mkiv" interfacedate="2020-06-19T13:41" interfacefile="i-hyphenation.xml" level="document" name="hyphenatedpar" variantnumber="1">
<cd:arguments>
<cd:keywords delimiters="braces" ordinal="1">
<cd:keywordsdoc></cd:keywordsdoc>
<cd:constant type="cd:text"></cd:constant>
</cd:keywords>
</cd:arguments>
</cd:command>
</cd:variants>
<cd:description><!-- the long description of the command goes here -->
</cd:description>
<cd:examples><cd:example title=""><context source="yes" text="gives">
\mainlanguage[de]

\type{\showhyphens}: \showhyphens{Donaudampfschifffahrtskapitänsmützenband}\blank

Word: \hyphenatedword{Donaudampfschifffahrtskapitänsmützenband}\blank

Par: \hyphenatedpar{\dorecurse{10}{Barbaras Barbarenbierbar }}\blank

File: \hyphenatedfile{aesop-de}\blank

\bold{\en More hyphenation:}
\setuplanguage[de][lefthyphenmin=2,righthyphenmin=2,hyphenmin=4]

\hyphenatedword{Donaudampfschifffahrtskapitänsmützenband}\blank

\hyphenatedfile{aesop-de}\blank

\bold{\en Less hyphenation:}
\setuplanguage[de][lefthyphenmin=3,righthyphenmin=3,hyphenmin=7]

\hyphenatedword{Donaudampfschifffahrtskapitänsmützenband}\blank

\hyphenatedfile{aesop-de}\blank

</context></cd:example></cd:examples>
<cd:notes></cd:notes>
<cd:seealso>
<cd:source file="supp-box.mkiv" originator="system"></cd:source>
<cd:wikipage originator="system" page="Category:Language"></cd:wikipage>
<cd:commandref name="hyphenatedword"></cd:commandref>
<cd:commandref name="hyphenatedfile"></cd:commandref></cd:seealso>
</cd:commandgroup>

Navigation menu