I have been trying to make manual cell shifting in a tikz-cd diagram work in my case, but I am running into some issues when my diagram gets too big.
My desired diagram is something like
\documentclass[a41empaperpt]{article}
\usepackage{tikz-cd}
\usepackage{amsmath}
\usepackage{tikz}
\newcommand*\circled[1]{\tikz[baseline=(char.base)]{
\node[shape=circle,draw,inner sep=2pt] (char) {#1};}}
\begin{document}
\begin{equation}
\begin{tikzcd}
& S(F) \arrow[ddddl, "\operatorname{id}"']\arrow[dd, "\operatorname{pr}^*"] \arrow{rr} & & F \arrow[dd, "\operatorname{pr}^*"]\rar{R} & Z(F) \arrow[ddddddl, bend left = 75, dotted, "\beta"]\arrow[dd, "\operatorname{pr}^*"] \\
& & \circled{2} & & \\
& IS(F) \arrow[ddl, "\partial_0^*", "\simeq"' ] \arrow[dddd, bend left = 90, "0", "\circled{3}"'] \arrow[dd, "\operatorname{id}"]\arrow[rr] & & I(F) \arrow[dddd, bend left = 30, "\partial_1^*-\partial_0^*"] \rar{R} & IZ(F) \arrow[ddddl, bend left = 45, dotted, "\alpha"]\\
\\
S(F) \arrow[ddr, "0"']\arrow[r, "\operatorname{pr}^*", "\simeq"'] &[-10pt] IS(F) \arrow[dd, "\operatorname{\partial_1^*-\partial_0^*}"] & & \circled{1} \\
\\
& S(F)\arrow[rr] & & F
\end{tikzcd}
\end{equation}
\end{document}
But the bendy arrow goes through \circled{3}
, which I would like to manually move it to the left to avoid collision with the arrow.
EDIT: Now the bendy arrow does not collide, but the \circled{3}
is smaller than the other ones.
Using the linked question, I can do something like
\begin{equation}
\begin{tikzcd}
& IS(F) \arrow[rrr] \arrow[d, "\operatorname{id}"]\arrow[dd, bend left = 75, "0"]&[-30pt] & & I(F)\\
S(F) & IS(F) \arrow[d, "\partial_1^*-\partial_0^*"]&\circled{3}& \circled{1}& \\
& S(F) &&& F \\
\end{tikzcd}
\end{equtation}
Which seems to work, except when I add a top row it breaks:
\begin{equation}
\begin{tikzcd}
& S(F) & F \\
& IS(F) \arrow[rrr] \arrow[d, "\operatorname{id}"]\arrow[dd, bend left = 75, "0"]&[-30pt] & & I(F)\\
S(F) & IS(F) \arrow[d, "\partial_1^*-\partial_0^*"]&\circled{3}& \circled{1}& \\
& S(F) &&& F \\
\end{tikzcd}
\end{equation}
Any help is appreciated!
\circled
is not defined and the class of the document is missing.! Missing $ inserted.
tikzcd
is not ended correctly. Please always make sure that yuour example actually compiles.