Radiative transfer through an absorbing, emitting and heat generating nongray medium confined between two parallel walls is studied. Specific attention is directed toward the evaluation of the effect of band or line shape on the temperature distribution and radiative flux. The analysis is restricted to a medium in local thermodynamic equilibrium and an absorption coefficient K v of the Milne-Eddington type, i.e. K v (T) = α(v)β(T) . The absorption coefficient consists of an array of equal-intensity, nonoverlapping narrow bands or lines. The results for the dimensionless emissive power at the wall and the radiative flux are expressed in terms of the moments of Chandrasekhar's X and Y functions for the rectangular, triangular, exponential, Doppler and Lorentz profiles. For the case of radiative equilibrium, the dimensionless emissive power distribution is present in graphical and tabular form.