我有下图,但我想让它的长度短一点。我试过使用 \Scale,但没有成功。任何建议都会有用。
\begin{equation}
\begin{tikzcd}[every arrow/.append style={-latex}]
\cdots\arrow{r}
&A
\arrow{rr}{d}
\arrow{dr}{g}
&
&B
\arrow{dr}{g}
\arrow{rr}{d}
&
&C
\arrow{r}
\arrow{dr}{}
&\cdots\\
D
\arrow{ur}{}
&
&E
\arrow{ur}{f}
\arrow[dashed]{ll}
&
&F
\arrow[dashed]{ll}
\arrow{ur}{f}
&
&G
\arrow[dashed]{ll}
\end{tikzcd}
\end{equation}
答案1
采取行动column sep
:
\documentclass{article}
\usepackage{amsmath,tikz-cd}
\begin{document}
\begin{equation*}
\begin{tikzcd}[column sep=1.2em]
\cdots\arrow[r]
&A
\arrow[rr,"d"]
\arrow[dr,"g"]
&&B
\arrow[dr,"g"]
\arrow[rr,"d"]
&&C
\arrow[r]
\arrow[dr]
&\cdots\\
D\arrow[ur]
&&E
\arrow[ur,"f"]
\arrow[dashed,ll]
&&F
\arrow[dashed,ll]
\arrow[ur,"f"]
&&G
\arrow[dashed,ll]
\end{tikzcd}
\end{equation*}
\end{document}
抱歉,我受不了箭头-latex
。;-)
如果你想要它们,请将选项更改为
\begin{tikzcd}[column sep=1.2em,arrows=-latex]