  We report the continuous variation of the spin moment of cobalt in LaCoO3
across its temperature and pressure-induced spin transitions evidenced with
K\beta emission spectra. The first thermal transition is best described by a
transition to an orbitally nondegenerate intermediate spin (S=1) state. In
parallel, continuous redistribution of the 3d electrons is also indicated by
partial fluorescence yield X-ray absorption spectra. At high pressure, our
study confirms that the material becomes low spin between 40 and 70 kbar at
room temperature.
