{"id":1653,"date":"2012-05-01T08:59:00","date_gmt":"2012-05-01T00:59:00","guid":{"rendered":"http:\/\/vanabel.sinaapp.com\/?p=1653"},"modified":"2012-05-01T08:59:00","modified_gmt":"2012-05-01T00:59:00","slug":"latex%e4%b8%ad%e6%96%87%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88%e9%9b%86%e9%94%a6%e8%bd%ac%e8%bd%bd","status":"publish","type":"post","link":"https:\/\/lttt.vanabel.cn\/?p=1653","title":{"rendered":"[\u8f6c\u8f7d]LaTeX\u4e2d\u6587\u89e3\u51b3\u65b9\u6848\u96c6\u9526"},"content":{"rendered":"<p><a href=\"http:\/\/www.magiclinux.org\/node\/249\" target=\"_blank\">\u539f\u6587\u94fe\u63a5<\/a><br \/>\nLaTeX \u5904\u7406\u6c49\u5b57\u7684\u65f6\u5019\u4e3b\u8981\u662f\u7528 CJK \u5b8f\u5305\u3002\u8fd9\u91cc\u6536\u96c6\u4e86\u4e00\u4e9b\u4e2d\u6587\u5904\u7406\u7684\u5e38\u89c1\u95ee\u9898\u548c\u89e3\u51b3\u529e\u6cd5\u3002<\/p>\n<h2>\u9996\u6bb5\u7f29\u8fdb<\/h2>\n<p>\u6bcf\u4e00\u7ae0\uff0c\u6bcf\u4e00\u8282\u7684\u5f00\u5934\u4e0d\u7f29\u8fdb\u662f\u5f88\u591a\u4eba\u62b1\u6028 \u201cCJK \u4e0d\u7b26\u5408\u4e2d\u56fd\u4eba\u4e60\u60ef\u201d\u7684\u5934\u53f7\u539f\u56e0\u3002\u4f46\u662f\u5176\u5b9e\u4f60\u53ef\u4ee5\u6539\u53d8\u8fd9\u4e00\u5207\u3002<strong>CJK <\/strong>\u63d0\u4f9b\u7684\u53ea\u662f\u7f16\u7801\uff0c\u800c\u4e0d\u662f\u6837\u5f0f\u3002<br \/>\n<!--more--><br \/>\n<strong>CJK<\/strong>\u662f\u5fb7\u56fd\u4eba\u8bbe\u8ba1\u7684\uff0c\u4ed6\u4e0d\u61c2\u4e2d\u56fd\u4eba\u7684\u4e60\u60ef\uff0c\u4f46\u662f\u4ed6\u8bbe\u8ba1\u7684\u7f16\u7801\u65b9\u5f0f\u5b8c\u5168\u53ef\u4ee5\u4e3a\u6211\u4eec\u63d0\u4f9b\u4efb\u4f55\u53ef\u80fd\u5904\u7406\u4e2d\u6587\u7684\u201c\u7406\u8bba\u57fa\u7840\u201d\uff0c\u6211\u4eec\u53ea\u9700\u8981\u5236\u5b9a\u81ea\u5df1\u7684\u201c\u6709\u4e2d\u56fd\u7279\u8272\u7684\u6837\u5f0f\u201d\u3002\u4e2d\u56fd\u4eba\u7684\u6837\u5f0f\u5fc5\u9700\u7531\u4e2d\u56fd\u4eba\u81ea\u5df1\u6765\u5236\u5b9a\u3002\u8fd9\u5c31\u4f7f\u6211\u60f3\u8d77\u4e86\u53e6\u5916\u4e24\u4e2a\u5fb7\u56fd\u4eba\uff0c\u8fd8\u6709\u4e00\u4f4d\u4e2d\u56fd\u8001\u4eba\u2026\u2026 \ud83d\ude42<\/p>\n<p>\u901a\u5e38\u82f1\u8bed\u6587\u7ae0\u5728\u4e00\u8282\u5f00\u59cb\u65f6\u7684\u7b2c\u4e00\u6bb5\u662f\u4e0d\u7f29\u8fdb\u7684\u3002\u800c\u5728\u7b2c\u4e8c\u6bb5\u5c31\u4f1a\u7f29\u8fdb <strong>\\parindent<\/strong> \u7684\u8ddd\u79bb\u3002\u4e0d\u8d56\u70e6\u7684\u4eba\u8bf7\u73b0\u5728\u5c31\u5728\u4f60\u7684\u6587\u6863\u5f00\u5934\u52a0\u5165\uff1a<\/p>\n<pre lang=\"latex\" colla=\"+\">\n\\usepackage{indentfirst}\n<\/pre>\n<p>\u7136\u540e\u8df3\u5230<a href=\"#link1\">\u4e0b\u4e00\u4e2a\u70b9\u5b50<\/a>\u3002<\/p>\n<p>\u5982\u679c\u4f60\u8bbe\u7f6e:<\/p>\n<pre lang=\"latex\" colla=\"+\">\n\\setlength{\\parindent}{2em}\n<\/pre>\n<p>\u4f60\u5c31\u53ef\u4ee5\u5f97\u5230\u50cf\u8fd9\u6837\u7684\u7f29\u8fdb\u4e24\u4e2a\u5b57\u7684\u6548\u679c\u3002\u4f46\u662f\u7b2c\u4e00\u6bb5\u4ecd\u7136\u6ca1\u6709\u7f29\u8fdb\u3002\u4e3a\u4e86\u8ba9\u7b2c\u4e00\u6bb5\u7f29\u8fdb\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528 <strong>indentfirst<\/strong> \u5b8f\u5305\uff0c\u5b83\u4f1a\u4f7f\u6574\u7bc7\u6587\u7ae0\u7684\u9996\u6bb5\u90fd\u6709\u7f29\u8fdb\u3002\u5b83\u5176\u5b9e\u53ea\u6709\u4e24\u53e5\u8bdd\uff1a<\/p>\n<pre lang=\"latex\" colla=\"+\">\n\\let\\@afterindentfalse\\@afterindenttrue\n\\@afterindenttrue\n<\/pre>\n<p>\u5982\u679c\u4f60\u53ea\u60f3\u8ba9\u4f60\u7684\u67d0\u4e00\u8282\u9996\u884c\u6709\u7f29\u8fdb\uff0c\u53ef\u4ee5\u8fd9\u4e48\u505a\uff1a<\/p>\n<pre lang=\"latex\" colla=\"+\">\n\\makeatletter\n\\let\\@afterindentrestore\\@afterindentfalse\n\\let\\@afterindentfalse\\@afterindenttrue\n\\@afterindenttrue\n\\makeatother\n<\/pre>\n<p>\u8fd9\u6837\u4e4b\u540e\u7684\u7ae0\u8282\u7b2c\u4e00\u6bb5\u90fd\u4f1a\u7f29\u8fdb\u5f53\u524d\u7684<strong> \\parindent <\/strong>\u90a3\u4e48\u591a\u8ddd\u79bb\u3002<\/p>\n<p>\u7531\u4e8e\u521a\u624d\u6211\u4eec\u7528<strong> \\@afterindentrestore <\/strong>\u5b58\u50a8\u4e86<strong> \\@afterindentfalse=<\/strong> \u7684\u5b9a\u4e49\u3002\u73b0\u5728\u6211\u4eec\u4f7f\u7528\uff1a<\/p>\n<pre lang=\"latex\" colla=\"+\">\n\\makeatletter\n\\let\\@afterindentfalse\\@afterindentrestore\n\\@afterindentrestore\n\\makeatother\n<\/pre>\n<p>\u8fd9\u4e0b\u7b2c\u4e00\u6bb5\u53c8\u6ca1\u6709\u7f29\u8fdb\u4e86\u3002\u4f60\u53ef\u4ee5\u628a\u8fd9\u5806\u547d\u4ee4\u90fd\u7528 <strong>\\newcommand <\/strong>\u8bbe\u6210\u65b0\u7684\u547d\u4ee4\uff0c\u7528\u8d77\u6765\u5c31\u65b9\u4fbf\u4e86\u3002<br \/>\n<a id=\"link1\"><\/a><\/p>\n<h2>\u4e2d\u6587\u4e66\u7b7e<\/h2>\n<p>\u600e\u6837\u7528<strong> hyperref <\/strong>\u751f\u6210\u542b\u6709\u4e2d\u6587 <strong>bookmark<\/strong> \u7684 <strong>PDF<\/strong> \u6587\u4ef6?<br \/>\n\u4f7f\u7528<strong> hyperref <\/strong>\u7684\u65f6\u5019\u52a0\u5165<strong> CJKbookmarks <\/strong>\u9009\u9879\u5c31\u884c\u4e86:<\/p>\n<pre lang=\"latex\" colla=\"+\">\n\\usepackage[CJKbookmarks]{hyperref}\n<\/pre>\n<p>\u5982\u679c\u4f60\u4f7f\u7528<strong> dvipdfm<\/strong>\uff0c\u9700\u8981\u518d\u52a0\u4e00\u4e2a <strong>dvipdfm <\/strong>\u7684\u9009\u9879\uff1a<\/p>\n<pre lang=\"latex\" colla=\"+\">\n\\usepackage[dvipdfm,CJKbookmarks]{hyperref}\n<\/pre>\n<p>\u5982\u679c\u4f60\u60f3\u7528<strong> Unicode<\/strong> \u7684 <strong>bookmark<\/strong>\uff0c\u5c31\u52a0\u4e0a<strong> unicode<\/strong> \u9009\u9879\uff1a<\/p>\n<pre lang=\"latex\" colla=\"+\">\n\\usepackage[unicode,CJKbookmarks]{hyperref}\n<\/pre>\n<p>\u597d\u4e86\uff0c\u4e0d\u8010\u70e6\u7684\u4eba\u8bf7\u8df3\u5230<a href=\"#link2\">\u4e0b\u4e00\u4e2a\u70b9\u5b50<\/a> \ud83d\ude42 \u4e0d\u8fc7\u5982\u679c\u4f60\u6709\u5174\u8da3\u770b\u4e00\u4e0b\u6211\u6628\u5929\u665a\u4e0a\u600e\u4e48 <strong>hack<\/strong> \u4e86<strong> hyperref<\/strong>\uff0c\u5c31\u770b\u770b\u6211\u7684\u5206\u6790\uff1a<\/p>\n<p>\u6211\u4ee5\u524d\u4e0d\u77e5\u9053 <strong>hyperref<\/strong> \u5df2\u7ecf\u6709 <strong>CJKbookmarks<\/strong> \u9009\u9879\uff0c\u6240\u4ee5\u6628\u5929\u6211\u60f3\u4e86\u4e00\u665a\u4e0a\uff0c\u81ea\u5df1\u60f3\u51fa\u4e2a\u65b9\u6cd5\uff0c\u5c31\u662f\uff1a<\/p>\n<p>\u5728 <strong>\\usepackage{hyperref}<\/strong> \u4e4b\u540e\u52a0\u4e0a\u8fd9\u6837\u4e00\u53e5\uff1a<\/p>\n<pre lang=\"latex\" colla=\"+\">\n\\pdfstringdefDisableCommands{\n\\let\\CJK@XX\\relax\n\\let\\CJK@XXX\\relax\n\\let\\CJK@XXXp\\relax\n\\let\\CJK@XXXX\\relax\n\\let\\CJK@XXXXp\\relax\n}\n<\/pre>\n<p>\u5b8c\u6210\uff01\u76f4\u63a5\u8fd0\u884c <strong>pdflatex<\/strong> \u4e24\u6b21\u5c31\u53ef\u4ee5\u5f97\u5230\u6709\u4e2d\u6587 <strong>bookmark<\/strong> \u7684 PDF\u3002\u563f\u563f\uff01<\/p>\n<p>\u7531\u4e8e <strong>hyperref<\/strong> \u4e0e <strong>CJK<\/strong> \u5b8f\u5305\u7684\u4e0d\u878d\u5408\uff0c\u4ee5\u524d\u5982\u679c\u8981\u751f\u6210\u4e2d\u6587 <strong>bookmark<\/strong> \u7684 <strong>PDF<\/strong> \u6587\u4ef6\uff0c\u9700\u8981\u8fdb\u884c\u4ee5\u4e0b\u5de5\u4f5c\uff1a<\/p>\n<p>\u5728\u6587\u6863\u91cc <strong>\\usepackage{hyperref}<\/strong> \u4e4b\u540e\u52a0\u5165\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/p>\n<pre lang=\"latex\" colla=\"+\">\n\\PackageWarningNoLine{hyperref}{%\nCJK characters are disabled in bookmarks}\n\\pdfstringdefDisableCommands{%\n\\let\\CJK@ignorespaces\\empty%\n\\def\\CJK@char#1{\\@gobbletwo}%\n\\let\\CJK@charx\\@gobblefour%\n\\let\\CJK@punctchar\\@gobblefour%\n\\def\\CJK@punktcharx#1{\\@gobblefour}%\n}\n<\/pre>\n<p>\u7b2c\u4e00\u6b21\u8fd0\u884c<strong> pdflatex<\/strong> \u540e\u8fd0\u884c <strong>energy<\/strong> \u7684 <strong>aux2out<\/strong> \u6216\u8005 <strong>toc2out<\/strong> \u7a0b\u5e8f\u3002<br \/>\n\u518d\u6b21\u8fd0\u884c <strong>pdflatex<\/strong><br \/>\n\u8fd9\u6837\u505a\u4e0d\u4f46\u9ebb\u70e6\uff0c\u800c\u4e14\u6709\u4e2a\u4e0d\u660e\u663e\u7684\u574f\u5904\u3002\u7531\u4e8e <strong>aux2out<\/strong> \u548c <strong>toc2out<\/strong> \u4ece <strong>aux<\/strong> \u548c <strong>toc<\/strong> \u6587\u4ef6\u91cc\u63d0\u53d6\u76ee\u5f55\uff0c\u5b83\u4e0d\u80fd\u5b8c\u5168\u53d1\u6325 <strong>TeX<\/strong> \u8bed\u8a00\u7684\u4f5c\u7528\uff0c\u5f53\u4f60\u7684\u7ae0\u8282\u91cc\u51fa\u73b0\u63a7\u5236\u547d\u4ee4\u5c31\u4f1a\u51fa\u9519\u3002\u6bd4\u5982\uff0c\u5982\u679c\u4f60\u6709\u8fd9\u6837\u4e00\u4e2a\u5c0f\u8282\uff1a<\/p>\n<pre lang=\"latex\" colla=\"+\">\n\\section{example of the \\textsf{hhline} package}\n<\/pre>\n<p><strong>toc2out<\/strong> \u4f1a\u628a <strong>\\textsf{hhline}<\/strong> \u91cc\u7684\u5185\u5bb9\u5168\u90e8\u53bb\u6389\uff0c\u8fd9\u6837\u4f60\u5f97\u5230\u7684\u5c31\u662f\u8fd9\u6837\u4e00\u4e2a bookmark: &#8220;example of the package&#8221;\u3002&#8221;hhline&#8221; \u5c31\u6d88\u5931\u4e86\uff01<\/p>\n<p>\u5176\u5b9e <strong>hyperref<\/strong> \u8bbe\u8ba1\u65f6\u5c31\u8003\u8651\u5230\u4e86\u8fd9\u79cd\u60c5\u51b5\uff0c\u5b83\u8bbe\u8ba1\u4e86\u4e00\u4e2a\u547d\u4ee4\uff1a<\/p>\n<pre lang=\"latex\" colla=\"+\">\n\\pdfstringdefDisableCommands\n<\/pre>\n<p>\u5b83\u7684\u5b9a\u4e49\u5c31\u662f\u5f53\u751f\u6210 <strong>bookmark<\/strong> \u65f6\uff0c\u6211\u4eec\u9700\u8981\u5bf9\u539f\u6765\u7684\u6587\u6863\u8fdb\u884c\u7684\u53d8\u5316\uff0c\u6bd4\u5982\uff0c\u4e0a\u9762\u8fd9\u4e2a\u4f8b\u5b50\uff1a<\/p>\n<pre lang=\"latex\" colla=\"+\">\n\\section{example of the \\textsf{hhline} package}\n<\/pre>\n<p>\u5982\u679c\u6211\u4eec<\/p>\n<pre lang=\"latex\" colla=\"+\">\n\\def\\pdfstringdefDisableCommands{\\let\\textsf\\relax}\n<\/pre>\n<p>\u5c31\u53ef\u4ee5\u4fdd\u7559 <strong>hhline<\/strong> \u5728 <strong>bookmark<\/strong> \u4e2d\u3002<\/p>\n<p>\u8fd9\u6837\u6211\u5c31\u6709\u4e86\u4e00\u4e2a\u4e2d\u6587 <strong>bookmark<\/strong> \u7684\u6700\u7b80\u5355\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u5b8c\u5168\u53ef\u4ee5\u4e0d\u7528\u5916\u90e8\u7a0b\u5e8f\u3002<br \/>\n\u65b9\u6cd5\u5c31\u662f\uff1a\u5728 <strong>\\usepackage{hyperref}<\/strong> \u4e4b\u540e\u52a0\u4e0a\u8fd9\u6837\u4e00\u53e5\uff1a<\/p>\n<pre lang=\"latex\" colla=\"+\">\n\\pdfstringdefDisableCommands{\n\\let\\CJK@XX\\relax\n\\let\\CJK@XXX\\relax\n\\let\\CJK@XXXp\\relax\n\\let\\CJK@XXXX\\relax\n\\let\\CJK@XXXXp\\relax\n}\n<\/pre>\n<p>\u8fd9\u6837\uff0c\u5f53\u751f\u6210 <strong>bookmark<\/strong> \u65f6\uff0c<strong>GBK<\/strong> \u7684\u6c49\u5b57\u88ab\u539f\u5c01\u4e0d\u52a8\u4fdd\u7559\u4e0b\u6765\u653e\u5230 <strong>.out <\/strong>\u6587\u4ef6\u91cc\u3002\u4ece\u800c\u53ef\u4ee5\u751f\u6210\u6b63\u786e\u7684\u4e2d\u6587 <strong>bookmark<\/strong>. \u4f60\u8fd8\u53ef\u4ee5\u628a<\/p>\n<pre lang=\"latex\" colla=\"+\">\n\\let\\CJK@XX\\relax\n\\let\\CJK@XXX\\relax\n\\let\\CJK@XXXp\\relax\n\\let\\CJK@XXXX\\relax\n\\let\\CJK@XXXXp\\relax\n<\/pre>\n<p>\u90fd\u5199\u5230 <strong>hyperref.sty<\/strong> \u7684 <strong>\\def\\pdfstringdef#1#2{&#8230;.}<\/strong> \u91cc\uff0c\u8fd9\u6837\u76f4\u63a5\u7528 <strong>hyperref<\/strong> \u5c31\u53ef\u4ee5\u751f\u6210\u4e2d\u6587 <strong>pdf bookmark<\/strong> \u4e86\uff01<\/p>\n<p>\u8fd9\u79cd\u529e\u6cd5\u6bd4\u8d77 <strong>hyperref<\/strong> \u73b0\u5728\u7684\u65b9\u6cd5\u6709\u4e00\u4e2a\u597d\u5904\u3002\u56e0\u4e3a\u6c49\u5b57\u9996\u5148\u662f\u901a\u8fc7<strong> \\CJK@XX<\/strong>, <strong>\\CJK@XXX<\/strong>, &#8230; \u8f6c\u5316\u4e3a <strong>CJK <\/strong>\u5185\u90e8\u4ee3\u7801\u7684\u3002<strong>hyperref<\/strong> \u73b0\u5728\u7684\u65b9\u6cd5\u76f8\u5f53\u4e8e\u5728\u8f93\u51fa <strong>.out<\/strong> \u6587\u4ef6\u7684\u65f6\u5019\u628a <strong>CJK<\/strong> \u5185\u90e8\u7801\u53c8\u8f6c\u56de <strong>GBK<\/strong> \u7801\u6216\u8005 <strong>Unicode<\/strong>\u3002\u6211\u7684\u529e\u6cd5\u662f\u76f4\u63a5\u628a <strong>\\CJK@XX<\/strong>, <strong>\\CJK@XXX<\/strong>, &#8230; \u8bbe\u4e3a <strong>\\relax<\/strong> \u8ba9\u5b83\u4eec\u5bf9\u6c49\u5b57\u4e0d\u8d77\u4f5c\u7528\u3002\u8fd9\u6837\u6c49\u5b57\u7f16\u7801\u76f4\u63a5\u8fdb\u5165\u4e86 <strong>.out<\/strong> \u6587\u4ef6\uff0c\u66f4\u52a0\u76f4\u63a5\u5feb\u901f\u3002<\/p>\n<p>\u4e0d\u8fc7\u5982\u679c\u60f3\u8981\u5f97\u5230 <strong>Unicode<\/strong> \u7684\u6c49\u5b57 <strong>bookmark<\/strong>, \u9700\u8981\u5b9e\u73b0\u66f4\u52a0\u76f4\u63a5\u7684\u529e\u6cd5\u628a GBK \u8f6c\u5230 Unic\uff0c\u6211\u8fd8\u4e0d\u77e5\u9053\u600e\u4e48\u8f6c\uff0c\u7f16\u7801\u7684\u4e1c\u897f\u592a\u70e6\u4eba \ud83d\ude1b \u5982\u679c\u4f60\u7684\u6c49\u5b57\u4e0d\u662f GBK, Unicode, \u800c\u662f HZ, BIG5, GB18030, \u8fd8\u662f\u4ec0\u4e48\u5176\u5b83\u8bed\u8a00\uff0c&#8230; \u4f60\u77e5\u9053\u4e86\u8fd9\u4e9b\uff0c\u5728\u5c06\u6765\u7684\u7f16\u7801\u6269\u5c55\u4e2d\u4f1a\u66f4\u52a0\u5bb9\u6613\u89e3\u51b3\u95ee\u9898\uff0c\u5982\u679c\u4f60\u9047\u5230\u8fd9\u79cd\u60c5\u51b5\u5c31\u53ef\u4ee5\u5728<strong>\\pdfstringdefDisableCommands<\/strong>\u91cc\u52a0\u5165\u4f60\u7684\u4e1c\u897f\u3002<br \/>\n<a id=\"link2\"><\/a><\/p>\n<h2>\u6c49\u5b57\u7c97\u4f53<\/h2>\n<p>\u600e\u6837\u8ba9\u6c49\u5b57\u53ef\u4ee5\u663e\u793a\u7c97\u4f53\uff1f<\/p>\n<p>\u4f60\u662f\u5426\u53d1\u73b0\uff0c\u5728 <strong>\\section<\/strong> \u6807\u53f7\u7684\u5c0f\u8282\u4e2d\uff0c\u82f1\u8bed\u662f\u7c97\u4f53\u8868\u793a\u7684\uff0c\u800c\u6c49\u5b57\u5374\u6ca1\u6709\u53d8\u5316\uff1f\u5f88\u591a\u65f6\u5019\u4f60\u60f3\u8ba9\u6c49\u5b57\u4e5f\u6210\u4e3a\u7c97\u4f53\u3002<\/p>\n<p>\u5982\u679c\u4f60\u7528 <strong>\\textbf{\u4f60\u597d}<\/strong>, \u4f60\u4f1a\u53d1\u73b0\u6839\u672c\u6ca1\u6709\u53d8\u5316\u3002\u5c31\u50cf\u4f60\u5728 Word \u91cc\u4f7f\u7528\u201c\u7c97\u4f53\u201d\uff0c\u6253\u5370\u51fa\u6765\u4e5f\u6ca1\u6709\u7c97\u4f53\u6548\u679c\u4e00\u6837\u3002\u56e0\u4e3a Word \u5176\u5b9e\u53ea\u662f\u663e\u793a\u5728\u5c4f\u5e55\u4e0a\u7684\u65f6\u5019\u8ba9\u4f60\u770b\u5230\u5f88\u201c\u7c97\u201d\uff0c\u4f46\u662f\u5176\u5b9e\u4f60\u6ca1\u6709\u201c\u7c97\u5b8b\u4f53\u201d\u8fd9\u4e2a\u5b57\u4f53\uff0c\u5b83\u6253\u5370\u65f6\u662f\u4e0d\u4f1a\u6253\u5370\u51fa\u7c97\u4f53\u7684\u3002Word \u8fd8\u6709\u5f88\u591a\u6bd4\u5982\u201c\u4e0b\u5212\u7ebf\u201d\u4e4b\u7c7b\u7684\u5b57\u4f53\u53d8\u5316\uff0c\u4f46\u662f\u5b9e\u9645\u4e0a\u90a3\u4e9b\u90fd\u662f\u4e0d\u7b26\u5408\u6392\u7248\u7684\u7f8e\u5b66\u7684\u3002<\/p>\n<p><strong>CJK<\/strong> \u5b8f\u5305\u4e3a\u6ca1\u6709\u7c97\u4f53\u7684\u4eba\u63d0\u4f9b\u4e86\u4e00\u4e2a\u201c<strong>\u7a77\u4eba<\/strong>\u201d\u7684\u529e\u6cd5\uff1a\u5728 <strong>CJK<\/strong> \u7684\u5b57\u4f53\u5b9a\u4e49\u6587\u4ef6\u4e2d\u8bbe\u7f6e <strong>\\CJKbold<\/strong>. \u770b\u770b\u4f60\u7684 c19song.fd \u91cc\u662f\u5426\u6709\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/p>\n<pre lang=\"latex\" colla=\"+\">\n\\DeclareFontFamily{C19}{song}{}\n\\DeclareFontShape{C19}{song}{m}{n}{ CJK * gbksong}{}\n\\DeclareFontShape{C19}{song}{bx}{n}{ CJKb * gbksong}{\\CJKbold}\n\\DeclareFontShape{C19}{song}{m}{it}{ CJK * gbksongsl}{}\n\\DeclareFontShape{C19}{song}{bx}{it}{ CJKb * gbksongsl}{}\n\\DeclareFontShape{C19}{song}{m}{sl}{ CJK * gbksongsl}{\\CJKbold}\n\\DeclareFontShape{C19}{song}{bx}{sl}{ CJKb * gbksongsl}{}\n\\endinput\n<\/pre>\n<p>\u5982\u679c\u6709\u7684\u8bdd\uff0c\u4f60\u7528 <strong>\\textbf{\u7c97\u4f53}<\/strong> \u5c31\u4f1a\u5f97\u5230\u4e00\u79cd\u201c<strong>\u7a77\u4eba\u7684\u7c97\u4f53<\/strong>\u201d\uff0c\u5b83\u662f\u628a\u5b8b\u4f53\u6c49\u5b57\u5e73\u79fb\u4e86\u4e09\u6b21\u91cd\u5408\u5728\u4e00\u8d77\u5b9e\u73b0\u7684\uff0c\u770b\u770b\u4f60\u7684 CJK.sty \u6709\u5982\u4e0b\u5b9a\u4e49\uff1a<\/p>\n<pre lang=\"latex\" colla=\"+\">\n\\DeclareRobustCommand{\\CJKsymbols}[2]{\n\\char #1\\char #2\\relax\n\\ifCJK@bold@\n\\hbox to \\CJKboldshift{\\hss\\char #1\\char #2}\n\\hbox to \\CJKboldshift{\\hss\\char #1\\char #2}\n\\fi}\n<\/pre>\n<p>\u8fd9\u6837\u7684\u5230\u7684\u7c97\u4f53\u663e\u7136\u662f\u975e\u5e38\u96be\u770b\u7684\uff0c\u5728PDF\u6587\u4ef6\u91cc\u663e\u793a\u660e\u663e\u6709\u201c\u5f69\u8679\u201d\u6548\u679c\uff01\u6839\u672c\u4e0d\u80fd\u7528\u3002\u6240\u4ee5 <strong>gbkfonts<\/strong> \u751f\u6210\u7684 <strong>fd<\/strong> \u6587\u4ef6\u5168\u90e8\u53bb\u6389\u4e86\u8fd9\u4e2a\u9009\u9879\u3002<\/p>\n<p>\u5b57\u4f53\u4e0d\u662f\u4e00\u4e2a\u4f60\u60f3\u600e\u4e48\u53d8\u5c31\u53ef\u4ee5\u600e\u4e48\u53d8\u7684\u4e1c\u897f\uff0c\u5b83\u5982\u679c\u8bbe\u8ba1\u7684\u65f6\u5019\u5c31\u4e0d\u662f\u7c97\u4f53\uff0c\u90a3\u4f60\u662f\u4e0d\u53ef\u80fd\u628a\u5b83\u53d8\u6210\u7c97\u4f53\u7684\u3002\u5982\u679c\u4f60\u7528LaTeX\u7f3a\u7701\u7684\u82f1\u6587\u5b57\u4f53\uff0c\u4e00\u822c\u7684\u65f6\u5019\u662f cmr10, \u7528\u7c97\u4f53\u7684\u65f6\u5019\u5176\u5b9e\u7528\u7684\u662f cmbx10\u3002 cmr10 \u548c cmbx10 \u662f\u540c\u4e00\u5bb6\u65cf(Computer Modern)\u7684\u4e24\u79cd\u4e0d\u540c\u7684\u5b57\u4f53\u3002cmbx \u5e76\u4e0d\u662f cmr \u505a\u4e86\u4ec0\u4e48\u51e0\u4f55\u53d8\u6362\u5f97\u5230\u7684\uff0c\u751a\u81f3 cmr10 \u4e5f\u8ddf\u672c\u4e0d\u662f cmr5 \u6269\u5927\u4e86\u4e24\u500d\u53d8\u51fa\u6765\u7684\uff01<\/p>\n<p>\u5b57\u4f53\u90fd\u662f\u4e13\u95e8\u7684\u8bbe\u8ba1\uff0c\u6bcf\u4e00\u4e2a\u5c3a\u5bf8\u7684\u6bcf\u4e00\u7b14\u6bcf\u4e00\u5212\u90fd\u7ecf\u8fc7\u4e86\u5b57\u4f53\u8bbe\u8ba1\u8005\u7684\u7cbe\u96d5\u7ec6\u7422\u3002\u5b83\u4eec\u6709\u7684\u4e5f\u53ef\u4ee5\u53d8\u5316\u5927\u5c0f\uff0c\u6bd4\u5982\u5f88\u591aTrueType\u548cType1\u5b57\u4f53\u90fd\u53ef\u4ee5\u968f\u610f\u53d8\u5316\u5c3a\u5bf8\uff0c\u4f46\u662f\u5b83\u4eec\u5bf9\u6bcf\u4e00\u4e2a\u5c3a\u5bf8\u8303\u56f4\u90fd\u8bbe\u7f6e\u4e86\u4e0d\u540c\u7684\u53c2\u6570\uff0c\u8fd9\u5e76\u4e0d\u662f\u4e00\u4e2a\u7b49\u6bd4\u4f8b\u7684\u201c\u7f29\u653e\u201d\u8fc7\u7a0b\u3002\u5982\u679c\u4f60\u628a\u4e00\u4e2aLaTeX\u6587\u6863\u91cc\u7684 5pt TrueType \u5b57\u4f53\u6293\u56fe\u6293\u4e0b\u6765\uff0c\u7136\u540e\u7528\u4e00\u4e2a\u56fe\u50cf\u5904\u7406\u7a0b\u5e8f(\u6bd4\u5982 ImageMagick)\u628a\u56fe\u7247\u6269\u5927\u5230\u539f\u6765\u7684\u4e24\u500d\uff0c\u8ddf\u4f60\u5728\u6587\u6863\u91cc\u76f4\u63a5\u7528\u8fd9\u4e2a\u5b57\u4f53\u7684 10pt \u7684\u6548\u679c\u80af\u5b9a\u4e0d\u4e00\u6837\uff0c\u5b57\u4f53\u7684\u957f\u5bbd\u6bd4\u4f8b\uff0c\u751a\u81f3\u5f88\u591a\u5f27\u7ebf\u7684\u89d2\u5ea6\u90fd\u6709\u5f88\u5927\u5dee\u522b\u3002<\/p>\n<p>\u201c\u539f\u8bbe\u8ba1\u201d\u53ea\u6709\u653e\u5728\u201c\u539f\u5c3a\u5bf8\u201d\u624d\u662f\u6700\u597d\u770b\u7684\uff0c\u66f4\u4e0d\u7528\u8bf4\u201c\u7c97\u4f53\u201d\u548c\u201c\u666e\u901a\u4f53\u201d\u4e4b\u95f4\u8fd9\u4e48\u5de8\u5927\u7684\u53d8\u5316\u4e86\u3002\u5982\u679c\u4f60\u7b80\u5355\u7684\u628a\u666e\u901a\u5b57\u4f53\u7ecf\u8fc7\u4ec0\u4e48\u51e0\u4f55\u53d8\u6362\u5f97\u5230\u4e00\u4e2a\u201c\u7c97\u4f53\u201d\uff0c\u90a3\u4e48\u5b83\u5728\u7f8e\u5b66\u4e0a\u662f\u8fc7\u4e0d\u4e86\u5173\u7684\uff0c\u4f60\u7684\u5b57\u7b26\u4f1a\u201c\u4e0d\u878d\u5408\u201d\uff0c\u4f7f\u5f97\u6587\u6863\u201c\u9ed1\u767d\u4e0d\u5747\u201d\uff0c\u6587\u6863\u7684\u6574\u4f53\u6548\u679c\u4f1a\u53d7\u5230\u5f88\u5927\u5f71\u54cd\u3002<\/p>\n<p>\u6240\u4ee5\uff0c\u4f60\u4e0d\u5e94\u8be5\u628a\u4f60\u6b63\u5728\u7528\u7684\u8fd9\u4e2a\u201c\u5b8b\u4f53\u201d\u53d8\u201c\u7c97\u201d\uff0c\u800c\u5fc5\u987b\u53bb\u627e\u4e13\u95e8\u7684\u201c\u7c97\u5b8b\u4f53\u201d\u6765\u7528\u3002\u4f46\u662f\u5982\u679c\u4f60\u6ca1\u6709\uff0c\u90a3\u5c31\u7528\u9ed1\u4f53\u4ee3\u66ff\u597d\u4e86\u3002<\/p>\n<p>\u505a\u6cd5\u662f\u8fd9\u6837\uff1a\u5f53\u8981\u6c42\u4f7f\u7528\u7c97\u4f53(bx)\u7684\u65f6\u5019\uff0c\u7528\u9ed1\u4f53\u4ee3\u6362\u3002\u4f60\u53ef\u4ee5\u628a\u4f60\u7684 <strong>c19song.fd<\/strong>, <strong>c19kai.fd<\/strong>, &#8230; \u90fd\u6539\u6210\u5982\u4e0b\u7684\u6837\u5b50\uff1a<\/p>\n<pre lang=\"latex\" colla=\"+\">\n\\DeclareFontFamily{C19}{song}{}\n\\DeclareFontShape{C19}{song}{m}{n}{ CJK * gbksong}{}\n\\DeclareFontShape{C19}{song}{bx}{n}{ CJKb * gbkhei}{}\n\\DeclareFontShape{C19}{song}{m}{it}{ CJK * gbksongsl}{}\n\\DeclareFontShape{C19}{song}{bx}{it}{ CJKb * gbkheisl}{}\n\\DeclareFontShape{C19}{song}{m}{sl}{ CJK * gbksongsl}{}\n\\DeclareFontShape{C19}{song}{bx}{sl}{ CJKb * gbkheisl}{}\n\\endinput\n<\/pre>\n<p>\u8fd9\u6837\u9ed1\u4f53\u5c31\u4f1a\u4f5c\u4e3a\u201c\u7c97\u4f53\u201d\u51fa\u73b0\u5728\u7ae0\u8282\u6807\u9898\uff0c\u7c97\u4f53\u73af\u5883\u4e2d\u4e86\u3002<\/p>\n<p>\u5982\u679c\u4f60\u8fd0\u6c14\u597d\uff0c\u4f60\u6709\u4e00\u4e2a\u771f\u6b63\u7684\u6f02\u4eae\u7684\u201c\u7c97\u5b8b\u4f53\u201d\uff0c\u6bd4\u5982\u5b83\u7684\u540d\u5b57\u53eb\u505a <strong>gbkBsong<\/strong>\u3002\u4f60\u5c31\u53ef\u4ee5\u4eff\u9020\u4e0a\u9762\u5728 <strong>c19song.fd<\/strong> \u52a0\u5165\uff1a<\/p>\n<pre lang=\"latex\" colla=\"+\">\n\\DeclareFontShape{C19}{song}{bx}{n}{CJKb * gbkBsong}{}\n<\/pre>\n<p>\u5982\u679c\u4f60\u8fd8\u6709\u4e00\u4e2a\u201c\u7c97\u6977\u4f53\u201d\u53eb\u505a <strong>gbkBkai<\/strong>\u3002\u4f60\u5c31\u4f9d\u846b\u82a6\u753b\u74e2\uff0c\u4fee\u6539 <strong>c19kai.fd<\/strong>:<\/p>\n<pre lang=\"latex\" colla=\"+\">\n\\DeclareFontShape{C19}{kai}{bx}{n}{CJKb * gbkBkai}{}\n<\/pre>\n<h2>\u5f85\u7eed&#8230;<\/h2>\n","protected":false},"excerpt":{"rendered":"<p>\u539f\u6587\u94fe\u63a5 LaTeX \u5904\u7406\u6c49\u5b57\u7684\u65f6\u5019\u4e3b\u8981\u662f\u7528 CJK \u5b8f\u5305\u3002\u8fd9\u91cc\u6536\u96c6\u4e86\u4e00\u4e9b\u4e2d\u6587\u5904 &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/lttt.vanabel.cn\/?p=1653\"> <span class=\"screen-reader-text\">[\u8f6c\u8f7d]LaTeX\u4e2d\u6587\u89e3\u51b3\u65b9\u6848\u96c6\u9526<\/span> \u9605\u8bfb\u66f4\u591a &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[257,484,532,127,144,306,317],"class_list":["post-1653","post","type-post","status-publish","format-standard","hentry","category-latex","tag-cjk","tag-gbk","tag-latex-2","tag-127","tag-144","tag-306","tag-317"],"_links":{"self":[{"href":"https:\/\/lttt.vanabel.cn\/index.php?rest_route=\/wp\/v2\/posts\/1653","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lttt.vanabel.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lttt.vanabel.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lttt.vanabel.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lttt.vanabel.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1653"}],"version-history":[{"count":0,"href":"https:\/\/lttt.vanabel.cn\/index.php?rest_route=\/wp\/v2\/posts\/1653\/revisions"}],"wp:attachment":[{"href":"https:\/\/lttt.vanabel.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1653"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lttt.vanabel.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1653"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lttt.vanabel.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}