A photosensitive liquid crystal studied by 14N NMR, 2H NMR, and DFT calculations.