我有自定义字体。它们的尺寸很好。但是大写字母的粗体字体太大了,我不知道如何使它们的尺寸标准化。
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{amsmath,amssymb}
\usepackage{yfonts}
\usepackage{calligra}
\DeclareMathAlphabet{\mathcalligra}{T1}{calligra}{m}{n}
\DeclareFontShape{T1}{calligra}{m}{n}{<->s*[2.2]callig15}{}
\newcommand{\customfont}[1]{\mathcalligra{#1}\,}
\newcommand{\boldcustomfont}[1]{\pmb{\mathcalligra{#1}}\,}
\begin{document}
\begin{align}
&{abcdefghijklmnopqrstuvwxyz} \\
&{ABCDEFGHIJKLMNOPQRSTUVWXYZ} \\
&\customfont{abcdefghijklmnopqrstuvwxyz} \\
&\customfont{ABCDEFGHIJKLMNOPQRSTUVWXYZ} \\
&\boldcustomfont{abcdefghijklmnopqrstuvwxyz} \\
&\boldcustomfont{ABCDEFGHIJKLMNOPQRSTUVWXYZ} \\
\end{align}
\end{document}