If you write a text in German, you will also use umlauts. In LaTeX you will receive an error message at the relevant point or the umlaut is not displayed correctly. You can find out which package you need to import or how you can enter umlauts indirectly in this tipps + tricks article.
How to use umlauts directly in the text
Import the inputenc package in your document using the command \usepackage[utf8]{inputenc}
. Utf8 describes the most widespread coding for Unicode characters, which also includes the German umlauts. If you now use Ä, Ö, ü, ä, ö, ü or ß in your text, these umlauts will be displayed correctly in your document by using inputenc.
How to use umlauts indirectly
Alternatively, you have the option of writing umlauts without importing inputenc. However, this is a bit more cumbersome and can disrupt the flow of writing. To do this, write a backslash \
and two apostrophes in ''
front of the letter. From \"A, \"O, \"U, \"a, \"o, \"u
and \ss{}
then follows Ä, Ö, Ü, ä, ö, ü and ß..