Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need the following Portuguese characters: ã, õ.

I write in Spanish/Portuguese all the time, but I am used to the Spanish keyboard layout. I can do anything but write the mentioned characters.

I do NOT want to constantly switch between Spanish/Portuguese layouts.

I would like to remap the key combinations: "option+a" and "option+o" to ã and õ respectively. Right now on those keys, I have these (å and ø) which are almost useless to me.

I cannot find a way to map those key combinations to my desired characters.

Can someone please help me? I downloaded keyremap4mac, but couldn't find a way to do it. Do you know a piece of software that would let me define the combination and the desired characters?

share|improve this question
up vote 3 down vote accepted

Option/alt + ñ on the Spanish ISO layout, followed by a or o gives you ã and õ.

To make a custom layout, use Ukelele

PS If you are running 10.7, you can also get those characters by holding down the a and o keys until the Character Picker popup menu appears.

share|improve this answer
Thank you! Gracias! Obrigado! =) I am so happy now! – Santiago Mar 28 '12 at 16:27
@Santiago I recently posted an answer with some more details on how to create custom keyboard layouts — you might be interested: – Mathias Bynens Mar 28 '12 at 19:07

Here is an easy way to type "ã" and "õ" on the Spanish keyboard.

The usual ñ key has a second function, which is technically referred to as a dead (diacritical) key. Hold down the Option key while you type the ñ key. This will produce a tilde "~" hanging in the air. Then immediately release the two keys and type the "a" key and you will get an "ã". The same method works to produce an "õ".

You can see the diacritical key in orange below.

enter image description here

share|improve this answer
This is of course a more detailed explanation of the same thing that Tom Gewecke wrote above. – user9290 Mar 28 '12 at 17:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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