I have a document with many instances where hyphenation would be appropriate. But not a single word is being hyphenated. I have tried:
- Using
\hyphenation
to explicitly define the hyphenation. - Adding
\-
(or"-
) at positions in the word where it should be hyphenated (source). - Switching the document language to English and adding English words to see if that's the problem.
There is no hyphen in the word, the word is not the first word in a paragraph, and I have not imported the hyphenat
package.
This is a minimal working example (MWE):
\documentclass[a4paper]{article}
\usepackage[ngerman]{babel}
\raggedright
\begin{document}
Dieser Satz enthält ein sehr langes Wort, das dafür sorgt,
dass es eine Silbentrennung geben müsste.
\end{document}