%-*-coding:UTF-8-*-\documentclass[UTF8]{article}\usepackage{fontspec,xunicode,xltxtra}%字体包%字体设置\newfontfamily\youyuan{YouYuan}\newfontfamily\hwcaiyun{STCaiyun}\newfontfamily\hwhupo{STHupo}\newfontfamily\yaoti{FZYaoTi}\newfontfamily\kaiti{KaiTi}\newfontfamily\xsong{NSimSun}\newfontfamily\hwsong{STSong}\newfontfamily\yahei{Microsoft YaHei}\newfontfamily\fangsong{FangSong}\newfontfamily\song{SimSun}\newfontfamily\hwfangsong{STFangsong}\newfontfamily\weiti{STXinwei}\newfontfamily\heiti{SimHei}\newfontfamily\hwxingkai{STXingkai}\newfontfamily\hwlishu{STLiti}\newfontfamily\zhongsong{STZhongsong}\newfontfamily\shuti{FZShuTi}\newfontfamily\hwhei{STXihei}\newfontfamily\lishu{LiSu}\newfontfamily\hwkai{STKaiti}%加粗设置\newfontfamily\bsong[FakeBold = 5]{SimSun}%加粗的宋体,其中FakeBold为字体的粗细%字号设置\newcommand{\chuhao}{\fontsize{42pt}{\baselineskip}}\newcommand{\xiaochuhao}{\fontsize{36pt}{\baselineskip}}\newcommand{\yihao}{\fontsize{28pt}{\baselineskip}}\newcommand{\erhao}{\fontsize{21pt}{\baselineskip}}\newcommand{\xiaoerhao}{\fontsize{18pt}{\baselineskip}}\newcommand{\sanhao}{\fontsize{15.75pt}{\baselineskip}}\newcommand{\sihao}{\fontsize{14pt}{\baselineskip}}\newcommand{\xiaosihao}{\fontsize{12pt}{\baselineskip}}\newcommand{\wuhao}{\fontsize{10.5pt}{\baselineskip}}\newcommand{\xiaowuhao}{\fontsize{9pt}{\baselineskip}}\newcommand{\liuhao}{\fontsize{7.875pt}{\baselineskip}}\newcommand{\qihao}{\fontsize{5.25pt}{\baselineskip}}\begin{document}\sihao\heiti 黑体\\\erhao\song 宋abc体\\\chuhao\song The \xiaoerhao\bsong smart home system base on Android\\\end{document}