{"action":"created","issue":{"url":"https://api.github.com/repos/xueruini/thuthesis/issues/361","repository_url":"https://api.github.com/repos/xueruini/thuthesis","labels_url":"https://api.github.com/repos/xueruini/thuthesis/issues/361/labels{/name}","comments_url":"https://api.github.com/repos/xueruini/thuthesis/issues/361/comments","events_url":"https://api.github.com/repos/xueruini/thuthesis/issues/361/events","html_url":"https://github.com/xueruini/thuthesis/issues/361","id":333041044,"node_id":"MDU6SXNzdWUzMzMwNDEwNDQ=","number":361,"title":"西文字体使用严格的 Times New Roman 和 Arial","user":{"login":"zepinglee","id":12290822,"node_id":"MDQ6VXNlcjEyMjkwODIy","avatar_url":"https://avatars0.githubusercontent.com/u/12290822?v=4","gravatar_id":"","url":"https://api.github.com/users/zepinglee","html_url":"https://github.com/zepinglee","followers_url":"https://api.github.com/users/zepinglee/followers","following_url":"https://api.github.com/users/zepinglee/following{/other_user}","gists_url":"https://api.github.com/users/zepinglee/gists{/gist_id}","starred_url":"https://api.github.com/users/zepinglee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zepinglee/subscriptions","organizations_url":"https://api.github.com/users/zepinglee/orgs","repos_url":"https://api.github.com/users/zepinglee/repos","events_url":"https://api.github.com/users/zepinglee/events{/privacy}","received_events_url":"https://api.github.com/users/zepinglee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2018-06-17T07:01:59Z","updated_at":"2018-06-21T07:08:43Z","closed_at":null,"author_association":"COLLABORATOR","body":"类似于 #296 ，学校要求的是 Times New Roman 和 Arial 字体，目前模板使用 newtx 来配置西文字体：\r\n```\r\n\\PassOptionsToPackage{no-math}{fontspec}\r\n\\RequirePackage[defaultsups]{newtxtext}\r\n\\RequirePackage{newtxmath}\r\n```\r\n正如 @Stone-Zeng 在 #296 所讲，newtx 实际用的是 TeX Gyre Termes。其实它更接近 Times 而不是 Times New Roman （注意“S”的衬线）。另外 newtx 还调用了 TeX Gyre Heros 作为无衬线字体，这个字体更接近 Helvetica 而不是 Arial （注意“a”的尾巴）。虽然这两组字体比较接近，但是严格上还是不太一样的。所以要不要考虑使用真正的 Times New Roman 和 Arial？我没找到之前相关的讨论。\r\n\r\n我建议的方案是：\r\n```\r\n\\PassOptionsToPackage{no-math}{fontspec}\r\n\\setmainfont{Times New Roman}\r\n\\setsansfont{Arial}\r\n```\r\n这样正文使用规定的字体，数学使用 Computer Modern Math；缺点是舍弃了 pdflatex 的支持。"},"comment":{"url":"https://api.github.com/repos/xueruini/thuthesis/issues/comments/398999207","html_url":"https://github.com/xueruini/thuthesis/issues/361#issuecomment-398999207","issue_url":"https://api.github.com/repos/xueruini/thuthesis/issues/361","id":398999207,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODk5OTIwNw==","user":{"login":"zepinglee","id":12290822,"node_id":"MDQ6VXNlcjEyMjkwODIy","avatar_url":"https://avatars0.githubusercontent.com/u/12290822?v=4","gravatar_id":"","url":"https://api.github.com/users/zepinglee","html_url":"https://github.com/zepinglee","followers_url":"https://api.github.com/users/zepinglee/followers","following_url":"https://api.github.com/users/zepinglee/following{/other_user}","gists_url":"https://api.github.com/users/zepinglee/gists{/gist_id}","starred_url":"https://api.github.com/users/zepinglee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zepinglee/subscriptions","organizations_url":"https://api.github.com/users/zepinglee/orgs","repos_url":"https://api.github.com/users/zepinglee/repos","events_url":"https://api.github.com/users/zepinglee/events{/privacy}","received_events_url":"https://api.github.com/users/zepinglee/received_events","type":"User","site_admin":false},"created_at":"2018-06-21T07:08:43Z","updated_at":"2018-06-21T07:08:43Z","author_association":"COLLABORATOR","body":"@xueruini 需要些时间，完成后会发 PR"}}
{"actor":{"display_login":"zepinglee"}}