winedt的正则表达式系统

[xelatex]查看系统中文字体列表及中文字体简单配置

kuing posted @ 2012年3月20日 13:14 in 未分类 , 5343 阅读
新建一个 bat,里面写上
 
fc-list :lang=zh-cn >zt.txt
notepad zt.txt
 
然后运行就可以将系统的中文字体信息列表放到zt.txt里并自动打开
不过我这里打开后那些换行都变成一个黑矩形,不知为何,但复制粘贴到别的地方倒是正常了
 
这些中文字体信息可以用于 xeCJK 的中文字体配置。
 
比如,我这里生成的列表是
 
STCaiyun,华文彩云:style=Regular
YouYuan,幼圆:style=Regular
STHupo,华文琥珀:style=Regular
KaiTi_GB2312,楷体_GB2312:style=Regular
NSimSun,新宋体:style=Regular
FangSong_GB2312,仿宋_GB2312:style=Regular
SimSun,宋体:style=Regular
STXinwei,华文新魏:style=Regular
SimHei,黑体:style=Regular
STXingkai,华文行楷:style=Regular
LiSu,隶书:style=Regular
 
(当初装的那系统比较精简,华文新魏、幼圆、隶书、华文行楷、华文琥珀以及华文彩云是后来才装上的)
 
然后在 xeCJK 里就可以用
 
\setCJKmainfont[BoldFont=SimHei,ItalicFont=KaiTi_GB2312]{SimSun} %普通中文用宋体、粗体用黑体、斜体用楷书
\setCJKsansfont{YouYuan} %无衬线字体用幼圆
\setCJKmonofont{FangSong_GB2312} %打印机字体用仿宋
 
来配置中文字体。另外,也可以用
 
\setCJKfamilyfont{hwxw}{STXinwei}
\newcommand\xw{\CJKfamily{hwxw}}
\setCJKfamilyfont{lisu}{LiSu}
\newcommand\ls{\CJKfamily{lisu}}
\setCJKfamilyfont{hwxk}{STXingkai}
\newcommand\xk{\CJKfamily{hwxk}}
\setCJKfamilyfont{hwhp}{STHupo}
\newcommand\hp{\CJKfamily{hwhp}}
\setCJKfamilyfont{hwcy}{STCaiyun}
\newcommand\cy{\CJKfamily{hwcy}}
 
来定义华文新魏字体和隶书字体的命令,正文中用 {\xw 华文新魏} 、 {\ls 隶书} 等等使用该字体。
 

cleaning company in 说:
2022年1月25日 16:17

Business cleaning is rather vital for boosting the company’s advancement; hence Concerning developed a guide how you may possibly carry the following out proficiently. This guide was generated for either in-office people and to get commercial cleaning up services in whose aim will be to keep locations spotless plus cleant is very unfortunate that almost all company with today disregard some key elements that can result in result, most occasions they center on things that happen to be not beneficial and disregard the factor a cleaning and tidy offices plays around attracting prospects and maximizing business overall performance.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter