Latex trent bei mir leider Vanillezucker so: Vanillezu-cker

//Huebi
\documentclass{article} \usepackage[ngerman]{babel} \begin{document} \parbox{2.8cm}{Etwas Vanillezucker} \end{document}
\documentclass[german]{article} \usepackage[german]{babel} \begin{document} \parbox{2.8cm}{Etwas Vanillezu"cker} \end{document}
%!TEX lualatex \documentclass{article} \usepackage[ngerman]{babel} \babelposthyphenation{ngerman}{ck}{ { no = c, pre = k- }, {} } \begin{document} \parbox{2.8cm}{Etwas Vanillezucker} \end{document}
\babelposthyphenation{german} { [AEIOUÄÖÜaeiouäöü] (``` ) ([kK]) [AEIOUÄÖÜaeiouäöü] }{ {}, % Keep first vowel { no = {1}, pre = {2}- }, % c or C → discretionary {}, % Keep k or K {} % Keep second vowel } ```
\documentclass{article} \usepackage[ngerman]{babel} \begin{document} \parbox{2.8cm}{Etwas Vanille\discretionary{zuk-}{ker}{zucker}} \end{document}
zwei Tütchen Vanillezucker
\qty{2}{\ingutl} Vanillezucker