TransWikia.com

Hyphenation for german words wanted

TeX - LaTeX Asked on September 3, 2020

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.

Donaudampfschiffahrtsgesellschaftskapitän 

becomes

Don-au-dampf-schiff-fahrts-ge-sell-schafts-ka-pi-tän. 

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.

3 Answers

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 ...

MWE:

documentclass{scrbook}

usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage[ngerman]{babel}

begin{document}

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

end{document}

and its result:

resulting pdf

Answered by Mensch on September 3, 2020

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

Answered by U. Windl on September 3, 2020

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.

usepackage[ngerman=ngerman-x-latest]{hyphsubst}

Answered by Konstantin W on September 3, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP