I want to draw a vertical triangle commutative diagram:
\[
\begin{tikzcd}
X \arrow{r}{i} \arrow[swap]{d}{\varrho_x^f} & D(X) \arrow{d}{\varrho_x^g} \\
D
\end{tikzcd}
\]
but I do not know how to correct that.
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 communitySomething like this?
I've added a column, empty in the first row, with D
in the second cell.
\documentclass{article}
\usepackage{tikz-cd}
\begin{document}
\[
\begin{tikzcd}
X \arrow{rr}{i} \arrow[swap]{dr}{\varrho_x^f} & & D(X) \arrow{dl}{\varrho_x^g} \\[10pt]
& D
\end{tikzcd}
\]
\end{document}