In-vacuum figure-8 undulator for hard X-rays with both horizontal and vertical polarization.