Text this: Theory of atomic spectra