I would like to draw a commutative triangle with tikzcd where the entries have different sizes.
\[
\begin{tikzcd}[column sep=15pt]
\mathcal{C} \ar{rr} \ar{dr} & & S(\tau) \ar{dl} \\
& \mathsf{Set} &
\end{tikzcd}
\]
This produces a slight asymmetry (the arrow on the right is more slanted, and the middle entry is not in the middle):
One solution is to use the following tikzcd-option:
cells={nodes={align=center,text width=\widthof{$S(\tau)$}}}
The output looks as follows:
But now the arrow doesn't start at the left entry. How to make this happen?
Best Answer
Update
This feature is mentioned in the TikZ manual, namely III.20.3.2.
Old Answer
The column-separating symbol
&
accepts an optional argument. Just like\\[6pt]
does,&[6]
adds the currentcol sep
by6
...pt
by default.