学习:LaTex 报错:File ‘revtex4.cls’ not found 怎么解决?

| 2015年3月10日

出错原因是在文章内使用
\documentclass[aps,showpacs,showkeys,preprint]{revtex4}
代码调用了该文件。

解决办法:

下载 REVTeX 4.1 并安装即可。RevTex4.1 的介绍和下载请看着个链接:http://journals.aps.org/revtex/ 这是 APS 的介绍页面。

下面附上下载地址和安装方法:

Download and Install REVTeX 4.1

The REVTeX 4.1 may be downloaded directly from here as revtex4-1.zip. REVTeX 4.1 is also available on CTAN.

To install REVTeX 4.1, unzip the revtex4-1.zip file. This will unpack a README file as well as an additional zip file, revtex4-1-tds.zip. The README file contains information about how to unpack and install the revtex4-1-tds.zip file. Briefly, this zip file contains all of the files in the REVTeX 4.1 distribution in the standard “TeX Directory Structure” (TDS) layout. Usually the file can be unzipped directly in the local tree of your TeX distribution (for TeX Live, this would be in the texmf-local directory).

发表评论

电子邮件地址不会被公开。 必填项已用*标注