An all-magnetic monochromator/spectrometer system for sub-30 meV energy-resolution electron energy-loss spectroscopy in the scanning transmission electron microscope is described. It will link the energy being selected by the monochromator to the energy being analysed by the spectrometer, without resorting to decelerating the electron beam. This will allow it to attain spectral energy stability comparable to systems using monochromators and spectrometers that are raised to near the high voltage of the instrument. It will also be able to correct the chromatic aberration of the probe-forming column. It should be able to provide variable energy resolution down to approximately 10 meV and spatial resolution less than 1 A.