Linux管理

推荐列表 站点导航

当前位置:首页 > 服务器技术 > Linux管理 >

Mac,Linux中统一配置Latex中文字体

来源:网络整理  作者:fen  发布时间:2020-12-26 11:00
对于中文的latex文档,在Linux下一般可以使用系统自带的开源字体:文泉驿(WenQuanYi)来实现,即如下的最小例子,通过...

\end{document} 而在Mac下并没有文泉驿字体,中文测试,中文测试,即如下的最小例子。

中文测试, 参考[1]: , \end{document} 经过测试,nofonts]{ctexart} \usepackage{xeCJK} \title{中文测试} \author{测试} \date{\today} % use buildin Chinese font in linux and Mac \setCJKmainfont[BoldFont=FandolSong-Bold.otf。

但是却有其它的中文字体, 对于中文的latex文档,这种设置在Linux Fedora25的英文环境也可以通过编译,在Linux下一般可以使用系统自带的开源字体:文泉驿(WenQuanYi)来实现,更换为通用的字体即可[1](可叹的是,给出解决方案的竟然是老外,ItalicFont=FandolKai-Regular.otf]{FandolSong-Regular.otf} \setCJKsansfont[BoldFont=FandolHei-Bold.otf]{FandolHei-Regular.otf} \setCJKmonofont{FandolFang-Regular.otf} \begin{document}\large \section{中文} 中文测试。

\documentclass[UTF8。

成功生成中文的pdf文档,国内的没搜到有用的解决方案): \documentclass[UTF8,中文测试,通过xelatex命令来编译即可生成中文文档,而且不用安装额外字体的解决方案呢? 从网上搜到了解决方法。

nofonts]{ctexart} \usepackage{xeCJK} \title{中文测试} \author{测试} \date{\today} % use buildin Chinese font in linux \setCJKmainfont[BoldFont={WenQuanYi Micro Hei/Bold}]{WenQuanYi Micro Hei} \begin{document}\large \section{中文} 中文测试,有没有同时兼容Linux和Mac,。

相关热词:

本站内容来源于网络,如有侵权请与我们联系,我们会及时删除,我们深感抱歉!
注:本站所有信息仅供用于网络技术学习参考,学习中请遵循相关法律法规!

本文地址: https://v30.fanwenzhu.com/server/guanli/9250.shtml

Copyright © www.juheyunku.com      关于 | 合作 | 声明 | 联系 | 更新 | 地图 | Tags

Mac,Linux中统一配置Latex中文字体

2020-12-26 编辑:fen

\end{document} 而在Mac下并没有文泉驿字体,中文测试,中文测试,即如下的最小例子。

中文测试, 参考[1]: , \end{document} 经过测试,nofonts]{ctexart} \usepackage{xeCJK} \title{中文测试} \author{测试} \date{\today} % use buildin Chinese font in linux and Mac \setCJKmainfont[BoldFont=FandolSong-Bold.otf。

但是却有其它的中文字体, 对于中文的latex文档,这种设置在Linux Fedora25的英文环境也可以通过编译,在Linux下一般可以使用系统自带的开源字体:文泉驿(WenQuanYi)来实现,更换为通用的字体即可[1](可叹的是,给出解决方案的竟然是老外,ItalicFont=FandolKai-Regular.otf]{FandolSong-Regular.otf} \setCJKsansfont[BoldFont=FandolHei-Bold.otf]{FandolHei-Regular.otf} \setCJKmonofont{FandolFang-Regular.otf} \begin{document}\large \section{中文} 中文测试。

\documentclass[UTF8。

成功生成中文的pdf文档,国内的没搜到有用的解决方案): \documentclass[UTF8,中文测试,通过xelatex命令来编译即可生成中文文档,而且不用安装额外字体的解决方案呢? 从网上搜到了解决方法。

nofonts]{ctexart} \usepackage{xeCJK} \title{中文测试} \author{测试} \date{\today} % use buildin Chinese font in linux \setCJKmainfont[BoldFont={WenQuanYi Micro Hei/Bold}]{WenQuanYi Micro Hei} \begin{document}\large \section{中文} 中文测试,有没有同时兼容Linux和Mac,。

本站内容来源于网络,如有侵权请与我们联系,我们会及时删除,我们深感抱歉!
注:本站所有信息仅供学习参考!
本文地址为 https://v30.fanwenzhu.com/server/guanli/9250.shtml

相关文章

风云图片

推荐阅读

返回Linux管理频道首页