Overleaf编译与word效果差异,且无法设置fontset #747
-
使用Overleaf在Windows编译获得pdf时,正文字体看起来比word输出的字体略显偏大,在手动设置\documentclass[degree=doctor,fontset=windows]{thuthesis}后,则编译失败,无法获得编译结果,问要怎么调整使得输出字体与word一致 |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 23 replies
-
请在 Windows 本地编译,或者上传 Windows 相应字体。受限于版权原因,模板无法提供这些字体。 |
Beta Was this translation helpful? Give feedback.
-
OverLeaf中没有和学校标准中完全一致的标准的宋体黑体,答辩秘书老师看了我论文,说字体很奇怪 尝试上传字体发现总是有问题。也尝试了使用一些命令,但是效果都不理想。找到一个解决方法如下: 首先使用一个windows电脑安装liveTEX 安装完成后abort按钮会变灰,有welcome界面 在OverLeaf网站上打开文档后,点击左上角的OverLeaf叶子图标,点击"Source"下载整个文档的压缩包,解压,找到tex主文件,会默认用texwork editor打开,点击绿色编译按钮即可得到非常标准字体的文件 |
Beta Was this translation helpful? Give feedback.
-
To compile \ifthu@cjk@font@auto
\ifthu@fontset@mac
\thusetup{cjk-font = mac}
\else
\ifthu@fontset@windows
\thusetup{cjk-font = windows}
\else
\ifthu@fontset@ubuntu
\thusetup{cjk-font = noto}
\else
\thusetup{cjk-font = fandol}
\fi
\fi
\fi
\fi \newcommand\thu@set@cjk@font@windows{%
\setCJKmainfont{simsun}[
Path = ./,
Extension = .ttc,
AutoFakeBold = 3,
ItalicFont = simkai,
ItalicFeatures = {Path = ./, Extension = .ttf},
]%
\setCJKsansfont{simhei}[
Path = ./,
Extension = .ttf,
AutoFakeBold = 3,
]%
\setCJKmonofont{simfang}[
Path = ./,
Extension = .ttf,
]%
\setCJKfamilyfont{zhsong}{simsun}[
Path = ./,
Extension = .ttc,
AutoFakeBold = 3,
]%
\setCJKfamilyfont{zhhei}{simhei}[
Path = ./,
Extension = .ttf,
AutoFakeBold = 3,
]%
\setCJKfamilyfont{zhkai}{simkai}[
Path = ./,
Extension = .ttf,
]%
\setCJKfamilyfont{zhfs}{simfang}[
Path = ./,
Extension = .ttf,
]%
} Also, change the |
Beta Was this translation helpful? Give feedback.
-
可以考虑使用 TeXPage,其中提供了 Windows 中文字体。 |
Beta Was this translation helpful? Give feedback.
-
eb938d8 修改为,若系统不存在 SimSun 字体,会尝试调用 Windows 字体的文件( |
Beta Was this translation helpful? Give feedback.
请在 Windows 本地编译,或者上传 Windows 相应字体。受限于版权原因,模板无法提供这些字体。