Two-dimensional boundary conditions and finite-size effects in angle-resolved photoelectron emission spectroscopy, low-energy electron diffraction, and high-resolution electron-energy-loss spectroscopy.