General formalism for vibronic Hamiltonians in tetragonal symmetry and beyond.