I want to build a chain of commutative diagram

I did get the code here for building the commutative diagram. This is the code.

V_1 \arrow{r} \arrow{d}{f_1} &
  V_2    \arrow{r} \arrow{d}{f_2} &
 \cdots \arrow{r} &
  V_{n-1} \arrow{r}    \arrow{d}{f_{n-1}} &
  V_n \arrow{d}{f_n}
W_1 \arrow{r} &
 W_2      \arrow{r} &
 \cdots      \arrow{r} &
  W_{n-1} \arrow{r} &

which gives this output

enter image description here

I am almost done. I just want to know what do I change in \arrow{r} to make the right arrow to be two sided arrow or hook arrow or curved arrow.

I want output to look like these

chain of Commutative diagram

Curved arrow

Please share some manual that gives different keywords for different kind of arrows.

  • 3
    Simply use an option to arrow: \arrow[<->]{r}.
    – Sigur
    May 3 '19 at 15:07
  • 2
    To bend the arrow: \arrow[bend right]{r} or \arrow[bend left]{r}.
    – Sigur
    May 3 '19 at 15:09
  • Thank you.. \arrow[<->]{r} works. But how do add a curved arrow from one variable to other surpassing one or more middle variables.. Like in the last diagram above ? May 3 '19 at 15:13
  • 2
    Use r twice: \arrow[bend right]{rr}
    – Sigur
    May 3 '19 at 15:14
  • That works well :) Thank you May 3 '19 at 15:17

For two sided arrow, simply replace it by: \arrow[<->]{r}.

To bend the arrow, use: \arrow[bend right]{r} or \arrow[bend left]{r}

Use \arrow[bend right]{rr}to point the curved arrow to next but one variable.

To get the output as in last image, use this code


I    \arrow{r}{s}
     \arrow[bend right]{rr}{\mathbbm{1}} &
X^c  \arrow{r}{p}                        &

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.