1

Consider the following code for a commutative diagram

\begin{tikzcd}[column sep=50pt]
A \arrow{d}\arrow{r} & B \arrow[leftarrow]{dl}\\
C
\end{tikzcd}

I have been able to make the right arrow from A to B longer by adding the argument [column sep=50pt]. How can I make the vertical arrow from A to C longer?

3

1 Answer 1

3

Two basic options are:

  1. Add an appropriate row sep.
  2. Add a distance after \\, e.g. \\[1.5cm].

These options do not do precisely the same in the sense that the distance specified has different meanings as is illustrated in the following example.

\documentclass{article}
\usepackage{tikz-cd}
\begin{document}
\[\begin{tikzcd}[column sep=50pt,row sep=50pt]
A \arrow{d}\arrow{r} & B \arrow[leftarrow]{dl}\\
C
\end{tikzcd}
\qquad\begin{tikzcd}[column sep=50pt]
A \arrow{d}\arrow{r} & B \arrow[leftarrow]{dl}\\[50pt]
C
\end{tikzcd}
\]
\end{document}

enter image description here

The first option might be better to set a universal row separation, the second one if you only want to change one out of several.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .