I am currently working on a german document. While proof-reading I noticed a lot of places where the hyphenation is not correct. My current solution to this problem is to separate the word in question manually, e.g.




But I have to do this for every occurence using search and replace. Is there another way, like a central dictionary mechanism I have not heard of yet? Maybe with an integration for an editor like Notepad++ or Atom that autosuggests hyphenized words?

I am using \usepackage[T1]{fontenc} as suggested here: How to get proper German hyphenation?

I am also using \usepackage[ngerman]{babel} but this does not solve the issue.

  • Doesn't \hyphenation{Don-au-dampf-schiff-fahrts-ge-sell-schafts-ka-pi-tän} work? – Przemysław Scherwentke Sep 22 '16 at 15:01
  • It does. But I was wondering if there is a possibility to generate a user-defined dictionary in one central place. Or even contribute to the dictionary that is used. I guess this would be in the babel package, right? – Michael S. Sep 22 '16 at 15:03
  • 3
    If I use the Rechtschreibung Donaudampfschifffahrtsgesellschaftskapitän (with three f's), I get Do-nau-dampf-schiff-fahrts-ge-sell-schafts-ka-pi-tän – egreg Sep 22 '16 at 15:03
  • 6
    I get the correct hyphenation Do-nau-dampf-schiff-fahrts-ge-sell-schafts-ka-pi-tän when using ngerman + babel. So you should show a concrete and complete example where hyphenation fails for you. – Ulrike Fischer Sep 22 '16 at 15:34
  • 2
    Gentlesea: couldn't you just create a file with all the hyphenation commands and input it into your tex file? – riddleculous Sep 23 '16 at 8:44

With an current MiKTeX 2.9 (version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6400 64-bit)) I can compile the following MWE without problems with the hyphenation. Fernbedienung is hyphenated as it should be ...





\parbox{0pt}{\hspace{0pt}Donaudampfschifffahrtsgesellschaftskapitän. Fernbedienung}


and its result:

resulting pdf


Had the same issues, for a lot of German words the hyphenation is still incorrect. You can add the hyphsubst package to overcome this shortcoming.



Won't \hyphenation{Don-au-dampf-schiff-fahrts-ge-sell-schafts-ka-pi-tän} once at the beginning of the document be sufficient?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.