Temperature inversions occur in nature, e.g., in the solar corona and in interstellar molecular clouds: Somewhat counterintuitively, denser parts of the system are colder than dilute ones. We propose a simple and appealing way to spontaneously generate temperature inversions in systems with long-range interactions, by preparing them in inhomogeneous thermal equilibrium states and then applying ...