Since it is just a sort of discussion, I will just give the formula and condition without proving them or leaving examples.
General:
$\int_{C}\ve ......
see how any formula was written in any question or answer, including this one, right-click on the expression it and choose "Show Math As > TeX Command ......