Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于mac下 monofont 字体特别设定 #782

Closed
liziwl opened this issue May 13, 2022 · 3 comments
Closed

关于mac下 monofont 字体特别设定 #782

liziwl opened this issue May 13, 2022 · 3 comments

Comments

@liziwl
Copy link

liziwl commented May 13, 2022

thuthesis/thuthesis.dtx

Lines 2273 to 2280 in e0b5751

\newcommand\thu@set@font@times{%
\setmainfont{Times New Roman}%
\setsansfont{Arial}%
\ifthu@system@mac
\setmonofont{Menlo}[Scale = MatchLowercase]%
\else
\setmonofont{Courier New}[Scale = MatchLowercase]%
\fi

Mac 下采用了 Menlo 并没有采用和 Windows一致的 Courier New 字体,但是根据 Apple 官方文件是默认自带的,最新的12和和11都是包含 Courier New 字体的。这是什么原因要特别设定呢?

@liziwl liziwl changed the title 关于mac下字体特别设定 关于mac下 monofont 字体特别设定 May 13, 2022
@Harry-Chen
Copy link
Member

写作指南并未规定等宽字体,而 Courier New 并不好看…有需要可以自行修改

@jiguanglizipao
Copy link

我认为通过fontset来设置会比较统一。
可否将\ifthu@system@mac改为\ifthu@fontset@mac?

@zepinglee
Copy link
Contributor

我认为通过fontset来设置会比较统一。 可否将\ifthu@system@mac改为\ifthu@fontset@mac?

感觉有道理,我稍后改一下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants