我非常喜欢 Libertine,并且对 Libertinus 中更好的数学显示感到兴奋。但是当我在 Libertinus 中设置它们时,许多数学细节相当丑陋。例如,当我在指数中使用分数时。这是 Libertinus:
\documentclass{article}
\usepackage{amsmath,amssymb,amsbsy}
\usepackage{unicode-math}
\setmainfont{Libertinus Serif}
\setmathfont{Libertinus Math}
\begin{document}
The curvature is defined as
\begin{equation}
\kappa_0 = \frac{h_{0,xx}}{\left( 1+h_{0,x}^2 \right)^\frac{3}{2}}.
\end{equation}
\end{document}
这与古老的浪荡子有同样的道理:
\documentclass{article}
\usepackage{amsmath,amssymb,amsbsy}
\usepackage{libertine}
\usepackage[libertine]{newtxmath}
\begin{document}
The curvature is defined as
\begin{equation}
\kappa_0 = \frac{h_{0,xx}}{\left( 1+h_{0,x}^2 \right)^\frac{3}{2}}.
\end{equation}
\end{document}
Libertine 获胜。我在 Libertinus 代码中做错了什么吗?谢谢!