• Overleaf能使用自己系统中的字体嘛?


    Overleaf能使用自己系统中的字体嘛?

    Overleaf能使用自己系统中的字体嘛?

    可以的

    层次1(使用overleaf服务器上有的字体)

    可以更换一些特定的中文字体(overleaf服务器上有的字体):

    参考链接:

    https://www.cnblogs.com/LitBro/p/12074820.html

    https://www.latexstudio.net/archives/7097.html

    这个链接告诉我们,

    可以用的chinese字体有:

    • AR PL KaitiM Big5
    • AR PL KaitiM GB
    • AR PL Mingti2L Big5
    • AR PL SungtiL GB
    • AR PL UKai CN
    • AR PL UKai HK
    • AR PL UKai TW
    • AR PL UKai TW MBE
    • AR PL UMing CN
    • AR PL UMing HK
    • AR PL UMing TW
    • AR PL UMing TW MBE
    • BabelStone Han
    • Droid Sans Fallback
    • FandolFang
    • FandolHei
    • FandolKai
    • FandolSong
    • HanaMinA
    • Noto Sans CJK HK
    • Noto Sans CJK SC
    • Noto Sans CJK TC
    • Noto Sans Mono CJK HK
    • Noto Sans Mono CJK SC
    • Noto Sans Mono CJK TC
    • Noto Serif CJK SC
    • Noto Serif CJK TC
    • UKIJ CJK
    • WenQuanYi Micro Hei
    • WenQuanYi Micro Hei Mono
    • WenQuanYi Zen Hei
    • WenQuanYi Zen Hei Mono
    • WenQuanYi Zen Hei Sharp
    • cwTeXFangSong
    • cwTeXHeiBold
    • cwTeXKai
    • cwTeXMing
    • cwTeXYen
    • TW-Kai
    • TW-Sung

    目前overleaf上只有这些中文字体可以使用

    \documentclass[utf8,a4paper,12pt]{ctexart} %中文宏包
    
    % \setCJKmainfont{BabelStone Han}
    % \setCJKmainfont{FandolHei}
    % \setCJKmainfont{TW-Kai}
    % \setCJKmainfont{WenQuanYi Micro Hei Mono}
    \setCJKmainfont{cwTeXMing}
    % \setCJKmainfont{TW-Kai}
    % \setCJKmainfont{TW-Kai}
    % \setCJKmainfont{TW-Kai}
    
    
    \usepackage{amsmath}  %数学表达式
    \usepackage{graphicx} %图片
    \graphicspath{ {images/} }
    \usepackage{geometry} %调整页面边框
    \geometry{a4paper,scale=0.75}%调整到80%
    \CTEXsetup[format={\Large\bfseries}]{section}%section标题左对齐
    
    \usepackage[colorlinks, citecolor=blue]{hyperref}
    
    \title{%
      自定义中文字体测试 \\%大标题
      }
    \author{XXXXXX@pku.edu.cn} %作者和邮箱
    
    \date{\today}%日期
    
    \begin{document}                        
    \bibliographystyle{unsrt}%参考文献
    
    \maketitle
    \tableofcontents%目录
    
    \section{section1}
    中文字体
    
    % \noindent 中文字体(默认宋体)\\
    % \fangsong 中文字体(仿宋) \songti 中文字体(宋体) \lishu 中文字体(隶书) \heiti 中文字体(黑体)\\
    % \CJKfamily{zhkai} 中文字体(楷书) \CJKfamily{zhyou} 中文字体(幼圆) \CJKfamily{zhyahei} 中文字体(微软雅黑)\\
    
    \section{section2}
    
    % \bibliography{ref}
    
    \end{document}
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47

    效果如下:

    1663124798862

    层次2(使用自己自定义的字体)

    能不能上传自己的中文字体到overleaf中呢?在overleaf中使用随心所欲的字体有多难?

    应该也是可以的如下:

    1663124748043

    效果出来了(关注打马赛克的中午字体哦):

    1663125339404

    英文和中文都使用自己喜欢的字体:

    使用两个指令:

    1663125675506

    中英文字体

    TTF和OTF有什么区别

    OTFOpenType Font)是TTF 的升级版,而OTF 是采用的是PostScript 曲线,支持OpenType 高级特性的更高级字体。 TTC全称是TrueType Collection

    非常得enjoy啊!

  • 相关阅读:
    【图数据库实战】HugeGraph系列
    风格迁移篇---重用鉴别器进行编码:朝向无监督的图像到图像转换
    季胺化聚苯乙烯微球载纳米铁/镍降解氯代硝基苯/载金纳米粒子聚苯乙烯/聚丙烯酸微球的探究
    代码随想录算法训练营第60天(动态规划17● 647. 回文子串 ● 516.最长回文子序列 ● 动态规划总结篇
    Java:设计模式七大原则整理
    rsync 远程同步实现快速、安全、高效的异地备份
    大数据学习技术栈及书籍推荐
    【HCIP】高级 VLAN
    用AIGC做私活真的太赚了...
    Linux软件管理
  • 原文地址:https://blog.csdn.net/Hodors/article/details/126912606