TransWikia.com

How to draw a diagram with arrows facing each other using tikz-cd?

TeX - LaTeX Asked by Yomal Perera on July 21, 2021

I want to have the four objects, with lines facing opposite directions and with lines facing each other as such:

I’m quite new to tikz-cd and I was wondering how to do this, especially with aligning the middle objects and the arrows facing each other.

One Answer

begin{tikzcd}
                         &    & {+} arrow[rd,red] arrow[ld,red] arrow[dddd,<->] &    &                                                    
                         & {} &                                       & {} &                                                    
{-} arrow[ru,red] arrow[rd,red] &    &                                       &    & {-} arrow[lu,red] arrow[ld,red] arrow[llll,<->,crossing over] 
                         & {} &                                       & {} &                                                    
                         &    & {+} arrow[lu,red] arrow[ru,red]              &    &                                                   
end{tikzcd}

hope that is helpful, enter image description here

Answered by Nour-eddine RAHMANI on July 21, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP