Formal:
* Patronizing
* Supercilious
* Arrogant
* Haughty
* Scornful
* Disdainful
Informal:
* Smug
* Snooty
* Superior
* Looking down your nose at someone
* Talking down to someone
The best synonym depends on the specific context and the nuance you want to convey.