Text this: Elements of spectroscopy