Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
In the Gravity Guide it says that Starmie, Metagross and Alakazam can learn Gravity. But in the program Gravity is nowhere to be located on the move lists for theses pokemon.
When you build a new team make sure you select Smogon University instead of Standard Metagame. I just tested this and Gravity is definitely on those Pokemon's movelists.