Accentuation on the Portuguese-Brazil keyboard (PT-BR)

I wanted to know how to put accents on words on the keyboard in Portuguese-Brazil without having to use the composition key. Because it's normally not possible to do this without the compose key in any Portuguese-Brazilian layout. I tested it with an English(US) layout and it worked. I had to configure the compose key for now to be able to use the accents.

You might find this thread useful: