Patterning of BaTiO3 by inkjet deposition using a precursor solution