Text this: Atomic structure and spectral lines