安装revtex4-1

用tex写paper,作者单位标号总是不对,原来是模板的revtex包有bug,安装最新的revtex4-1(到APS网站下载)后问题解决。

安装过程:

解压缩下载下来的revtex4-1.zip安装包,可以得到revtex4-1-tds.zip安装包,

再解压缩,然后将revtex4-1-tds里面的 tex/latex/revtex 拷贝到::\CTEX\MiKTeX\tex\latex,

最后打开 WinEdt—> Accessories–> MikTex–> MikTex Options,并点击Refresh FNDB,完成。

打开\revtex4-1\revtex4-1\revtex4-1-tds\doc\latex\revtex\sample\aps\apssamp.tex 编译,如果一切顺利,则安装成功。

引用参考文献生成诸如Ref. [13]这样的格式,使用这个命令:  Ref. [\onlinecite{aaa}]

————–

2020年3月4日更新

在Mac中安装revtex4-2版本

1 在APS网站下载revtex4-2-tds压缩包

2 将解压后的文件复制到/usr/local/texlive/2018/texmf-dist/tex/latex/

3 在终端输入 sudo mktexlsr 和 sudo texhash 更新。

发表回复

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

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax