我有以下 LaTeX 图表
\begin{center}
\begin{tikzcd}
\vdots \arrow[d,"\partial_{p+2}^C"] & \vdots \arrow[d,"\partial_{p+2}^D"]\\
C_{p+1} \arrow[d,"\partial_{p+1}^C"] \arrow[r,"G_{p+1}-F_{p+1}"] & D_{p+1} \arrow[d,"\partial_{p+1}^D"]\\
C_{p} \arrow[ru,"h_p" description] \arrow[r,"G_p-F_p"] \arrow[d,"\partial_p^C"] & D_{p} \arrow[d,"\partial_p^D"]\\
C_{p-1}\arrow[ru,"h_{p-1}" description]\arrow[r,"G_{p-1}-F_{p-1}"]\arrow[d,"\partial_{p-1}^C"] & D_{p-1}\arrow{d}{\partial_{p-1}^D}\\
\vdots & \vdots
\end{tikzcd}
\end{center}
但你可能意识到,它太小了,无法欣赏其细节;甚至一些元素重叠。我们可以增加图表元素的大小,或者一次增加整个图表的大小吗?我对此完全一无所知。任何帮助都将不胜感激。
答案1
您可以使用明确的长度或预定义选项之一(请参阅手册)来增加row sep
和,例如本例中使用的或:column sep
large
huge
\documentclass{article}
\usepackage{tikz-cd}
\begin{document}
\begin{center}
\begin{tikzcd}[row sep=large,column sep=huge]
\vdots \arrow[d,"\partial_{p+2}^C"] & \vdots \arrow[d,"\partial_{p+2}^D"]\\
C_{p+1} \arrow[d,"\partial_{p+1}^C"] \arrow[r,"G_{p+1}-F_{p+1}"] & D_{p+1} \arrow[d,"\partial_{p+1}^D"]\\
C_{p} \arrow[ru,"h_p" description] \arrow[r,"G_p-F_p"] \arrow[d,"\partial_p^C"] & D_{p} \arrow[d,"\partial_p^D"]\\
C_{p-1}\arrow[ru,"h_{p-1}" description]\arrow[r,"G_{p-1}-F_{p-1}"]\arrow[d,"\partial_{p-1}^C"] & D_{p-1}\arrow{d}{\partial_{p-1}^D}\\
\vdots & \vdots
\end{tikzcd}
\end{center}
\end{document}