LaTeX排版常用字体和格式设置2010

上传人:平*** 文档编号:16540117 上传时间:2017-11-08 格式:DOC 页数:6 大小:44.24KB
返回 下载 相关 举报
LaTeX排版常用字体和格式设置2010_第1页
第1页 / 共6页
LaTeX排版常用字体和格式设置2010_第2页
第2页 / 共6页
LaTeX排版常用字体和格式设置2010_第3页
第3页 / 共6页
LaTeX排版常用字体和格式设置2010_第4页
第4页 / 共6页
LaTeX排版常用字体和格式设置2010_第5页
第5页 / 共6页
点击查看更多>>
资源描述

《LaTeX排版常用字体和格式设置2010》由会员分享,可在线阅读,更多相关《LaTeX排版常用字体和格式设置2010(6页珍藏版)》请在金锄头文库上搜索。

1、LaTeX排版常用字体和格式设置 2010-05-05 15:11:23 分类: LINUXusepackagemathbboldusepackageCJK,CJKnumbusepackageindentfirst %首行缩进宏包usepackagelatexsym,bm % 处理数学公式中和黑斜体的宏包usepackageamsmath,amssymb % AMSLaTeX宏包 用来排出更加漂亮的公式usepackagegraphicxusepackagecasesusepackagepifontusepackagetxfonts% CJK下设置中文字体 %newcommandsongCJK

2、familysong % 宋体 (Windows 自带simsun.ttf)newcommandfsCJKfamilyfs % 仿宋体 (Windows 自带simfs.ttf)newcommandkaiCJKfamilykai % 楷体 (Windows 自带simkai.ttf)newcommandheiCJKfamilyhei % 黑体 (Windows 自带simhei.ttf)newcommandliCJKfamilyli % 隶书 (Windows 自带simli.ttf)% 设置字体大小 %newcommandchuhaofontsize42ptbaselineskipselec

3、tfontnewcommandxiaochuhaofontsize36ptbaselineskipselectfontnewcommandyihaofontsize28ptbaselineskipselectfontnewcommanderhaofontsize21ptbaselineskipselectfontnewcommandxiaoerhaofontsize18ptbaselineskipselectfontnewcommandsanhaofontsize15.75ptbaselineskipselectfontnewcommandsihaofontsize14ptbaselinesk

4、ipselectfontnewcommandxiaosihaofontsize12ptbaselineskipselectfontnewcommandwuhaofontsize10.5ptbaselineskipselectfontnewcommandxiaowuhaofontsize9ptbaselineskipselectfontnewcommandliuhaofontsize7.875ptbaselineskipselectfontnewcommandqihaofontsize5.25ptbaselineskipselectfont% 设置版心 %setlengthtextwidth14

5、cmsetlengthtextheight20cmsetlengthhoffset0cmsetlengthvoffset0cmsetlengthparindent2em % 首行两个汉字的缩进量setlengthparskip3pt plus1pt minus1pt % 段落之间的竖直距离renewcommandbaselinestretch1.2 % 定义行距setlengthabovedisplayskip2pt plus1pt minus1pt %公式前的距离setlengthbelowdisplayskip6pt plus1pt minus1pt %公式后面的距离setlengthar

6、raycolsep2pt %在一个 array中列之间的空白长度, 因为原来的太宽了 allowdisplaybreaks4 % eqnarray如果很长,影响分栏、换行和分页%(整块挪动,造成页面空白),可以设置成为自动调整模式CJKtilde %用于解决英文字母和汉字的间距问题。例如:变量$x$的值。renewcommandCJKgluehskip 0pt plus 0.08baselineskip%它于必要时在汉字之间插入一个附加的空隙,以解决行的超长问题。%numberwithinequationsection%= 一些自定义命令 =%newcommandRensuremathmath

7、bbRnewcommandppartialnewcommandggamma%= End =%usepackagefancyhdrpagestylefancyrenewcommandheadrulewidth0.6pt%addtolengthparinddent2em plus 1em minus 1em%=标题名称中文化 =%renewcommandabstractnamehei 摘 要renewcommandrefnamehei 参考文献renewcommandfigurenamehei 图renewcommandtablenamehei 表newtheoremdingyihei 定义sec

8、tionnewtheoremdinglihei 定理sectionnewtheoremyinlidinglihei 引理newtheoremtuilundinglihei 推论newtheoremmingtidinglihei 命题注:在印刷出版上,中文字号制与点数制的对照关系如下:1770年法国人狄道(F.A.Didot)制定点数制,规定 1法寸为 72点,即:1点=0.3759 毫米。狄道点数制在法国、德国、奥地利、比利时、丹麦、匈牙利等国比较流行。1886年全美活字铸造协会以派卡(pica)为基准制定派卡点数制,规定1pica=12point(点),即:1点=0.013837 英寸=0.

9、35146 毫米20世纪初派卡点数制传入我国,并得到逐步推广。在实用中对常用点数以号数命名而产生了号数制,二者换算如下(以 pt代表“点”):初号42pt 小初号36pt 一号28pt 二号21pt 小二号18pt 三号15.75pt四号14pt 小四号12pt 五号10.5pt 小五号9pt 六号 7.875pt 七号 5.25pt% xeCJK下设置中文字体 %setCJKfamilyfontsongSimSun %宋体 songnewcommandsongCJKfamilysongsetCJKfamilyfontxsNSimSun %新宋体 xsnewcommandxsCJKfamily

10、xssetCJKfamilyfontfsFangSong_GB2312 %仿宋 2312 fsnewcommandfsCJKfamilyfssetCJKfamilyfontkaiKaiTi_GB2312 %楷体2312 kainewcommandkaiCJKfamilykaisetCJKfamilyfontyhMicrosoft YaHei %微软雅黑 yhnewcommandyhCJKfamilyyhsetCJKfamilyfontheiSimHei %黑体 heinewcommandheiCJKfamilyheisetCJKfamilyfontmsunicodeArial Unicode

11、MS %Arial Unicode MS: msunicodenewcommandmsunicodeCJKfamilymsunicodesetCJKfamilyfontliLiSu %隶书 linewcommandliCJKfamilylisetCJKfamilyfontyyYouYuan %幼圆 yynewcommandyyCJKfamilyyysetCJKfamilyfontxmMingLiU %细明体 xmnewcommandxmCJKfamilyxmsetCJKfamilyfontxxmPMingLiU %新细明体 xxmnewcommandxxmCJKfamilyxxmsetCJKfamilyfonthwsongSTSong %华文宋体 hwsongnewcommandhwsongCJKfamilyhwsongsetCJKfamilyfonthwzsSTZhongsong %华文中宋hwzsnewcommandhwzsCJKfamilyhwzssetCJKfamilyfonthwfsSTFangsong %华文仿宋 hwfsnewcommandhwfsCJKfamilyhwfssetCJKfamilyfonthwxhSTXihei %华文细黑 hwxhnewcommandhwxhCJKfamilyhwxh setCJKfamilyfonthwlSTLiti

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 行业资料 > 其它行业文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号