Finite-size corrections to the free energy of Coulomb systems with a periodic boundary condition