Tikz 中交换图中的弯曲垂直箭头

Tikz 中交换图中的弯曲垂直箭头

我希望中间的双箭头是弯曲的。这是我现在得到的:

\[\begin{tikzcd}
    \bullet \arrow[bend left=75]{rr}[name=O]{ff'}   \arrow[bend right=75]{rr}[name=S,swap]{gg'} 
                \arrow[bend left=50]{r}[name=U]{f}          
                \arrow[bend right=50]{r}[name=D,below]{g}
        & \bullet
    \arrow[Rightarrow,to path=(U)  --  (D)]{}   
                \arrow[bend left=50]{r}[name=W]{f'}         
                \arrow[bend right=50]{r}[name=E,below]{g'}
        & \bullet
    \arrow[Rightarrow,to path=(W)  --  (E)]{}
    \arrow[Rightarrow,to path=(O) -- (S)]{}
\end{tikzcd}\]

我所有的尝试都失败了。

答案1

致谢 Gonzalo Medina:https://tex.stackexchange.com/a/50955/101651

\documentclass{article}
\usepackage{tikz-cd}
\begin{document}
Like this?
\[
\begin{tikzcd}
    \bullet \arrow[bend left=75]{rr}[name=O]{ff'} 
            \arrow[bend right=75]{rr}[name=S,swap]{gg'} 
            \arrow[bend left=50]{r}[name=U]{f}          
            \arrow[bend right=50]{r}[name=D,below]{g}
    & 
    \bullet \arrow[Rightarrow, to path=(U) -- (D)]{}   
            \arrow[bend left=50]{r}[name=W]{f'}         
            \arrow[bend right=50]{r}[name=E,below]{g'}
    & 
    \bullet \arrow[Rightarrow,to path=(W) -- (E)]{}
            \arrow[Rightarrow,to path={(O) ..controls +(2.5,0.7) and +(2.5,-0.7).. (S)}]{}
\end{tikzcd}
\]
Or like this?
\[
\begin{tikzcd}
    \bullet \arrow[bend left=75]{rr}[name=O]{ff'} 
            \arrow[bend right=75]{rr}[name=S,swap]{gg'} 
            \arrow[bend left=50]{r}[name=U]{f}          
            \arrow[bend right=50]{r}[name=D,below]{g}
    & 
    \bullet \arrow[Rightarrow, to path=(U) -- (D)]{}   
            \arrow[bend left=50]{r}[name=W]{f'}         
            \arrow[bend right=50]{r}[name=E,below]{g'}
    & 
    \bullet \arrow[Rightarrow,to path=(W) -- (E)]{}
            \arrow[Rightarrow, shorten >=2pt, shorten <=3pt,
                to path={(O) ..controls +(.4,-1) and +(.4,1).. (S)}]{}
\end{tikzcd}
\]
\end{document}

在此处输入图片描述

相关内容