Text this: Atomic and electronic structure of surfaces