The void spectrum in two-dimensional numerical simulations of gravitational clustering