我正在编写一个包含大量图表的 LaTeX 文档,但我发现它们的标签太小,无法读取。例如,看一下图表
\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}
文档的常规设置如下
\documentclass[11pt,a4paper,twoside]{book}
我只是想将 F、G、\gamma、\delta 和 \epsilon 视为常规数学模式字母,具有其通常的形状和大小。
在此先感谢您的帮助。
答案1
添加就足够了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}
如果你希望将其应用于所有图表,请使用
\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}