Created
April 27, 2014 07:09
-
-
Save lovelock/11339400 to your computer and use it in GitHub Desktop.
definition for font configuration with texlive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% ctex-xecjk-winfonts.def: Windows 的 xeCJK 字体设置,默认为六种中易字体 | |
% vim:ft=tex | |
\setCJKmainfont[BoldFont={SimHei},ItalicFont={KaiTi}]{SimSun} | |
\setCJKsansfont{SimHei} | |
\setCJKmonofont{FangSong} | |
\setCJKfamilyfont{zhsong}{SimSun} | |
\setCJKfamilyfont{zhhei}{SimHei} | |
\setCJKfamilyfont{zhkai}{KaiTi} | |
\setCJKfamilyfont{zhfs}{FangSong} | |
\setCJKfamilyfont{zhli}{LiSu} | |
\setCJKfamilyfont{zhyou}{YouYuan} | |
\newcommand*{\songti}{\CJKfamily{zhsong}} % 宋体 | |
\newcommand*{\heiti}{\CJKfamily{zhhei}} % 黑体 | |
\newcommand*{\kaishu}{\CJKfamily{zhkai}} % 楷书 | |
\newcommand*{\fangsong}{\CJKfamily{zhfs}} % 仿宋 | |
\newcommand*{\lishu}{\CJKfamily{zhli}} % 隶书 | |
\newcommand*{\youyuan}{\CJKfamily{zhyou}} % 幼圆 | |
\endinput |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment