Text this: Theory of magnetic neutron and photon scattering