A composition comprising at least one compound having a fluoro-aliphatic group and at least one hydrophilic group selected from the group consisting of a carboxyl group (—COOH), a sulfo group (—SO3H), a sulfato group (—OSO3H), a phosphonoxy group {—OP(═O)(OH)2} and salts thereof; at least one onium salt; and at least one liquid-crystal compound is disclosed.