I am writing part of a text where i need danish encoding/characters. The main language however is english. So i choose to add the special chars in textmode. I am facing now the problem that if a word ends on a special character it gets automatically concatenated with the next word. So

p\aa folks 

should be

på folks 

but it is


I am using now some horizontal spacing makros like \, but is there a more elegant way? Also i haven't found a macro which provides the default space between two words

  • 5
    Why don't you simply add \usepackage[utf8]{inputenc} and directly type på folks? – egreg Jul 20 '15 at 14:44

To add a space manually, use

p\aa\ folks


p\aa{} folks

To do it automatically, have a look at the package xspace and its command \xspace. You could even patch \aa with it:


I would like to add another answer to this question. You can use the curly braces to contain \aa to add the space behind this character, like this p{\aa} folks. Personaly, I think p\aa{} folks and the above method works better.

Not the answer you're looking for? Browse other questions tagged or ask your own question.