An atlas of late-type stellar spectra, 2400-2778 inverse centimeters