[NTG-context] Left hanging hyphen

Tomas Hala tomas.hala at mendelu.cz
Mon Mar 2 12:22:26 CET 2020


Hi all,

in composed words in Czech and Slovak languages, the hyphen must be repeated 
at the beginning of the new line. How can I make it hanging at the left margin?

Tomáš


% for repeating the hyphen
\definebreakpoints[czcompound]
\definebreakpoint[czcompound][-][nleft=3,nright=3,type=4]
\def\mylanguage{cs} \appendtoks \ifx\mylanguage\currentlanguage \setbreakpoints[czcompound] \else \resetbreakpoints \fi \to\everylanguage 
\def\mylanguage{sk} \appendtoks \ifx\mylanguage\currentlanguage \setbreakpoints[czcompound] \else \resetbreakpoints \fi \to\everylanguage

\starttext\showframe
\hsize1dd
modro-zelený  %blue-green
\stoptext



More information about the ntg-context mailing list