1

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.

4

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.