Abstract
Design and setup of an interferometer for cold and ultracold neutrons are described. As neutron optical components three holographically produced gratings are arranged in triple Laue geometry. The gratings are adjusted during their recording process in photosensitized polymer slabs once for ever. Employing this device we measured the coherence function of a cold neutron beam by means of interferometry.