答案1
由于这个已被标记tikz-arrows
,我想知道您是否正在寻找类似的东西。
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{tikzmark,arrows.meta,bending}
\begin{document}
\[ [\tikzmarknode{x}{x},\tikzmarknode{y}{y}]\qquad
[\tikzmarknode{Sn}{S_n},\tikzmarknode{Sn+1}{S_{n+1}}]
\begin{tikzpicture}[overlay,remember picture,>={Stealth[bend]}]
\draw[<->] (x.south|-y.south) to[out=-70,in=-110] (y.south);
\draw[<->] (Sn.south|-Sn+1.south) to[out=-70,in=-110] (Sn+1.south);
\end{tikzpicture}\]
\end{document}
答案2
以下是使用 的弯曲箭头的一些可能性mathabx
,无需加载包,并且 \underset/ _overset
或使用stackengine
:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{mathtools, amssymb}
\usepackage[usestackEOL]{stackengine}
\DeclareFontFamily{U}{mathb}{\hyphenchar\font45}
\DeclareFontShape{U}{mathb}{m}{n}{%
<-6> mathb5
<6-7> mathb6
<7-8> mathb7
<8-9> mathb8
<9-10> mathb9
<10-12> mathb10
<12-> mathb12 }{}
\DeclareSymbolFont{mathb}{U}{mathb}{m}{n}
\DeclareMathSymbol{\abxcurvearrowleft}{\mathrel}{mathb}{"F0}
\DeclareMathSymbol{\abxcurvearrowright}{\mathrel}{mathb}{"F1}
\DeclareMathSymbol{\curvearrowleftright}{\mathrel}{mathb}{"F2}
\DeclareMathSymbol{\curvearrowbotleft}{\mathrel}{mathb}{"F3}
\DeclareMathSymbol{\curvearrowbotright}{\mathrel}{mathb}{"F4}
\DeclareMathSymbol{\curvearrowbotleftright}{\mathrel}{mathb}{"F5}
\begin{document}
\[ [ \underset{\curvearrowbotleftright}{a, b}] \qquad [ \overset{\curvearrowleftright}{a, b}]\qquad [ \overset{\abxcurvearrowleft}{ \underset{\curvearrowbotright}{a, b}}] \]%
\setstackgap{S}{1pt}%
\setstackgap{L}{7pt}
\[\stackMath [ \Shortunderstack{a, b\\\curvearrowbotleftright}] \qquad [ \Shortstack{\curvearrowleftright\\a, \vphantom{i}\smash[t]{b}}]\qquad [ \Vectorstack{\abxcurvearrowleft\\ a, b \\ \curvearrowbotright}]\]%
\end{document}
答案3
使用\underset
fromamsmath
和\longleftrightarrow
:
\documentclass[border=3.14]{standalone}
\usepackage[]{amsmath}
\begin{document}
$\underset{\longleftrightarrow}{[x,y]}$
\end{document}
如果您认为此箭头太长,您可以使用正常方法\leftrightarrow
:
\documentclass[border=3.14]{standalone}
\usepackage[]{amsmath}
\begin{document}
$\underset{\leftrightarrow}{[x,y]}$
\end{document}