Text this: Formation of a Spin Texture in a Quantum Gas Coupled to a Cavity.