An imprint lithography apparatus is disclosed that has a template holder
configured to hold an imprint template, a substrate table, and an optical
encoder, the optical encoder having a radiation output, a first
diffraction grating, and a detector, the radiation output arranged to
illuminate a second diffraction grating and the detector positioned to
detect radiation diffracted by the first and second diffraction gratings
to provide an alignment signal.