GithubHelp home page GithubHelp logo

Comments (6)

sikouhjw avatar sikouhjw commented on July 29, 2024 1

TNR 的文件名是 times.ttf

在 overleaf 分支中,只看到 Times-New-Roman.ttf 这个字体,没看到 times.ttf 这个,我自己从 windows C:\windows/fonts 复制出 TIMES.TTF 这个文件,改成

\setmainfont[Mapping=tex-text]{TIMES.TTF}

效果如下,但是没有加粗。

image

另外,从 windows 复制的字体有这么多,这是从中选了一个。

image

如果指定“字体文件名”设置字体,需要手动设置粗体等。如果指定“字体名”,则一般不需要。

Overleaf/Linux 平台不支持“字体名”,因此需要手动指定。手动指定粗体的代码参考 texdoc fontspec

from scut_thesis.

sikouhjw avatar sikouhjw commented on July 29, 2024

TNR 的文件名是 times.ttf

from scut_thesis.

h-hg avatar h-hg commented on July 29, 2024

TNR 的文件名是 times.ttf

在 overleaf 分支中,只看到 Times-New-Roman.ttf 这个字体,没看到 times.ttf 这个,我自己从 windows C:\windows/fonts 复制出 TIMES.TTF 这个文件,改成

\setmainfont[Mapping=tex-text]{TIMES.TTF}

效果如下,但是没有加粗。

image

另外,从 windows 复制的字体有这么多,这是从中选了一个。

image

from scut_thesis.

mengchaoheng avatar mengchaoheng commented on July 29, 2024

from scut_thesis.

h-hg avatar h-hg commented on July 29, 2024

字体这部分,确实需要diy一下,平台和电脑不同都不同,我也在设置文件夹给了一些字体文件。可以看看主分支。

---- 回复的原邮件 ---- | 发件人 | Hunter @.> | | 发送日期 | 2024年02月22日 11:09 | | 收件人 | mengchaoheng/SCUT_thesis @.> | | 抄送人 | Subscribed @.> | | 主题 | Re: [mengchaoheng/SCUT_thesis] 英文字体在 Linux 平台出错 (Issue #53) | TNR 的文件名是 times.ttf 在 overleaf 分支中,只看到 Times-New-Roman.ttf 这个字体,没看到 times.ttf 这个,我自己从 windows C:\windows/fonts 复制出 TIMES.TTF 这个文件,改成 \setmainfont[Mapping=tex-text]{TIMES.TTF} 效果如下,但是没有加粗。 image.png (view on web) 另外,从 windows 复制的字体有这么多,这是从中选了一个。 image.png (view on web) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.>

主分支的代码也是这个?

\setmainfont[Mapping=tex-text]{Times New Roman}%\rmfamily 使用的字体,默认英文和数字的字体。

from scut_thesis.

mengchaoheng avatar mengchaoheng commented on July 29, 2024

from scut_thesis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.