我想混合两种数学字体并替换 STIX Two Math 中我不喜欢的一些斜体拉丁字符。问题是,例如:
% !Mode:: "TeX:UTF-8"
\documentclass{article}
\usepackage{unicode-math}
\setmainfont{STIX Two Text}
\setmathfont{STIX Two Math}[bold-style=ISO]
\setmathfont{Fira Math}[
range = {"1D44E-"1D45C,"1D434-"1D442,"0210E}
]
\begin{document}
\begin{equation*}
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
\end{equation*}
\end{document}
\mit<letter>
可以在数学环境中使用而不是 来获得所需的输出<letter>
,如下面的示例所示,但每次都必须输入它,这非常不方便。
% !Mode:: "TeX:UTF-8"
\documentclass{article}
\usepackage{unicode-math}
\setmainfont{STIX Two Text}
\setmathfont{STIX Two Math}[bold-style=ISO]
\setmathfont{Fira Math}[
range = {"1D44E-"1D45C,"1D434-"1D442,"0210E}
]
\begin{document}
\begin{equation*}
\mita \mitb \mitc \mitd \mite \mitf \mitg \miti \mitj \Planckconst \mitk \mitl \mitm \mitn \mito \mitp \mitq \mitr \mits \mitt \mitu \mitv \mitw \mitx \mity \mitz \mitA \mitB \mitC \mitD \mitE \mitF \mitG \mitH \mitI \mitJ \mitK \mitL \mitM \mitN \mitO \mitP \mitQ \mitR \mitS \mitT \mitU \mitV \mitW \mitX \mitY \mitZ
\end{equation*}
\end{document}
鉴于
\begin{equation*}
答案1
您也可以指定 ascii 范围(由于 Planck 的不断使用,这里的间距不合适)
Missing character: There is no