The CTeX package (http://ctan.org/pkg/ctex) provides a style common in Chinese typsetting. However, many CTeX-based templates uses fonts bundled with Windows, which are unavailable on Overleaf.
This example shows how the CTeX package can be configured to use fonts installed on Overleaf. The default Fandol font works if you compile with XeLaTeX or LuaLaTeX. You may upload your own OTF/TTF fonts and use those also, but do be aware that Chinese font files are usually quite large!
应该有很多 CTeX 用户把自己的文件上载到 Overleaf 后,才发现由于没有 Windows 默认字体,文件不能编译而抓狂吧。不过这是可以改正的。在这个范例里,我们挪用了 Overleaf 伺服器上已有的字体,CTeX 文件就可以编译了。
Overleaf is perfect for all types of projects — from papers and presentations to newsletters, CVs and much more! It's also a great way to learn how to use LaTeX and produce professional looking projects quickly.
Upload or create templates for journals you submit to and theses and presentation templates for your institution. Just create it as a project on Overleaf and use the publish menu. It's free! No sign-up required.
New template are added all the time. Follow us on twitter for the highlights!
Overleaf is a free online collaborative LaTeX editor. No sign up required.
Learn more