# Changing the keyboard layout to nordic?

I am a fairly new user of Emacs, which I could be my offline installation of LaTeX instead of using Overleaf. I wanted the same keyboard layout that I use on that site, which is the same as my Mac keyboard. I can't use backslash \ for writing \begin... and use the {}, so it is quite hard to write LaTeX inside Emacs. All I have installed is default emacs, AUCTex and evil. I haven't configured anything despite that. I've tried to search all over Google and finding answers, inserting them into my config, but nothing really works?

I normally use SHIFT+OPTION7 to do a backslash and SHIFT+OPTION+8 or SHIFT+OPTION+9 to do { and }.

You may need to improve this question before it can be answered. For one thing, if you normally use Command-Shift-7 to type a backslash, and that isn’t working inside Emacs, what does Emacs do instead? Also, if you type C-h k Command-Shift-7, what does Emacs say that this key combination does?
• ok, so Emacs understood SHIFT-OPTION-7 as M-/, which is interesting. I suppose that SHIFT-7 gives a forward slash and the option key is supposed to make it give a backslash? You might try typing C-u C- to switch input methods, and choosing the Danish one. Apr 13 at 22:34
• @db48x Shift+7 actually does a '-' so no forward slash. Shift+command+7 gives a forward slash. I tried to do (add-hook 'text-mode-hook (lambda () (set-input-method "danish-prefix"))) as well, but it is still the same. Apr 14 at 0:20