我想在积分符号上画一个半圆,比如 \ointclock,用于路径积分。希望你能帮忙。
答案1
也许这会有帮助?
\documentclass{article}
\usepackage{tikz}
\usepackage{esint}% for \ointclockwise
\usetikzlibrary{arrows,arrows.meta}
\newcommand\semiInt[1][1]{%
\begin{tikzpicture}[scale=0.2]
\coordinate (center) at (1.1,0.55);
\draw[black,-{>[scale=0.6]}] (0, 0.0) + (center) arc (0:-180:0.5);
\draw (0.1,0.55) --(1.1,0.55);
$\int$
\end{tikzpicture}
}
\begin{document}
\noindent
The result is: \semiInt \\
\verb|\ointclockwise| is: $\ointclockwise$
\end{document}
答案2
像这样?
\documentclass{scrartcl}
\usepackage{stackengine,scalerel,graphicx,amssymb,amsmath,wasysym}
\DeclareMathOperator*{\intsemicircle}{%
\ThisStyle{\mathop{\ensurestackMath{\stackinset{c}{-0.4\LMpt}{c}{.1pt}{%
\rotatebox[origin=lb]{-90}{$\SavedStyle\Rightcircle$}}{\SavedStyle\int}}}}}
\begin{document}
$\displaystyle\intsemicircle_0^\infty$
\end{document}