We present an extensive set of stellar population synthesis models , which self-consistently include the ( optical–far-UV ) continuum emission from stars as well as the resulting emission-line spectrum from photoionized gas surrounding massive stars during their main- sequence-life time . The models are presented as a compiled library , ademis , available electronically . ademis  contains the equivalent widths and the intensities of the lines [ O ii ]  \lambda \lambda 3727 , H \beta , [ O iii ]  \lambda 5007 , H \alpha , and [ N ii ]  \lambda 6584 , which were calculated assuming a metallicity of 0.2 , 0.4 , 1.0 , and 1.5 Z _ { \odot }  and a wide range of ionization parameters . We investigate the regime of continuous star formation , assuming a Salpeter initial mass function , whose upper mass limit is an input parameter . The calculated equivalent width models , which are function of the burst age , are compared with the Jansen et al . atlas of integrated spectra for nearby galaxies . We reproduce the observed properties of galaxies along the full Hubble sequence and suggest how the metallicity and age of such galaxies might be roughly estimated .