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.

0

1 Answer 1

4

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}
2
  • Can I add that command somewhere else so that it can be applied to all my existing diagrams?
    – Akerbeltz
    Commented Nov 3, 2019 at 17:58
  • 1
    @Akerbeltz Sure. I added the relevant command to the answer.
    – user194703
    Commented Nov 3, 2019 at 18:00

You must log in to answer this question.

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