mac osx 下latex 怎么输入中文
答案:2 悬赏:60 手机版
解决时间 2021-02-28 00:46
- 提问者网友:辞取
- 2021-02-27 13:35
mac osx 下latex 怎么输入中文
最佳答案
- 五星知识达人网友:行雁书
- 2021-02-27 14:56
这样,中文使用 Adobe Song 字体,英文使用 Times New Roman 字体。请用 XeLaTex 进行编译。 PS:搜索《XeTeX 和怠罚壁顾撰该辩双菠晶 LaTeX 中文排版之胡言乱语》
\documentclass[11pt,a4paper]{article}
\XeTeXlinebreaklocale "zh"
\XeTeXlinebreakskip = 0pt plus 1pt minus 0.1pt
\usepackage[top=1in,bottom=1in,left=1.25in,right=1.25in]{geometry}
\usepackage{float}
\usepackage{fontspec}
\newfontfamily\zhfont[BoldFont=Adobe Heiti Std]{Adobe Song Std}
\newfontfamily\zhpunctfont{Adobe Song Std}
\setmainfont{Times New Roman}
\usepackage{indentfirst}
\usepackage{zhspacing}
\zhspacing
\begin{document}
.....
\end{document}
这样,中文使用 Adobe Song 字体,英文使用 Times New Roman 字体。请用 XeLaTex 进行编译。
fc-list
fc-list ;lang=zh-cn
这两个命令可以查看电脑上都安装了哪些字体(中文字体)。
\documentclass[11pt,a4paper]{article}
\XeTeXlinebreaklocale "zh"
\XeTeXlinebreakskip = 0pt plus 1pt minus 0.1pt
\usepackage[top=1in,bottom=1in,left=1.25in,right=1.25in]{geometry}
\usepackage{float}
\usepackage{fontspec}
\newfontfamily\zhfont[BoldFont=Adobe Heiti Std]{Adobe Song Std}
\newfontfamily\zhpunctfont{Adobe Song Std}
\setmainfont{Times New Roman}
\usepackage{indentfirst}
\usepackage{zhspacing}
\zhspacing
\begin{document}
.....
\end{document}
这样,中文使用 Adobe Song 字体,英文使用 Times New Roman 字体。请用 XeLaTex 进行编译。
fc-list
fc-list ;lang=zh-cn
这两个命令可以查看电脑上都安装了哪些字体(中文字体)。
全部回答
- 1楼网友:青尢
- 2021-02-27 15:12
额
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯