8

Code:

\documentclass[paper=3.5cm:5cm]{scrbook}
\usepackage{german}
\usepackage[german]{babel}
\usepackage[utf8]{inputenc}
\begin{document}
Andere übertragen das am besten den Geschwistern.
\end{document}

Output:

Rendered document

Hyphenation for these standard German words is incorrect. I know that we can specify hyphenation manually, e.g. übertra\-gen, but that makes source code less readable, and it would be tedious for an entire book.

How do I tell LaTeX to use proper hyphenation?

Desired hyphenation is for a German text authored between 1914 and 1918.

0
14

The german package is obsolete. You should instead load

\usepackage[T1]{fontenc}

Example, where \parbox{0pt} is used to force TeX to hyphenate as much as possible.

\documentclass[]{scrbook}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[german]{babel}

\begin{document}

\parbox{0pt}{\hspace{0pt}Andere übertragen das am besten den Geschwistern.}

\end{document}

enter image description here

1
  • This will still get a lot of words wrong, using \usepackage[ngerman=ngerman-x-latest]{hyphsubst} is recommended. – Konstantin W Jul 23 '20 at 10:57

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.