{"id":4522,"date":"2015-04-10T20:51:37","date_gmt":"2015-04-10T12:51:37","guid":{"rendered":"https:\/\/lttt.blog.ustc.edu.cn\/?p=4522"},"modified":"2015-04-10T20:51:37","modified_gmt":"2015-04-10T12:51:37","slug":"%e4%b8%bawinedt%e6%b7%bb%e5%8a%a0%e8%87%aa%e5%88%b6latex%e6%a8%a1%e6%9d%bf","status":"publish","type":"post","link":"https:\/\/lttt.vanabel.cn\/?p=4522","title":{"rendered":"\u4e3aWinEdt\u6dfb\u52a0\u81ea\u5236LaTeX\u6a21\u677f"},"content":{"rendered":"<p>\u5b9e\u9645\u4e0a\uff0c \u5199\u4f5c\u8fc7\u7a0b\u4e2d\u6709\u4e9b\u91cd\u590d\u7684\u4e1c\u897f\u3002 \u4e3a\u6b64\uff0c \u6211\u4eec\u53ef\u4ee5\u5c06\u516c\u5171\u7684\u90e8\u5206\u63d0\u51fa\u6765\u5efa\u4e00\u4e2a\u6a21\u677f\u6587\u4ef6\u3002 \u7136\u540e\u5c06\u5176\u6dfb\u52a0\u5230WinEdt\u4e2d\uff0c \u8fd9\u6837\u6211\u4eec\u5c31\u53ef\u4ee5\u76f4\u63a5\u5728\u65b0\u5efa\u6587\u6863\u91cc\u9762\u627e\u5230\u4e86\u3002<\/p>\n<p>\u8be6\u7ec6\u8fc7\u7a0b\u5982\u4e0b\uff1a<\/p>\n<ol>\n<li>\u5047\u8bbe\u4f60\u7684tex\u5b89\u88c5\u76ee\u5f55\u4e3a\uff1a<code>C:\\CTEX<\/code>\uff0c \u9996\u5148\u662f\u628a\u4f60\u7684\u6a21\u677f\u6587\u4ef6copy\u5230<code>C:\\CTEX\\WinEdt\\Templates\\Doc<\/code>\u4e0b\u9762\uff0c \u8fd9\u6837WinEdt\u5c31\u53ef\u4ee5\u5728\u76f8\u5e94\u4f4d\u7f6e\u627e\u5230\u8be5\u6587\u4ef6\u4e86\u3002<\/li>\n<li>\u6253\u5f00WinEdt\uff0c \u5355\u51fb<code>Options-&gt;Options Interface<\/code>, \u6253\u5f00\u9009\u9879\u4ea4\u4e92\u8fb9\u4fa7\u680f\u3002\u6b64\u65f6\u5728\u8be5\u8fb9\u4fa7\u680f\u627e\u5230<code>Editor: Mouse,Modes,Defaults...<\/code> \u4e0b\u7684<code>Document Templates<\/code>, \u5e76\u5355\u51fb\u6253\u5f00<code>Templates.ini<\/code><\/li>\n<li>\u5728\u4f60\u5e0c\u671b\u663e\u793a\u65b0\u6a21\u677f\u7684\u4f4d\u7f6e\uff08\u6211\u8fd9\u91cc\u662f\u6700\u540e, \u6ce8\u610f\u653e\u5728<code>[END]<\/code>\u4e4b\u524d\u624d\u6709\u6548\uff09\u6dfb\u52a0\u4e00\u6761<code>TEMPLATE<\/code>, \u6211\u662f\u9996\u5148copy\u4e00\u6761<code>AMSart<\/code>\u7684<code>TEMPLATE<\/code> \u7136\u540e\u4fee\u6539\u6210\u8fd9\u4e2a\u6837\u5b50\uff1a<\/li>\n<\/ol>\n<pre>TEMPLATE=\"CTeX: Article\"\n  MODE=\"TeX\"\n  NAME=\"\"\n  EXTENSION=\".tex\"\n  FILE_TEMPLATE=\"%B\\Templates\\Doc\\Chinese_template.tex\"\n  BEFORE_MACRO=\"\"\n  AFTER_MACRO=\"[NextBullet;ScreenCenterLine;]\"\n<\/pre>\n<p>\u5176\u4e2d\u53ea\u6709\u4e24\u5904\u9700\u8981\u5bf9\u5e94\u4fee\u6539\uff0c \u4e00\u662f<code>TEMPLATE=\"CTeX: Article\"<\/code>, \u8fd9\u91cc<code>CTeX: Article<\/code>\u53ef\u4ee5\u4fee\u6539\u5728\u65b0\u5efaDocument\u65f6\u7684\u663e\u793a\u540d\u5b57\u3002\u4e8c\u662f<code>FILE_TEMPLATE=\"%B\\Templates\\Doc\\Chinese_template.tex\"<\/code> \u8fd9\u91cc<code>Chinese_template.tex<\/code> \u662f\u6211\u7684\u6a21\u677f\u540d\uff0c\u4f60\u53ef\u80fd\u9700\u8981\u66f4\u6539\u6210\u4f60\u5728\u4e4b\u524dcopy\u7684\u5230<code>Doc<\/code>\u4e0b\u7684\u6a21\u677f\u6587\u4ef6\u540d\u3002<\/p>\n<p>\u6700\u540e\u9644\u4e0a\u6211\u7684\u6a21\u677f\u6587\u4ef6\u6e90\u7801<\/p>\n<pre>\\documentclass[12pt, hyperref]{ctexart}\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n%%\u5e38\u7528\u5b8f\u5305%%\n%%%%%%%%%%%%\n%\u4fdd\u7559\u4e2d\u82f1\u6587\u4e4b\u95f4\u7684\u7a7a\u683c\n\\usepackage{CJKspace}\n\\usepackage{amsmath,amsthm,amssymb}\n\\usepackage[a4paper, margin=1in, includeheadfoot]{geometry}\n%%\u4ea4\u6362\u56fe\n%\\usepackage[all,cmtip]{xy}\n%%\u5217\u8868\n\\usepackage{enumerate}\n\\usepackage{enumitem}\n\\setlist[enumerate,1]{label={\\normalfont(\\alph*)}}\n\\usepackage{graphicx}\n\\usepackage{caption}\n%\u53bb\u6389\u56fe1\uff1a\u540e\u5192\u53f7\n\\DeclareCaptionLabelSeparator{twospace}{\\ ~}\n\\captionsetup{labelsep=twospace}\n%%\u5217\u51fa\u5f15\u7528\u6807\u7b7e, final\u8868\u793a\u5728\u6700\u7ec8\u7248\u672c\u4e2d\u4e0d\u663e\u793a\n\\usepackage[notref,notcite, final]{showkeys}\n%%\u53c2\u8003\u6587\u732e\u6392\u5e8f\n\\usepackage{cite}\n%%\u53c2\u8003\u6587\u732e\u5408\u5e76\u5230\u6b63\u6587\n\\usepackage{filecontents}\n%%\u8d85\u94fe\u63a5, ocgcolorlinks\u9009\u9879\u8868\u793a\u6253\u5370\u81ea\u52a8\u662f\u9ed1\u767d\u7684\n\\usepackage[ocgcolorlinks]{hyperref}\n%%\u8bbe\u7f6e\u4e66\u7b7e\n\\hypersetup{%\n    pdfstartview=FitH,\n    bookmarksopen=false,\n    colorlinks=true,\n    linkcolor=blue,\n    pdfinfo={\n        Title={},%Input your title here\n        Subject={},%Input your subject\n        Author={},%Your name\n        Keywords={},%Your keywords%\n        }\n}\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n%%\u5e38\u7528\u8bbe\u7f6e%%\n%%%%%%%%%%%%\n\\newtheorem{defn}{\u5b9a\u4e49}[section]\n\\newtheorem{thm}[defn]{\u5b9a\u7406}\n\\newtheorem{lem}[defn]{\u5f15\u7406}\n\\newtheorem{cor}[defn]{\u63a8\u8bba}\n\\newtheorem{prop}[defn]{\u547d\u9898}\n\\newtheorem*{rem}{\u6ce8\u8bb0}\n%%\u4ee5\u8282\u7f16\u53f7\n\\numberwithin{equation}{section}\n%%\u91cd\u5b9a\u4e49\u516c\u5f0f\u5199\u6cd5\n\\newenvironment{eq}{\\equation}{\\endequation}\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n%%\u81ea\u5b9a\u4e49\u547d\u4ee4%%\n%%%%%%%%%%%%%%\n%\u53d8\u5c0f\u590d\u5408\u51fd\u6570\u7684\u5708\n\\newcommand{\\comp}{\\raisebox{1pt}{\\scalebox{.7}{$\\circ$}}}\n%%\u96c6\u5408\n\\newcommand{\\set}[1]{\\left\\{#1\\right\\}}\n%%\u504f\u5bfc\n\\newcommand{\\pt}{\\partial}\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n%%\u53c2\u8003\u6587\u732e\u6570\u636e%%\n%%%%%%%%%%%%%%%%\n\n%%\u8fd9\u91cc\u653e\u5165google\u5bfc\u5165\u7684\u53c2\u8003\u6587\u732e\u6570\u636e\u5e93, \u7f16\u8bd1\u9700\u591a\u7528\u4e00\u6b21biblatex\n\\begin{filecontents}{\\jobname.bib}\n@book{lebesgue2003leccons,\n  title={Le{\\c{c}}ons sur l'int{\\'e}gration et la recherche des fonctions primitives},\n  author={Lebesgue, Henri},\n  volume={267},\n  year={2003},\n  publisher={AMS Bookstore}\n}\n@article{shoen1976harmonic,\n  title={Harmonic maps and the topology of stable hypersurfaces and manifolds with non-negative Ricci curvature},\n  author={Shoen, Richard and Yau, Shing Tung},\n  journal={Commentarii Mathematici Helvetici},\n  volume={51},\n  number={1},\n  pages={333--341},\n  year={1976},\n  publisher={Springer}\n}\n\\end{filecontents}\n\n\n\n\\title{\u6587\u7ae0\u9898\u76ee}\n\\author{\u4f60\u7684\u540d\u5b57\\&amp;\u5408\u4f5c\u8005}\n\\date{\\today}\n%%\u5408\u4f5c\u8005\u5730\u5740\u5199\u6cd5\n\\newcommand{\\Addresses}{{% additional braces for segregating \\footnotesize\n  \\bigskip\n  \\footnotesize\n  R.~Campbell, \\textsc{Department of Mathematics, Pennsylvania State University,\n    Pittsburgh, Pennsylvania 13593}\\par\\nopagebreak\n  \\textit{E-mail address}, R.~Campbell: \\texttt{campr@galois.psu.edu}\\\\\n  \\medskip\n  M.~Dane (Corresponding author), \\textsc{Atmospheric Research Station,\n    Pala Lundi, Fiji}\\par\\nopagebreak\n  \\textit{E-mail address}, M.~Dane: \\texttt{DaneMark@@ffr.choice}\n}}\n\n\n\n\n<\/pre>\n<p>\\begin{document}<\/p>\n<p>\\maketitle<\/p>\n<p>\\section{\u5982\u4f55\u4f7f\u7528Ctex\u5199\u4e2d\u6587}<\/p>\n<p>\u5199\u4e2d\u6587\u6700\u7b80\u5355\u7684\u529e\u6cd5\u5c31\u662f\u4f7f\u7528 \\verb|\\documentclass{ctexart}| \u4e86.<\/p>\n<p>\\subsection{\u5b9a\u7406\u73af\u5883\u4f7f\u7528}<\/p>\n<p>\\begin{thm}[\u52fe\u80a1\u5b9a\u7406]<\/p>\n<p>\u5047\u8bbe$a,b,c$\u662f\u76f4\u89d2\u4e09\u89d2\u5f62\u7684\u4e09\u8fb9\u957f, \u4e14$c$\u4e3a\u659c\u8fb9\u957f. \u5219<\/p>\n<p>\\begin{eq}\\label{eq:1}<\/p>\n<p>a^2+b^2=c^2.<\/p>\n<p>\\end{eq}<\/p>\n<p>\u516c\u5f0f\\eqref{eq:1}\u5c31\u79f0\u4e3a\u52fe\u80a1\u5b9a\u7406.<\/p>\n<p>\\end{thm}<\/p>\n<p>\\section{\u53c2\u8003\u6587\u732e\u7684\u793a\u4f8b}<\/p>\n<p>\u8fd9\u662f\u5f15\u7528\\cite{shoen1976harmonic,lebesgue2003leccons}<\/p>\n<p>%%\u53c2\u8003\u6587\u732e<\/p>\n<p>\\bibliographystyle{plain}<\/p>\n<p>\\bibliography{\\jobname}<\/p>\n<p>%input \u201cthis file name.bib\u201d<\/p>\n<p>%%\u8f93\u51fa\u4f5c\u8005\u5730\u5740<\/p>\n<p>\\Addresses<\/p>\n<p>\\end{document}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b9e\u9645\u4e0a\uff0c \u5199\u4f5c\u8fc7\u7a0b\u4e2d\u6709\u4e9b\u91cd\u590d\u7684\u4e1c\u897f\u3002 \u4e3a\u6b64\uff0c \u6211\u4eec\u53ef\u4ee5\u5c06\u516c\u5171\u7684\u90e8\u5206\u63d0\u51fa\u6765\u5efa\u4e00\u4e2a\u6a21 &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/lttt.vanabel.cn\/?p=4522\"> <span class=\"screen-reader-text\">\u4e3aWinEdt\u6dfb\u52a0\u81ea\u5236LaTeX\u6a21\u677f<\/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":[679,724],"class_list":["post-4522","post","type-post","status-publish","format-standard","hentry","category-latex","tag-winedt","tag-724"],"_links":{"self":[{"href":"https:\/\/lttt.vanabel.cn\/index.php?rest_route=\/wp\/v2\/posts\/4522","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=4522"}],"version-history":[{"count":0,"href":"https:\/\/lttt.vanabel.cn\/index.php?rest_route=\/wp\/v2\/posts\/4522\/revisions"}],"wp:attachment":[{"href":"https:\/\/lttt.vanabel.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4522"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lttt.vanabel.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4522"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lttt.vanabel.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4522"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}