A magnetic resonance apparatus has a gradient coil unit with passive shim
devices inserted into side receptacles in the molded body of the gradient
coil unit. Each shim device has a carrier with a number of metal
elements, the metal elements being mounted on the carrier in linear
succession and being situated essentially orthogonally to the
longitudinal axis of the carrier.