Swedish characters in latex

5 replies [Last post]
stearinljus lys
Offline
Joined: 06/01/2019

Hi!
I want to write Swedish characters, (å,ä,ö) in my latex document. What should I do?
Thanks!

stearinljus lys
Offline
Joined: 06/01/2019

Hi again!
Maybe I was not precise; I know the latex commands, which must write in the text. But I have not the packages installed. So the question is how to install packages for Swedish language.

loldier
Offline
Joined: 02/17/2016

Try 'texlive-lang-european'. Both Swedish and Finnish use the same characters (umlauts å, ä, ö) and usepackages.

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

You want this line in the preamble:
\usepackage[utf8]{inputenc}
Then, write normally. For instance write ä and not \" a.

loldier
Offline
Joined: 02/17/2016

This

\documentclass[a4paper,12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[swedish]{babel}
\begin{document}
Testar åäö. ÅÄÖ.
\end{document}

produces this.

AttachmentSize
test.pdf 5.41 KB
stearinljus lys
Offline
Joined: 06/01/2019

Thanks everybody :)
Now it works.