请问latinmodern-math.otf缺失中文字体如何解决?

发布于 2021-07-18 19:14:44

当在一个数学环境中加入中文字体, 例如

$$
\pi\textcolor{red}{量纲没问题?}
$$

编译后, 出现如下错误

stderr: [WARNING] Missing character: There is no 量 (U+91CF) in font [latinmodern-math.otf]/OT:script=math; [WARNING] Missing character: There is no 纲 (U+7EB2) in font [latinmodern-math.otf]/OT:script=math; [WARNING] Missing character: There is no 没 (U+6CA1) in font [latinmodern-math.otf]/OT:script=math; [WARNING] Missing character: There is no 问 (U+95EE) in font [latinmodern-math.otf]/OT:script=math; [WARNING] Missing character: There is no 题 (U+9898) in font [latinmodern-math.otf]/OT:script=math;

请问可能是什么原因? 如何解决?

查看更多

关注者
0
被浏览
1.1k
LaTeXStudio
LaTeXStudio 2021-07-18
这家伙很懒,什么也没写!

公式里加文字 要用 \text 命令。

1 个回答

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览