A novel usage of the flat-field spectrograph with a variable line-spacing grating in 5 to 40 nm spectral range is presented. The spectrograph can be used for any source-grating distances but with a constant distance from the grating to the flat focal plane and is highly flexible and adaptable for XUV and soft X-ray spectroscopy experiments with different laser plasma target chambers.