The Synthesis and band gap changes induced by the doping with rare-earth ions in nano-SnO2