答案1
我不确定用法,所以你可能想将宏括在\mathbin
或中mathrel
,但这是一个开始。
该scalerel*
命令用于将箭头缩放到(
字符,因此如果在下标中使用它将进行调整。
\documentclass{article}
\usepackage{tikz, scalerel}
\usetikzlibrary {arrows.meta, decorations.markings}
\newcommand{\divarrow}{\scalerel*{\tikz[xscale=-1]{\useasboundingbox(-.2,-.2)rectangle(.3,.3);
\draw [line width=.6, -{[length=2]>}, line cap=round, domain=90:465 ,variable=\t, smooth, samples=30] plot (\t: 0.0005*\t);}}{(}
}
\newcommand{\convarrow}{\scalerel*{\tikz[xscale=-1]{\useasboundingbox(-.2,-.2)rectangle(.3,.3);
\draw[line width=.6, line cap=round, domain=90:465 ,variable=\t, smooth, samples=30] plot (\t: 0.0005*\t);
\path[decorate, decoration={markings, mark=at position .1 with {\arrow{[line width=.6, length=2]>}}}, ](75:.045)--++(-15:.1);}}{(}
}
\begin{document}
$\{a_n\}\convarrow\divarrow$
\end{document}