Tensor and Complex Anchoring in Liquid Crystals