You mean you wanna type pinyin with 4 Chinese tones on your computer or smartphone.You can download a Chinese input method, when your finger touch the letter button without leaving until there jumps out 4 tones on the top of the letter, you can choose one of the letters with tones. Try it on cellphone too.