Effects of Confinement and Shear on the Properties of Thin Films of Thermotropic Liquid Crystal