(a) Plots of direct and indirect band gap versus percentage of Nd doping in LaAlO3 and (b) plots of magnetic moment versus percentage of Nd doping.