图中弯曲的箭头

图中弯曲的箭头

我想知道如何绘制这样的图表:

在此处输入图片描述

我不知道如何制作弯曲的箭头,并且我还想在箭头的中间放置文字(在本例中为“...”)。

以下是我自己可以执行的工作示例代码(在 xymatrix 和 tikz-cd 中):

\documentclass{amsart}
\usepackage[all]{xy}
\begin{document}
 \xymatrix{
    0 \ar[r] & A\ar[r] & B\ar[r] & C & \\
             & D\ar[r] & E\ar[r] & F\ar[r] & 0 \\
    }
\end{document}


\documentclass{amsart}
\usepackage{tikz-cd}
\begin{document}
\begin{tikzcd}
0 \arrow{r} & A \arrow{r} & B \arrow{r} & C &  \\
            & D \arrow{r} & E \arrow{r} & F \arrow{r} & 0 \\
\end{tikzcd}
\end{document}

答案1

摘自 Stefan 的代码https://tex.stackexchange.com/a/95826/3929

\documentclass{article}
\usepackage{tikz-cd}
\usepackage{amsmath}
\usepackage{calrsfs}
\begin{document}
\begin{tikzcd}
0 \rar & H^0(X,\mathcal{G}) \rar & H^0(X,\mathcal{O}_X(-m)^{\oplus N}) \rar & H^0(X,\mathcal{F})
          \ar[out=0, in=180, looseness=2, overlay]{dll}   & \\
       & H^1(X,\mathcal{G}) \rar & H^1(X,\mathcal{O}_X(-m)^{\oplus N}) \rar & H^1(X,\mathcal{F})
          \ar[out=0, in=180, looseness=2, overlay,"\cdots" description]{dll}   & \\
       & H^n(X,\mathcal{G}) \rar & H^n(X,\mathcal{O}_X(-m)^{\oplus N}) \rar & H^n(X,\mathcal{F})
\rar & 0 
\end{tikzcd}
\end{document}

在此处输入图片描述

答案2

pstricks way

\documentclass{standalone}
\usepackage{mathtools}
\usepackage{pst-node}
\usepackage{auto-pst-pdf}
\usepackage{mathrsfs}

\begin{document}

$ \psset{arrows=->, arrowinset=0.15, linewidth=0.6pt, nodesep=3pt, rowsep=1cm, colsep=1cm}
\everypsbox{\scriptstyle}
\begin{psmatrix}[mnode = R]
  %%% nodes
  0 & H^0(X, \mathscr G) & H^0\bigl(X, \mathscr O_X(-m)^{\oplus N}\bigr) & H^0(X, \mathscr F) \\%
  & H^1(X, \mathscr G) & H^1\bigl((X, \mathscr O_X(-m)^{\oplus N}\bigr) & H^1(X, \mathscr F) \\%
  \mbox{}& H^n(X, \mathscr G) & H^n\bigl((X, \mathscr O_X(-m)^{\oplus N}\bigr) & H^n(X, \mathscr F)%
  %%% horizontal arrows
  \ncline{1,1}{1,2} \ncline{1,2}{1,3} \ncline{1,3}{1,4}
  \ncline{2,2}{2,3} \ncline{2,3}{2,4}
  \ncline{3,2}{3,3} \ncline{3,3}{3,4}
  % %%% snake arrows
  \psset{angleA=-10, angleB=168, linearc=0.5, ncurv=0.8}
  \nccurve{1,4}{2,2}
  \nccurve{2,4}{3,2}\ncput [nrot=:U]{\psframebox*[framesep=1pt]{\dots\dots}}
\end{psmatrix}$

\end{document} 

在此处输入图片描述

答案3

这可以在 Tikz 中完成

\documentclass[border=10pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{decorations,  positioning}
\usepackage{amsmath}

\begin{document}
\begin{tikzpicture}[node distance =1.2cm]
\node (A) {$0 \rightarrow H^0(X,\mathcal{G}) 
              \rightarrow H^0(X,\mathcal{O}_X(-m)^{\oplus N})
              \rightarrow H^0(X,\mathcal{F}) 
           $};
%********************************************               
\node (B) [below=of A] 
           {$            H^1(X,\mathcal{G}) 
            \rightarrow  H^1(X,\mathcal{O}_X(-m)^{\oplus N}) 
            \rightarrow  H^1(X,\mathcal{F})
            $};
%********************************************          
\node (C) [below=of B] 
           {$            H^1(X,\mathcal{G}) 
            \rightarrow  H^1(X,\mathcal{O}_X(-m)^{\oplus N}) 
            \rightarrow  H^1(X,\mathcal{F}) \rightarrow 0
            $};
%********************************************                               
\draw [->] (A.east) .. controls +(right:3cm) and +(left:3cm) .. (B.west)
node [midway, above, sloped] {text in case};

\draw [->] (B.east)  .. controls +(right:3cm) and +(left:3cm) .. (C.west)
node[circle,fill=white,midway,sloped] {$\dots$}
node[midway,sloped,above] {text in case};
\end{tikzpicture}
\end{document}

在此处输入图片描述

相关内容