Wednesday, 24 June 2009

ÅÄÖ in LaTeX

I'm writing my master thesis in Latex (eclipse/texlipse). The thesis is written in Enlish but I wanted to write an abstract in swedish as well and had some trouble adding the swedish characters ÅÄÖ. After searching the net for a while I finally found a solution that didn't require the use of any additional packages:

å: \aa
ä: \"{a}
ö: \"{o}

Å: \AA
Ä: \"{A}
Ö: \"{O}

Note that \aa and \AA requires a blank space at the end! If they are at the end of a word you might have to force this extra space by adding "\ ", e.g. the words "små bollar" would look like: sm\aa \ bollar.

If you have a lot of these characters in a text (and use a swedish keyboard), write them as usual and make a search-replace for each character when you're done.

No comments:

Post a Comment