{"id":277705,"date":"2021-01-13T17:25:46","date_gmt":"2021-01-13T09:25:46","guid":{"rendered":"http:\/\/4563.org\/?p=277705"},"modified":"2021-01-13T17:25:46","modified_gmt":"2021-01-13T09:25:46","slug":"%e5%9c%a8-texlive-%e6%96%87%e4%bb%b6%e5%86%8d%e6%89%93%e5%bc%80%e7%bc%96%e8%af%91%e6%97%b6%e9%81%87%e5%88%b0-ctex-sty-not-found","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=277705","title":{"rendered":"\u5728 Texlive \u6587\u4ef6\u518d\u6253\u5f00\u7f16\u8bd1\u65f6\u9047\u5230 &#8216;ctex.sty&#8217; not found"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5728 Texlive \u6587\u4ef6\u518d\u6253\u5f00\u7f16\u8bd1\u65f6\u9047\u5230 &#8216;ctex.sty&#8217; not found               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : loadhe <\/span>  <span><i><\/i> 0<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u5982\u9898\uff0c\u4eca\u5929\u7b2c\u4e00\u6b21\u4f7f\u7528 Texlive \u9009\u62e9\u4e86\u5b8c\u6574\u5b89\u88c5\u3002<br \/> \u8c01\u77e5\u6240\u6709\u7684\u6587\u4ef6\u5728\u7b2c\u4e00\u6b21\u65b0\u5efa\u6253\u5f00\u7f16\u8bd1\u7684\u65f6\u5019\u6ca1\u95ee\u9898\uff0c\u5173\u95ed\u518d\u6253\u5f00\u7f16\u8bd1\u7684\u65f6\u5019\u5c31\u4f1a\u62a5\u9519\u5982\u4e0b\uff1a<\/p>\n<pre><code>This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020\/W32TeX) (preloaded format=pdflatex)  restricted write18 enabled. entering extended mode (.\/ps2_sol.tex LaTeX2e &lt;2020-10-01&gt; patch level 2 L3 programming layer &lt;2020-10-27&gt; xparse &lt;2020-03-03&gt; (c:\/Users\/19122\/AppData\/Roaming\/TinyTeX\/texmf-dist\/tex\/latex\/base\/article.cls Document Class: article 2020\/04\/10 v1.4m Standard LaTeX document class (c:\/Users\/19122\/AppData\/Roaming\/TinyTeX\/texmf-dist\/tex\/latex\/base\/size10.clo))  ! LaTeX Error: File `ctex.sty' not found.  Type X to quit or &lt;RETURN&gt; to proceed, or enter new name. (Default extension: sty)  Enter file name:  Process interrupted by user <\/code><\/pre>\n<h4>\u6587\u6863\u5982\u4e0b<\/h4>\n<pre><code>documentclass{article} usepackage[space]{ctex} begin{document} section{Insurance} paragraph{1.} Expected income is $$bar{Y} = pY_H + (1-p)Y_L = 7$$  Expected Utility is $$u(bar{Y}) = 7^{0.5}$$  Expected utility: $$Y_0 = pu(Y_H)+(1-p)u(Y_L) = 2.5 leq u(bar{Y}) = 7^{0.5} = u(bar{Y} - q)$$  $$bar{M} = q = 0.75$$  \u4f60\u597d\uff0c\u3053\u3093\u306b\u3061\u306f\u3001LaTeX   end{document} <\/code><\/pre>\n<p>Package Manager \u4e2d\u4e5f\u80fd\u641c\u7d22\u5230\u786e\u8ba4\u6709 ctex \u8fd9\u4e2a\u5305\uff0c\u4e0d\u77e5\u9053\u6709\u6ca1\u6709\u670b\u53cb\u4e5f\u9047\u5230\u8fd9\u6837\u7684\u95ee\u9898\uff0c\u6c42\u89e3\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>7<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4923515\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xlzpx <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u770b\u8d77\u6765\u50cf\u662f\u6587\u4ef6\u7f16\u7801\u95ee\u9898<\/p>\n<p>\u58f0\u660e utf-8 \u8bd5\u4e0b\uff1f                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4923516\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : loadhe <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @xlzpx \u6211\u4e5f\u8bd5\u8fc7\uff0c\u4f46\u662f\u6ca1\u7528                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4923517\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : loadhe <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u96be\u9053\u662f\u548c R studio \u7684 tinytex \u51b2\u7a81\u4e86\uff1f\u5982\u679c\u662f\u90a3\u6837\u7684\u8bdd\u8981\u600e\u4e48\u89e3\u51b3\u5462                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4923518\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zvl0reqglvd <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5e94\u8be5\u662f\u7b2c\u4e8c\u53e5\u7684\u95ee\u9898\uff0c\u4e0d\u884c\u91cd\u88c5\u54c8\u8bd5\u8bd5\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4923519\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : yzbythesea <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7f16\u8bd1\u7528\u7684\u662f tinytex\uff0c\u4e0d\u662f texlive \u3002\u4fee\u6539 PATH \u8ba9\u4f60\u7684 pdflatex \u7528 texlive \u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4923520\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : loadhe <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @yzbythesea \u8c22\u5927\u4f6c\u89e3\u60d1\uff01\u5728\u8bbe\u7f6e\u91cc\u76f4\u63a5\u628a tinytex \u7684 path \u5220\u9664\u6389\u5c31\u641e\u5b9a\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4923521\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : loadhe <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @zvl0reqglvd \u4e0b\u9762\u5df2\u7ecf\u89e3\u51b3\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5728 Texlive \u6587\u4ef6\u518d\u6253\u5f00\u7f16\u8bd1&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/277705"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=277705"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/277705\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=277705"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=277705"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=277705"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}