Gel formation and photoactive properties of azobenzene-containing polymer in liquid crystal mixture