0

I am new to LateX and have the following problem: I need to write a few larger documents in German using latex. That's why I need a lot of umlauts, too. When I hold a key (o, e.g.) it repeats it at least once (result: oo) and after choosing the right accent it writes the number (result: oo2) and at last the correct umlaut (oo2ö).

So all I want is an ö and the shortest I get is oo2ö, any ideas how to solve this problem? Copy and Pasting the umlauts or deleting the unnecessary letters are no options, way too slow.

I am using:

  • MacOS
  • US-keyboard layout
  • MacTeX
  • Texmaker

I tried turning off the key repeat in MacOS preferences, but that doesn't work. Changing the key repeat speed makes a difference, however. At the slowest option I get the described result, at the fastest option I get like (ooooooooooooooo2ö).

Ingmar
  • 6,690
  • 5
  • 26
  • 47
latexo2
  • 1
  • 1

2 Answers2

2

You can use the babel package, which changes quotation marks and vocals to umlaut.

\documentclass{article}
\usepackage[ngerman,german]{babel} 
\begin{document}

Abc"odef"Aghi"u

\end{document}

Later you replace all these with the actual letter. But until finalization, you can just write it all down without worrying too much.

MaestroGlanz
  • 2,348
0

An option could be use the replace option in Texmaker, and regex search for oo2ö with the query [o]*2ö, and then replacing it with ö, by activating the Regular Expression search option.

enter image description here

  • As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center. – Community Dec 17 '21 at 15:16
  • (You misunderstood the OP, the "oo2" part represents what the OP types instead of what gets typed out.) – user202729 Jun 16 '22 at 06:20