enter image description here

Is there a way in Tikz to draw a diagram like this?

  • 3
    I think the answer is probably: Yes.
    – Johannes_B
    Nov 8, 2019 at 17:51
  • Use tikz-cd.
    – nidhin
    Nov 8, 2019 at 17:52
  • Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format.
    – Holene
    Nov 8, 2019 at 17:55
  • Ok so i've looked up the doc of tikz-cd but there is no "no arrow" that equals these entail symbols
    – Rack Cloud
    Nov 8, 2019 at 17:56

1 Answer 1


To give you a start. The shift of -6pt is explained as twice the inner sep plus the outer sep, all of which have default values of 2pt. Solutions using \makebox to achieve the same screw up the bounding box.

\begin{tikzcd}[every arrow/.append style={%
    double distance=0.4ex,cyan,-{Bar[width=1.6ex]}}]
  & \varphi_3\arrow[dl]\arrow[d]\\
  \varphi_2 \arrow[ddr,shift right=1ex] & 
    |[label={[xshift=-6pt]right:\equiv\varphi_6}]|\varphi_1 \arrow[d]\\

enter image description here

I do not know if the red marks are on purpose in your screen shot. If they are, it is easy to add them as long as it is clear what they are (check marks, brackets, ???).

  • Damn thanks mate. Could you explain the change of arrows so in the future i know how to change them?
    – Rack Cloud
    Nov 8, 2019 at 18:07
  • @RackCloud All I did was to add every arrow/.append style={double distance=0.4ex,cyan,-{Bar[width=1.6ex]}} to control their appearance. double distance=<distance> means that they are drawn as double lines separated by <distance>, cyan is a color and the Bar arrow head can be looked up in section 16.5 Reference: Arrow Tips of the pgfmanual v3.1.4.
    – user194703
    Nov 8, 2019 at 18:11
  • \begin{tikzcd} & \varphi_7 \equiv\varphi_8 \arrow[d] \end{tikzcd} now i want to add a diagram that 7 equals 8 tried to just delete the other points but it didn't work am new to tikz and latex
    – Rack Cloud
    Nov 8, 2019 at 18:25
  • Got it \begin{tikzcd} & \varphi_7\equiv\varphi_8 \end{tikzcd}
    – Rack Cloud
    Nov 8, 2019 at 18:26
  • @RackCloud If you say \arrow[d] in a given cell, then you need to make sure that a cell below that cell exists. So e.g. \begin{tikzcd} & \varphi_7 \equiv\varphi_8 \arrow[d] \\ & {} \end{tikzcd} will work.
    – user194703
    Nov 8, 2019 at 18:27

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.