New family of lanthanide-based inorganic-organic hybrid frameworks: Ln2(OH)4[O3S(CH2)nSO3]·2H2O (Ln = La, Ce, Pr, Nd, Sm; n = 3, 4) and their derivatives.