[Tex/LaTex] Adding the running sense on a line integral on a closed path

fontsmath-modesymbols

I want to type the integral symbol over a closed path by specifying its (let's say counterclockwise) orientation, through an arrow.

How can I add an arrow on the middle circle over the integral sign:

\oint\limits_{Gamma}x\,\mathrm{d}\gamma

enter image description here

?

Best Answer

Two examples with txfonts and esint, both provide the \ointctrclockwise macro, but look different. There is \ointclockwise as well.

\documentclass{article}

\usepackage{txfonts}

\begin{document}

$\ointctrclockwise\limits_{\Gamma} x \mathrm{d}\gamma$

\end{document}

enter image description here

esint version:

\documentclass{article}

\usepackage{esint}

\begin{document}

\[\ointctrclockwise\limits_{\Gamma} x \mathrm{d}\gamma\]

\end{document}

enter image description here

Related Question