Solvent-regulated assemblies of 1D lanthanide coordination polymers with the tricarboxylate ligand.