If a function $f$ is analytic in an open set $U$, then $\int_{\partial T}f(z)dz=0$ for every closed triangle $T$ in $U$.
I already have the result for a rectangle but how can I prove that for a triangle you also have this? What other geometric figures do you have this result for? Could anyone help me, please? Thank you very much.