In both PC and Console versions of The Sims 3, you can increase your odds of having a baby girl when a female sim is pregnant.
All you have to do is have your pregnant sim eat a lot of watermelons.