在 ebgaramond-maths 字体中是否缺少了 \mu 和 \epsilon 字符?

huangapple go评论79阅读模式
英文:

\mu and \epsilon missing in ebgaramond-maths font?

问题

我已经搜索了很久,现在我完全绝望了,因为似乎只有我(或者是第一个?)遇到了这个问题。我正在使用pdfLaTeX编译,并且想要使用ebgaramond-maths字体(用于文本和数学公式),因为我觉得它看起来非常漂亮。然而,似乎有一些希腊字母缺失,如下所示。这是怎么可能的?还是我做错了什么?

我的最小工作示例(MWE):

\documentclass[12pt]{article}

\usepackage[cmintegrals,cmbraces]{newtxmath}
\usepackage{ebgaramond-maths}

\begin{document}
$\alpha, \beta, \gamma, \delta, \epsilon, \zeta, \eta, \theta, \iota, \kappa, \lambda, \mu, \nu, \xi, \pi, \rho, \sigma, \tau, \upsilon, \phi, \chi, \psi, \omega$
\end{document}

我得到的结果是:

在 ebgaramond-maths 字体中是否缺少了 \mu 和 \epsilon 字符?

我尝试将字体更改为ebgaramond。这给了我正确的希腊符号列表,但字体不同(而且在我看来不太美观)。

英文:

I've been searching for ages and now I became totally desperate, as it seems that I am the only (or the first?) one encountering this problem. I am compiling with pdfLaTeX and want to use ebgaramond-maths font (for both text and maths), because I think it just looks wonderful. However, it seems that there are few Greek letters missing, see below. How is this possible? Or am I doing anything wrong?

My MWE:

\documentclass[12pt]{article}

\usepackage[cmintegrals,cmbraces]{newtxmath}
\usepackage{ebgaramond-maths}

\begin{document}
$\alpha, \beta, \gamma, \delta, \epsilon, \zeta, \eta, \theta, \iota, \kappa, \lambda, \mu, \nu, \xi, \pi, \rho, \sigma, \tau, \upsilon, \phi, \chi, \psi, \omega$
\end{document}

What I get is:

在 ebgaramond-maths 字体中是否缺少了 \mu 和 \epsilon 字符?

I tried changing the font to ebgaramond. This gives me correct full list of Greek symbols, but the font is different (and less beautiful, IMHO).

答案1

得分: 0

如果你可以切换到lualatex或xelatex,你可以使用来自https://github.com/YuanshengZhao/Garamond-Math的opentype Garamond Math字体,像这样:

% !TeX TS-program = lualatex

\documentclass[12pt]{article}

\usepackage{mathtools}
\usepackage{unicode-math}
\setmathfont{Garamond Math}[Scale=MatchUppercase]

\begin{document}
$\alpha, \beta, \gamma, \delta, \epsilon, \zeta, \eta, \theta, \iota, \kappa, \lambda, \mu, \nu, \xi, \pi, \rho, \sigma, \tau, \upsilon, \phi, \chi, \psi, \omega$
\end{document}

英文:

If you can switch to either lualatex or xelatex, you can use the opentype Garamond Math font from https://github.com/YuanshengZhao/Garamond-Math like this:

% !TeX TS-program = lualatex

\documentclass[12pt]{article}

\usepackage{mathtools}
\usepackage{unicode-math}
\setmathfont{Garamond Math}[Scale=MatchUppercase]

\begin{document}
$\alpha, \beta, \gamma, \delta, \epsilon, \zeta, \eta, \theta, \iota, \kappa, \lambda, \mu, \nu, \xi, \pi, \rho, \sigma, \tau, \upsilon, \phi, \chi, \psi, \omega$
\end{document}

在 ebgaramond-maths 字体中是否缺少了 \mu 和 \epsilon 字符?

huangapple
  • 本文由 发表于 2023年8月9日 04:40:33
  • 转载请务必保留本文链接:https://go.coder-hub.com/76863078.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定