\[\cot\left(x+iy\right)=-\tan\left(x+\tfrac{1}{2}\pi+iy\right),\]