Text this: Spectrum of coherent transition radiation generated by a modulated electron beam