ctex

ctexºê°ü˵Ã÷?

ÎâÁèÔÆ?

´òÓ¡ÈÕÆÚ£º2006Äê12ÔÂ16ÈÕ

ÕªÒª

ctexºê°üÌṩÁËÒ»¸öͳһµÄÖÐÎÄLATEXÎĵµ¿ò¼Ü£¬µ×²ãÖ§³ÖCCTºÍCJKÁ½ÖÖÖÐÎÄ

LATEXϵͳ¡£ctexºê°üÌṩÁ˱àдÖÐÎÄLATEXÎĵµ³£ÓõÄһЩºê¶¨ÒåºÍÃüÁî¡£

ctexºê°üÐèÒªCCTϵͳ»òÕßCJKºê°üµÄÖ§³Ö¡£Ö÷ÒªÎļþ°üÀ¨ctexart.cls¡¢ctexrep.cls¡¢ctexbook.clsºÍctex.sty¡¢ctexcap.sty¡£

ctexºê°üÓÉctex.orgÖÆ×÷²¢¸ºÔðά»¤¡£

Ŀ¼

1¼ò½é2ʹÓðïÖú2.1ʹÓÃCJK......................................2.2ʹÓÃCCT......................................2.3Ñ¡Ïî.........................................2.4

»ù±¾ÃüÁî......................................2.4.1×ÖÌåÉèÖÃ..................................2.4.2×ֺš¢×־ࡢ×Ö¿íºÍËõ½ø..........................2.4.3ÖÐÎÄÊý×Öת»»................................

2.5

¸ß¼¶ÉèÖÃ

......................................2.5.1Õ½ڱêÌâÉèÖÃ................................

2.5.2²¿·ÖÐ޸ıêÌâ¸ñʽ.............................2.5.3¸½Â¼±êÌâÉèÖÃ................................2.5.4ÆäËû±êÌâÉèÖÃ................................2.5.5ÆäËûÉèÖÃ..................................2.6

ÅäÖÃÎļþ

......................................?±¾Îļþ°æ±¾ºÅΪv0.8£¬×îºóÐÞ¸ÄÈÕÆÚ2006/06/09¡£

?aloft@ctex.org

1

33445667788

12131314

14

Ŀ¼3Ô´´úÂë˵Ã÷3.13.23.33.4

2

15

Ñ¡Ïî.........................................15ºê°ü.........................................18¸¨Öú¶¨Òå

......................................19

ͨÓÃÖÐÎÄÉèÖÃ....................................203.4.1ÖÐÎÄ×ÖºÅ..................................3.4.2

ȱʡ×ֺŴóС................................3.5CCTÏà¹ØÅäÖÃ...................................3.5.1CCT»·¾³ÉèÖÃ...............................3.5.2³£ÓõÄÖÐÎÄ×ÖÌå

..............................3.5.3ÖÐÎÄ×ÖºÅ..................................3.5.4ÆäËû×ÖÌåÃüÁî................................3.5.5

CCTfntefºê°ü½Ó¿Ú.............................3.6CJKÏà¹ØÅäÖÃ...................................3.6.1CJK»·¾³ÉèÖÃ...............................3.6.2³£ÓõÄÖÐÎÄ×ÖÌå

..............................3.6.3ÖÐÎÄ×ÖºÅ..................................3.6.4ÆäËû×ÖÌåÃüÁî................................3.6.5

CJKfntefºê°ü½Ó¿Ú.............................3.7ÖÐÎÄÊý×Ö´¦Àí....................................3.8

ÖÐÎÄ»¯µÄ±êÌâ½á¹¹.................................3.8.1Õ½ڱêÌâ»ù±¾½á¹¹.............................3.8.2partµÄ±êÌâ.................................3.8.3chapterµÄ±êÌâ...............................3.8.4sectionµÄ±êÌâ...............................3.8.5ҳüÐÅÏ¢µÄÐÞ¸Ä

..............................3.8.6±êÇ©ÒýÓõÄÖÐÎÄ»¯.............................3.8.7ÆäËûÖÐÎıêÌⶨÒå.............................3.8.8Óû§ÉèÖÃÃüÁî................................3.8.9

±êÌâÅäÖÃÎļþ................................3.9ÎĵµÀà........................................3.10ÆäËü¹¦ÄÜ

......................................2224

262627

272728

282829

292930

30373741434547

51515254

58

58

1¼ò½é3

3.10.1ÖÐÎÄÈÕÆÚ¸ñʽ................................583.10.2ͼ±í±êÌâµÄ·Ö¸ô·û.............................59

3.11Óñê×¼×ÖÌåÃüÁîÐÞ¸ÄÖÐÎÄ×ÖÌå...........................59

3.11.1×ÖÌ嶨ÒåÎļþ................................593.11.2×ÖÌåÃüÁîÐÞ¸Ä................................60

1¼ò½é

Õâ¸öºê°üµÄ²¿·Öԭʼ´úÂëÀ´×ÔÓÚÓÉÍõÀÚ±àдcjkbook.clsÎĵµÀ࣬»¹ÓÐһС²¿·Öԭʼ´úÂëÀ´×ÔÓÚÎâÁèÔƱàдµÄGB.capÎļþ¡£Ô­À´µÄÕâЩ¹¤×÷¶¼ÊÇÁãÁãËéËé±àдµÄ£¬Ã»ÓÐÈÏÕ桢ϵͳµÄÉè¼Æ£¬Ò²Ã»ÓÐÓû§Îĵµ£¬·Ç³£²»ÀûÓÚά»¤ºÍ¸Ä½ø¡£ËùÒÔÎÒÃÇÓÃdocºÍdocstrip¹¤¾ßÖØбàдÁËÕû¸öÎĵµ£¬²¢Ôö¼ÓÁËÐí¶àÐµĹ¦ÄÜ¡£

×î³õKnuthÉè¼Æ¿ª·¢TEXµÄʱºòûÓп¼Âǵ½Ö§³Ö¶à¹úÓïÑÔ£¬ÌرðÊǶà×Ö½ÚµÄÖÐÈÕº«Óï

AÑÔ¡£ÕâʹµÃTEXÒÔÖÁºóÀ´µÄLTEX¶ÔÖÐÎĵÄÖ§³ÖÒ»Ö±²»ÊǺܺ᣼´Ê¹ÔÚCJK½â¾öÁËÖÐÎÄ×ÖA·û´¦ÀíµÄÎÊÌâÒÔºó£¬ÖÐÎÄÓû§Ê¹ÓÃLTEXÈÔȻҪÃæ¶ÔÐí¶àÀ§ÄÑ¡£×î³£¼ûµÄ¾ÍÊÇÖÐÎÄ»¯µÄ±ê

Ìâ¡£ÓÉÓÚÖÐÎÄÏ°¹ßºÍÎ÷·½ÓïÑԵIJ»Í¬£¬Ê¹µÃºÜÄÑÖ±½ÓʹÓÃÔ­ÓеıêÌâ½á¹¹À´±íʾÖÐÎıêÌâ¡£

AÒò´ËÐèÒª¶Ô±ê×¼LTEXºê°ü×ö½Ï´óµÄÐ޸ġ£´ËÍ⣬»¹ÓÐÖîÈçÖÐÎÄ×ֺŵĶÔÓ¦¹ØϵµÈµÈ¡£ctex

ºê°üÕýÊdz¢ÊÔ׎â¾öÕâЩÎÊÌâ¡£ÖмäºÜ¶àµØ·½Óõ½ÁËÔÚctex.orgÂÛ̳ÉϵÄÌÖÂÛ½á¹û£¬Ôڴ˶ԲÎÓëÌÖÂÛµÄÅóÓÑÃDZíʾ¸Ðл¡£

ctexºê°üÓÉÎå¸öÖ÷ÒªÎļþ¹¹³É£ºctexart.cls¡¢ctexrep.cls¡¢ctexbook.clsºÍctex.sty¡¢ctexcap.sty¡£ctex.styÖ÷ÒªÊÇÌṩÕûºÏµÄÖÐÎÄ»·¾³£¬¿ÉÒÔÅäºÏ´ó¶àÊýÎĵµ

AÀàʹÓ᣶øctexcap.styÔòÊǶÔLTEXµÄÈý¸ö±ê×¼ÎĵµÀàµÄ¸ñʽ½øÐÐÐÞ¸ÄÒÔ·ûºÏÖÐÎÄÏ°¹ß£¬¸Ãºê°üÖ»ÄÜÅäºÏÕâÈý¸ö±ê×¼ÎĵµÀàʹÓá£ctexart.cls¡¢ctexrep.cls¡¢ctexbook.cls

ÔòÊÇctex.sty¡¢ctexcap.sty·Ö±ðºÍÈý¸ö±ê×¼ÎĵµÀà½áºÏ²úÉúµÄÐÂÎĵµÀ࣬³ýÁË°üº¬ctex.sty¡¢ctexcap.styµÄËùÓй¦ÄÜ£¬»¹¼ÓÈëÁËһЩÐÞ¸ÄÎĵµÀàȱʡÉèÖõÄÄÚÈÝ£¨ÈçʹÓÃÎåºÅ×ÖÌåΪȱʡ×ÖÌ壩¡£

AÕâ·Ý˵Ã÷Îĵµ¿ÉÒÔͨ¹ýÓÃLTEX±àÒëctex.dtxÎļþÀ´µÃµ½¡£±àÒë˵Ã÷ÎĵµÐèÒªCJK

ºê°üºÍctexºê°ü¡£ÎªÁËÉú³ÉÕýÈ·µÄË÷ÒýºÍ°æ±¾¼Ç¼£¬ÐèҪʹÓÃÈçÏÂÃüÁî

makeindex-sgind.ist-octex.indctex.idxmakeindex-sgglo.ist-octex.glsctex.glo

2ʹÓðïÖú

ctexºê°üµÄʹÓÃÊ®·Ö¼òµ¥¡£Èç¹ûÊÇʹÓÃctexµÄÎĵµÀֻ࣬ÐèÓÃctexart¡¢ctexrep»òÕßctexbookÌæ»»Ô­À´µÄÎĵµÀà¾Í¿ÉÒÔÁË¡£ÄãÒ²¿ÉÒÔ¼ÌÐøʹÓÃÔ­À´µÄÎĵµÀ࣬¶øÓÃctex.sty

2ʹÓðïÖú4

ºÍctexcap.styºê°üÀ´ÅäºÏʹÓã¬Á½ÕßµÄЧ¹ûÊÇÒ»ÑùµÄ£¨³ýÁ˲»ÄÜÐÞ¸ÄһЩÎĵµÉèÖÃÈçȱʡ×ÖÌå´óС£©¡£

2.1ʹÓÃCJK

ÕâÊÇctexºê°üµÄȱʡÉèÖá£ctexºê°ü»á×Ô¶¯µ÷ÓÃCJKºê°ü£¬ÄãÎÞÐèÔÙ×Ô¼ºµ÷ÓᣴË

Í⣬ctexºê°ü»áÔÚ\\begin{document}ºÍ\\end{document}Ö®¼ä×Ô¶¯¼ÓÈëÒ»¸öCJK»·¾³£¬ÄãÎÞÐèÔÙÌí¼ÓCJK»·¾³¡£CJKºê°üµÄÃüÁ¿ÉÒÔÔÚ\\begin{document}ºÍ\\end{document}Ö®¼äÕý³£Ê¹Óá£

Àý×Ó1£ºÊ¹ÓÃÎĵµÀàºê°ü

\\documentclass{ctexart}\\begin{document}ÖÐÎĺê°ü²âÊÔ\\end{document}

Àý×Ó2£ºÊ¹ÓÃÆÕͨºê°ü

\\documentclass{article}\%usepackage{ctex}\\begin{document}ÖÐÎĺê°ü²âÊÔ\\end{document}

2.2ʹÓÃCCT

ctexºê°üÒ²¿ÉÒÔÅäºÏаæµÄCCTʹÓã¬Ö»ÐèÔÚʹÓÃctexºê°üʱ¼ÓÉÏCCTÑ¡Ïî¼´¿É¡£

ȱʡCCT»áʹÓÃCJK×ֿ⣬ÒòΪÕâÖÖ×ֿⷽʽ±È´«Í³CCT×Ö¿â¸ü·½±ã£¬¼æÈÝÐÔÒ²¸üºÃ¡£Èç¹ûҪʹÓô«Í³CCT×ֿ⣬Ôò»¹Òª¼ÓÉÏCCTfontÑ¡Ïî¡£

Àý×Ó3£ºÊ¹ÓÃCJK·½Ê½×Ö¿â

\\documentclass[CCT]{ctexart}\\begin{document}ÖÐÎĺê°ü²âÊÔ\\end{document}

Àý×Ó2£ºÊ¹ÓÃCCT·½Ê½×Ö¿â

\\documentclass[CCT,CCTfont]{ctexart}\\begin{document}ÖÐÎĺê°ü²âÊÔ\\end{document}

ÁªÏµ¿Í·þ£º779662525#qq.com(#Ì滻Ϊ@)