減小 TeX Gyre Schola Math 中希臘字母的大小?

減小 TeX Gyre Schola Math 中希臘字母的大小?

我一直在嘗試 TeX Gyre Schola(及其數學字體),我注意到希臘字母明顯比普通字母和數字大。例如,請考慮以下情況:

\documentclass[12pt]{article}

\usepackage{fontspec}
\usepackage{unicode-math}
\setmainfont{TeX Gyre Schola}
\setmathfont{TeX Gyre Schola Math}
\usepackage{lualatex-math}

\begin{document}

\[
\phi = \tan^{-1} 2\theta
\]

\end{document}

這會產生以下結果:

TeX Gyre Schola 中的大西塔

在我看來,theta 異常大。 Theta 對我來說是最引人注目的(到目前為止),但其他一些希臘字母也比我預期的要大一些。將此與拉丁現代(數學)所獲得的結果進行比較:

拉丁現代語中正常大小的 theta

這裡,theta 的高度並不比數字或字母的高度高多少。

因此,我的問題如下:有沒有辦法減少 Schola 數學字體中希臘字符的大小?或者我做錯了什麼(或沒有做我該做的事情)?

答案1

在我看來,為 TeX Gyre Schola Math 選擇的希臘小寫字母與主要字體不匹配:它們太細了,當然,其中一些太高了。

您有一些可用的策略。首先,縮小所有希臘小寫字母:

\documentclass[12pt]{article}

\usepackage{fontspec}
\usepackage{unicode-math}
\setmainfont{TeX Gyre Schola}
\setmathfont{TeX Gyre Schola Math}
%%% Scale down!
\setmathfont[range=\mathit/greek,Scale=.8]{TeX Gyre Schola Math}
%%% Circumvent a bug in unicode-math
\setmathfont[range=\int]{TeX Gyre Schola Math}
\usepackage{lualatex-math}

\begin{document}

\[
\phi = \tan^{-1} 2\theta
\]
\[
a\alpha\beta\gamma c
\]

\end{document}

在此輸入影像描述

這樣做的缺陷是alpha變得太小。

第二種策略:僅縮小太高的字母:將上面的程式碼改為

%%% Scale down!
\setmathfont[range={\mittheta,\mitbeta},Scale=.8]{TeX Gyre Schola Math}

在此輸入影像描述

您必須使用要使用的字母來擴充清單並按比例縮小。

第三:使用 XITS Math 或其他希臘字體:

%%% Scale down!
\setmathfont[range=\mathit/greek,Scale=MatchLowercase]{XITS Math}

在此輸入影像描述

相關內容