% !TeX program = xelatex % !TeX encoding = UTF-8 \documentclass{article} \usepackage{fontspec} \usepackage{zhlipsum} \usepackage[AutoFallBack=true]{xeCJK} \setCJKmainfont{Noto Serif CJK SC}[Language=Chinese Simplified, BoldFont={* Bold}, ItalicFont=AR PL KaitiM GB] \setCJKsansfont{Noto Sans CJK SC}[Language=Chinese Simplified, BoldFont={* Bold}, ItalicFont=AR PL KaitiM GB] \setCJKmonofont{Noto Sans CJK SC}[Language=Chinese Simplified, BoldFont={* Bold}, ItalicFont=AR PL KaitiM GB] \setCJKfallbackfamilyfont{\CJKrmdefault}[AutoFakeBold]{{HanaMinA},{HanaMinB}} \setCJKfallbackfamilyfont{\CJKsfdefault}[AutoFakeBold]{{HanaMinA},{HanaMinB}} \setCJKfallbackfamilyfont{\CJKttdefault}[AutoFakeBold]{{HanaMinA},{HanaMinB}} \begin{document} \section*{zh-hans samples} Serif, \textbf{Serif bold}, \textit{Serif Italics (defined to Kai)}. 简体中文默认宋体,\textbf{简体中文加粗宋体},\textit{中文默认斜(应为楷)体}。 \textsf{Sans, \textbf{Sans bold}, \textit{Sans Italics (defined to Kai)}. 简体中文设置黑体,\textbf{简体中文加粗黑体},\textit{中文黑斜(应为楷)体}。} ⿺辶⿳穴⿰月⿰⿲⿱幺長⿱言馬⿱幺長刂心,⿺辶⿳穴⿰月⿰⿲⿱幺长⿱言马⿱幺长刂心。 \textsf{⿺辶⿳穴⿰月⿰⿲⿱幺長⿱言馬⿱幺長刂心,⿺辶⿳穴⿰月⿰⿲⿱幺长⿱言马⿱幺长刂心。} 说“双引号。”又说‘单引号’。直角「引号」,和「这些『直角双引号。』」。 \section*{Regional glyph design variation} \textbf{\Huge 曜 \textsf{曜}} (Simplified Chinese) See \texttt{https://source.typekit.com/source-han-sans/} for details. \section*{From 高斯羽 博士 (Dr. Gāo, SīYǔ, \texttt{@iruletheworld})} \section*{Mixing zh-hans-CN, zh-hant-HK, zh-hant-TW} \LaTeX (tikz) 轉換為圖像 發佈 1.0.0 一般來說,\texttt{texlive}會自動添加路徑。 \textbf{備註:}儘管\texttt{inkscape}也可以進行PNG和SVG的轉換。 “爲” is HK, while “為” is TW, and “为” is the simplified version of them. This chapter tests some traditional Chinese characters in different regions. The characters have the same meaning but are written differently. They are, however, all traditional Chinese. The followings are HK version. 歎 爲 着 粧 牀 裏 綫 麪 鈎 衹 羣 醖 衞 才 峯 污 The followings are TW version. 嘆 為 著 妝 床 裡 線 麵 鉤 只 群 醞 衛 纔 峰 汙 The followings are simplified version. 叹 为 著 妆 床 里 线 面 钩 只 群 酝 卫 才 峰 污 \section*{zh-hans lipsum serif} \zhlipsum[1-20] \section*{zh-hans lipsum sans} \textbf{\zhlipsum[1-20]} \section*{zh-hans lipsum italic} \textit{\zhlipsum[1-20]} \end{document}