2

I have the following diagram in 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}

enter image description here

But as you may realize, it is too small to appreciate its details; even some elements overlap. Can we increase the size of the elements of the diagram, or the whole diagram at once? I am absolutely clueless about this. Any help will be appreciated.

1 Answer 1

5

You can increase the row sep and column sep, using either explicit lengths, or one of the predefined options (see manual), such as large or huge, used in this example:

\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}  

enter image description here

1
  • :-)) You beat me for the time....I will delete my answer.
    – Sebastiano
    Commented Nov 2, 2019 at 21:33

You must log in to answer this question.

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