当在一个数学环境中加入中文字体, 例如
$$
\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;
请问可能是什么原因? 如何解决?
谢谢. 我犯蠢了, 之前一直用的text{color{red}红色}这种环境, 后面换成了textcolor{red}{红色}, 竟以为不用加text????