Forgot password?
 Create new account
View 1598|Reply 12

闲来无事,又鼓捣了一下风格、字体、字号什么的

[Copy link]

701

Threads

110K

Posts

910K

Credits

Credits
94172
QQ

Show all posts

kuing Posted at 2017-10-4 17:22:00 |Read mode
大家看来都出去玩儿了,趁人少,得闲,又来鼓捣一下风格、字体、字号什么的。

鼓捣发现,先前的公式字号比中文大的问题原来是与默认英文字体有关,如今我改用 Palatino Linotype 作为英文字体,就不必再在 mathjax 里设 85% 的 scale 了。

如果电脑上没有 Palatino Linotype ,就会选择 Times New Roman, Cambria, Verdana, Arial(按顺序优先)(其中后两个就是会使公式字号比中文明显大的,默认设置就是用这类字体)。

现在普通字号用回原来的 14px ,但帖子内容我还是觉得大些好,也就是外面和最初一样,里面大些。

继续调试中,欢迎提意见……

701

Threads

110K

Posts

910K

Credits

Credits
94172
QQ

Show all posts

 Author| kuing Posted at 2017-10-5 04:26:58
在这里切换字体也可以测试一下各种字体下的公式字号大小:

Verdana: 国$M$国

Arial: 国$M$国

Tahoma: 国$M$国

Palatino Linotype: 国$M$国

Times New Roman: 国$M$国

Cambria: 国$M$国

Garamond: 国$M$国

Georgia: 国$M$国

宋体Song: 国$M$国

仿宋_GB2312: 国$M$国

黑体Hei: 国$M$国

微软雅黑YaHei: 国$M$国

楷体_GB2312: 国$M$国

除了变大,还有变小的呢。

801

Threads

4889

Posts

310K

Credits

Credits
36169

Show all posts

isee Posted at 2017-10-5 10:21:40
英文 Palatino Linotype  + 宋体 默认大小,在1920*1080  + opera dev 浏览下,显太细且小。

701

Threads

110K

Posts

910K

Credits

Credits
94172
QQ

Show all posts

 Author| kuing Posted at 2017-10-5 13:16:59
回复 3# isee

我这里也是 1920*1080,浏览器我用 chrome 效果还可以。

那换 Times 的如何?效果参照2#

801

Threads

4889

Posts

310K

Credits

Credits
36169

Show all posts

isee Posted at 2017-10-5 14:18:46
Last edited by isee at 2017-10-5 14:24:00回复 4# kuing

这主页面,及回复下,多小。。。(可能是打开具体帖子页面的字号 主页面的字号大些,所以,这种(不打开帖时的页面)明显感觉是特别(小))
snap.gif

701

Threads

110K

Posts

910K

Credits

Credits
94172
QQ

Show all posts

 Author| kuing Posted at 2017-10-5 14:41:59
回复 5# isee

soga,确实里外不应该差太多,嘛,我还是换回去吧

701

Threads

110K

Posts

910K

Credits

Credits
94172
QQ

Show all posts

 Author| kuing Posted at 2017-10-6 13:51:13
留了最后一个风格用来测试,被我改了很多东西

87

Threads

2383

Posts

110K

Credits

Credits
13325

Show all posts

其妙 Posted at 2017-10-6 20:50:59
以前的风格虽然不错,但前两天的风格也让人耳目一新

801

Threads

4889

Posts

310K

Credits

Credits
36169

Show all posts

isee Posted at 2017-10-15 13:51:08
现在哪种风格是 将 新罗马 缩小到 85% 的?
我选默认风格时,数学中的字母又大了。。。

701

Threads

110K

Posts

910K

Credits

Credits
94172
QQ

Show all posts

 Author| kuing Posted at 2017-10-15 14:12:44
回复 9# isee

不好意思,前两天搞存档时调整过,忘了调回去,现在应该可以了。

如果还没自动变回85%,可右键选择 Math Settings > Scale All Math 来手动调整。

PS、公式缩放与风格无关。

801

Threads

4889

Posts

310K

Credits

Credits
36169

Show all posts

isee Posted at 2017-10-15 14:15:52
回复 10# kuing

果然,已经OK了,无需什么键。。

3146

Threads

8493

Posts

610K

Credits

Credits
66158
QQ

Show all posts

hbghlyj Posted at 2023-2-9 06:38:32
kuing 发表于 2017-10-4 21:26
在这里切换字体也可以测试一下各种字体下的公式字号大小:

Verdana: 国$M$国
发现Garamond美元是双竖线
Tahoma $0379
Georgia $0379
Garamond $0379

还发现Georgia的数字3479截断下划线, 但是一般字体3479在下划线上方, 不会截断下划线.
Georgia的数字0很扁, 像o, 可能是为了使它的上端与3,7,9对齐.
MSE的正文字体是Georgia.
Text figures
Georgia is an example of a popular typeface that employs text figures by default.

Lining figures (lnum) · Oldstyle figures (onum)
Modern OpenType fonts generally include both, and being able to switch via lnum and onum feature tags.

MDN CSS font-variant-numeric: oldstyle-nums;

701

Threads

110K

Posts

910K

Credits

Credits
94172
QQ

Show all posts

 Author| kuing Posted at 2023-2-9 14:19:00
hbghlyj 发表于 2023-2-9 06:38
发现Garamond美元是双竖线
Tahoma $0379
Georgia $0379
34579下沉
012矮
68高

手机版Mobile version|Leisure Math Forum

2025-4-20 22:04 GMT+8

Powered by Discuz!

× Quick Reply To Top Return to the list