Anchoring a Liquid Crystal Molecule on a Single-Walled Carbon Nanotube