Forgot password?
 Create new account
View 173|Reply 10

字母 д 在公式中变为 ∂

[Copy link]

3147

Threads

8493

Posts

610K

Credits

Credits
66163
QQ

Show all posts

hbghlyj Posted at 2024-11-13 08:21:11 |Read mode
Last edited by hbghlyj at 2024-11-13 08:48:00字母 д 在公式中变为 ∂ :$д \text{д}$
  1. $д \text{д}$
Copy the Code

Screenshot 2024-11-13 001959.png

701

Threads

110K

Posts

910K

Credits

Credits
94177
QQ

Show all posts

kuing Posted at 2024-11-13 14:44:41
Last edited by kuing at 2024-11-13 15:03:00可能和本地的字体有关,我这里就没变:
PixPin_2024-11-13_14-47-47.png
论坛上也是 $д \text{д}$ 得:$д \text{д}$,字体都是 SimSun (当然你看应该也是变成了 ∂,你看一下是什么字体吧)

Comment

字体是 Times New Roman  Posted at 2024-11-13 15:56

3147

Threads

8493

Posts

610K

Credits

Credits
66163
QQ

Show all posts

 Author| hbghlyj Posted at 2024-11-13 16:00:25
C:\Windows\Fonts\timesi.ttf(times的斜体)
$type timesi.ttf (956.01 KB, Downloads: 25)
fontsee.com 测试为:
Screenshot 2024-11-13 080003.png

3147

Threads

8493

Posts

610K

Credits

Credits
66163
QQ

Show all posts

 Author| hbghlyj Posted at 2024-11-13 16:01:39
是否与字体的版本有关?版本号是7.05
Screenshot 2024-11-13 080101.png

701

Threads

110K

Posts

910K

Credits

Credits
94177
QQ

Show all posts

kuing Posted at 2024-11-13 16:16:16
所以这个问题已经和 mathjax 无关

Comment

试着从MathJax方面解决此问题。MathJax默认的字体serif,能不能设为SimSun字体呢?  Posted at 2024-11-14 06:53

3147

Threads

8493

Posts

610K

Credits

Credits
66163
QQ

Show all posts

 Author| hbghlyj Posted at 2024-11-13 17:11:42
kuing 发表于 2024-11-13 06:44
得:$д \text{д}$ ...
如果加上style="font-family: SimSun;"就正常了:
Screenshot 2024-11-13 091106.png

3147

Threads

8493

Posts

610K

Credits

Credits
66163
QQ

Show all posts

 Author| hbghlyj Posted at 2024-11-13 17:14:31
kuing 发表于 2024-11-13 08:16
所以这个问题已经和 mathjax 无关
MathJax输出的SVG的这部分为
<g data-mml-node="math">
<g data-mml-node="mi">
<text data-variant="italic" transform="scale(1,-1)" font-size="810.3px" font-family="serif" font-style="italic">д</text>
</g>
<g data-mml-node="mtext" transform="translate(409.8,0)"><text data-variant="normal" transform="scale(1,-1)" font-size="810.3px" font-family="serif">д</text>
</g>
</g>

可见,MathJax通过属性font-family="serif"为它们指定了字体serif.
为什么是SimSun呢?

3147

Threads

8493

Posts

610K

Credits

Credits
66163
QQ

Show all posts

 Author| hbghlyj Posted at 2024-11-13 17:18:52

您将 serif 字体设为了 SimSun 吗?

Comment

是  Posted at 2024-11-13 17:39

手机版Mobile version|Leisure Math Forum

2025-4-20 22:20 GMT+8

Powered by Discuz!

× Quick Reply To Top Return to the list