In grazing incident diffraction, the incoming x-ray beam is of course always at narrow angles to the surface, so that surface sensitivity is achieved. However, for the detector there seem to be two options: In-plane, where the diffracted beam is measured also at an angle close to the surface, so that the scattering vector lies in the surface. And out-of-plane, where the detector moves away from the surface and the diffraction plane lies perpendicular to the surface. But what are the particular advantages and disadvantages of these two techniques?