4

I am writing a LaTeX document with lots of diagrams, however, I just found out their labels are too small to be read. For example, take a look at the diagram

\begin{tikzcd}[row sep=large,column sep=large]
        0 \arrow[r] & C_{\bullet} \arrow[d,"\gamma"] \arrow[r,"F"] & D_{\bullet} \arrow[d,"\delta"] \arrow[r,"G"] & E_{\bullet} \arrow[d,"\epsilon"] \arrow[r] & 0\\
        0 \arrow[r] & C'_{\bullet} \arrow[r,"F"] & D'_{\bullet} \arrow[r,"G"] & E'_{\bullet} \arrow[r] & 0\\
    \end{tikzcd}

enter image description here

The general settings of the document are given by

\documentclass[11pt,a4paper,twoside]{book}

And I would simply like to view F,G,\gamma,\delta and \epsilon as regular mathmode letters, with their usual shape and size.

Thanks in advance for your help.

3

It suffices to add every label/.append style={font=\normalsize}.

\documentclass[11pt,a4paper,twoside]{book}
\usepackage{tikz-cd}
\begin{document}
\begin{tikzcd}[row sep=large,column sep=large,every label/.append
style={font=\normalsize}]
        0 \arrow[r] & C_{\bullet} \arrow[d,"\gamma"] \arrow[r,"F"] & D_{\bullet} \arrow[d,"\delta"] \arrow[r,"G"] & E_{\bullet} \arrow[d,"\epsilon"] \arrow[r] & 0\\
        0 \arrow[r] & C'_{\bullet} \arrow[r,"F"] & D'_{\bullet} \arrow[r,"G"] & E'_{\bullet} \arrow[r] & 0\\
    \end{tikzcd}
\end{document}

enter image description here

If you wish to apply this to all your diagrams, use

\tikzcdset{every label/.append style={font=\normalsize}}

\documentclass[11pt,a4paper,twoside]{book}
\usepackage{tikz-cd}
\tikzcdset{every label/.append style={font=\normalsize}}
\begin{document}
\begin{tikzcd}[row sep=large,column sep=large]
        0 \arrow[r] & C_{\bullet} \arrow[d,"\gamma"] \arrow[r,"F"] & D_{\bullet} \arrow[d,"\delta"] \arrow[r,"G"] & E_{\bullet} \arrow[d,"\epsilon"] \arrow[r] & 0\\
        0 \arrow[r] & C'_{\bullet} \arrow[r,"F"] & D'_{\bullet} \arrow[r,"G"] & E'_{\bullet} \arrow[r] & 0\\
    \end{tikzcd}
\end{document}
  • Can I add that command somewhere else so that it can be applied to all my existing diagrams? – Akerbeltz Nov 3 at 17:58
  • 1
    @Akerbeltz Sure. I added the relevant command to the answer. – Schrödinger's cat Nov 3 at 18:00

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.