This is LaTeX code:
[latex]
2\pi i \cdot(\mathrm{Res}(f,-i/2)+\mathrm{Res}(f,0))=\pi
[/latex]