Moreover, since a direction in which light travels can be restricted only by forming a slope at an edge of the light-transmitting substrate and opposing a light source to the slope, another optical system such as a condenser or a spectroscope is not needed, and a downsized apparatus can be produced.