三角弧的符号

三角弧的符号

我想要输入与下图相同的符号。

在此处输入图片描述

答案1

以下是基于 Ti 的过度建议Z 的灵感来自这个帖子

在此处输入图片描述

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}
\newcommand{\overarcarrow}[1]{\ifmmode%
\tikz [baseline = (N.base)] {
      \node [inner sep = 0pt] (N) {$#1$};
      \draw [line width = 0.4pt,-{Stealth[scale=0.6]}] 
         ([xshift=0.1ex,yshift=0.3ex]N.north west) to[out=15,in=165]
         ([yshift=0.3ex]N.north east);
   }
\else   
\tikz [baseline = (N.base)] {
      \node [inner sep = 0pt] (N) {#1};
      \draw [line width = 0.4pt,-{Stealth[scale=0.6]}] 
         ([xshift=0.1ex,yshift=0.3ex]N.north west) to[out=15,in=165]
         ([yshift=0.3ex]N.north east);
   }
\fi   
}

\begin{document}
$\overline{AB}$ $\overarcarrow{AB}$ \overarcarrow{AB}
\end{document}

附录:@John Kormylo 的特别版本。

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}
\newcommand{\overarcarrow}[1]{\ifmmode\mathchoice{%
\tikz [baseline = (N.base)] {
      \node [inner sep = 0pt] (N) {$\displaystyle#1$};
      \draw [line width = 0.4pt,-{Stealth[scale=0.6]}] 
         ([xshift=0.1ex,yshift=0.3ex]N.north west) to[out=15,in=165]
         ([yshift=0.3ex]N.north east);
   }
}{%
\tikz [baseline = (N.base)] {
      \node [inner sep = 0pt] (N) {$\textstyle#1$};
      \draw [line width = 0.4pt,-{Stealth[scale=0.6]}] 
         ([xshift=0.1ex,yshift=0.3ex]N.north west) to[out=15,in=165]
         ([yshift=0.3ex]N.north east);
   }
}{%
\tikz [baseline = (N.base)] {
      \node [inner sep = 0pt] (N) {$\scriptstyle#1$};
      \draw [line width = 0.3pt,-{Stealth[scale=0.6]}] 
         ([xshift=0.1ex,yshift=0.3ex]N.north west) to[out=15,in=165]
         ([yshift=0.3ex]N.north east);
   }
}{%
\tikz [baseline = (N.base)] {
      \node [inner sep = 0pt] (N) {$\scriptscriptstyle#1$};
      \draw [line width = 0.213pt,-{Stealth[scale=0.6]}] 
         ([xshift=0.1ex,yshift=0.3ex]N.north west) to[out=15,in=165]
         ([yshift=0.3ex]N.north east);
   }
}   
\else   
\tikz [baseline = (N.base)] {
      \node [inner sep = 0pt] (N) {#1};
      \draw [line width = 0.4pt,-{Stealth[scale=0.6]}] 
         ([xshift=0.1ex,yshift=0.3ex]N.north west) to[out=15,in=165]
         ([yshift=0.3ex]N.north east);
   }
\fi   
}

\begin{document}
$\overline{AB}$ $\overarcarrow{AB}$ \overarcarrow{AB}
$X_{\overarcarrow{AB}}$ $X_{Y_{\overarcarrow{AB}}}$
\end{document}

在此处输入图片描述

相关内容