(color online) Crystal structures of Cu2MgSnS4 in four phases (a) KS, (b) ST, (c) PMCA, and (d, d′) WS.