I want to draw the following graph using tikzcd.
How should I modify the following?
\begin{tikzcd}
X\ar[Rightarrow, d] \\
Y\ar[d, bend left, "g"]\ar[d, bend right, "f"swap]\\
Z
\end{tikzcd}
Thank you in advance.
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityYou only need to add dashed
option:
\documentclass[border=3.141592]{standalone}
\usepackage{tikz-cd}
\begin{document}
\begin{tikzcd}[labels={font=\scriptsize, pos=0.51}]
X \ar[d, Rightarrow, dashed] \\ % <---
Y \ar[d, bend left, "g"]
\ar[d, bend right, "f" '] \\
Z
\end{tikzcd}
\end{document}
\\
,pos=0.51
to both of the bendy arrows to move thef
andg
a bit