High-resolution spectroscopy and polarimetry