Is there a set convention for which name (maiden name or married name) a female married mathematician should use?  

For example, Fan Chung is married to Ron Graham, but she publishes under "Fan Chung."  Vera T. Sós is another married woman who continued to use her maiden name, but the T. stands for Turán.  Yet, I'm pretty sure that Emma Lehmer (née Trotskaia) published under her married name.  

Does it have something to do with the name under which the woman first publishes or the name under which name she receives her Ph.D.?