
答案1
我不確定用法,因此您可能希望將巨集包含在\mathbin
or中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}