0

I have a word with accent: "Kleinekathöfer", also tried with: Kleinekath"{o}fer, and this word is going above the defined text width. Any insights? Thanks for you help.

enter image description here

jeremy
  • 103

1 Answers1

0

Try changing the line

\usepackage[english]{babel}

to

\usepackage[german]{babel}

The babel package loads the proper hyphenation patterns to your document. Another way is to provide the hyphenation pattern by hand as in hi\-fe\-ni\-zar

Roadbug
  • 51
  • 1
    I think you should advise folks to employ ngerman instead of german -- unless they've indicated that they wish to adhere to pre-1996 spelling and grammar rules... – Mico Oct 31 '22 at 21:24
  • 2
    The question gives virtually no information but since three of the four visible words are and, field and server my guess is this is an English document with a German word mid-sentence so globally changing babel not right – David Carlisle Oct 31 '22 at 21:58
  • David is correct, \usepackage[german,main=english]{babel} fixed the issue. – jeremy Nov 01 '22 at 11:57