使用 bibtex 格式化参考文献

使用 bibtex 格式化参考文献

我在 Mac 上使用 bibtex 和 pdflatex。我需要匹配的引用要求是

  1. 参考文献已编号,
  2. 按文本中出现次数进行编号
  3. [1,2,3] 应压缩为 [1-3]
  4. 参考样式应为 在此处输入图片描述

我目前正在使用

\bibliographystyle{ieeetr}

这满足了 1.-3. 但风格是错误的,它看起来像 在此处输入图片描述

反而。

我现在如何才能获得正确的参考样式?

答案1

图片看起来非常类似于应用化学风格。

至少有两种 BibTeX 样式应用化学在 CTAN 上。

  1. angew.bstrsc

    \documentclass[british]{article}
    \usepackage[T1]{fontenc}
    \usepackage[utf8]{inputenc}
    \usepackage{babel}
    
    \usepackage[sort&compress,numbers]{natbib}
    
    \begin{filecontents}{\jobname.bib}
    @article{becke,
      author  = {Becke, Axel D.},
      title   = {Density-functional thermochemistry. {III.}
                 {The} role of exact exchange},
      journal = {J. Chem. Phys.},
      volume  = {98},
      number  = {7},
      pages   = {5648-5652},
      year    = {1993},
      doi     = {10.1063/1.464913},
    }
    @article{perdew,
      title   = {Generalized Gradient Approximation Made Simple},
      author  = {Perdew, John P. and Burke, Kieron and Ernzerhof, Matthias},
      journal = {Phys. Rev. Lett.},
      volume  = {77},
      number  = {18},
      pages   = {3865-3868},
      year    = {1996},
      month   = 8,
      doi     = {10.1103/PhysRevLett.77.3865},
    }
    \end{filecontents}
    
    \begin{document}
    \cite{perdew,becke}
    \bibliographystyle{angew}
    \bibliography{\jobname}
    \end{document}
    
  2. ChemEurJchembst

    \documentclass[british]{article}
    \usepackage[T1]{fontenc}
    \usepackage[utf8]{inputenc}
    \usepackage{babel}
    
    \usepackage[sort&compress,numbers]{natbib}
    
    \begin{filecontents}{\jobname.bib}
    @article{becke,
      author  = {Becke, Axel D.},
      title   = {Density-functional thermochemistry. {III.}
                 {The} role of exact exchange},
      journal = {J. Chem. Phys.},
      volume  = {98},
      number  = {7},
      pages   = {5648-5652},
      year    = {1993},
      doi     = {10.1063/1.464913},
    }
    @article{perdew,
      title   = {Generalized Gradient Approximation Made Simple},
      author  = {Perdew, John P. and Burke, Kieron and Ernzerhof, Matthias},
      journal = {Phys. Rev. Lett.},
      volume  = {77},
      number  = {18},
      pages   = {3865-3868},
      year    = {1996},
      month   = 8,
      doi     = {10.1103/PhysRevLett.77.3865},
    }
    \end{filecontents}
    
    \begin{document}
    \cite{perdew,becke}
    \bibliographystyle{ChemEurJ}
    \bibliography{\jobname}
    \end{document}
    

这两个软件包在 MikTeX 和 TeX live 中均可用,如果它们尚不存在,则可以通过 TeX 发行版进行安装(即通过tlmgr或带有 TeX live 的 TeX Live 实用程序以及通过 MikTeX 中的 MikTeX 控制台)。

两种风格在 MWE 中都会产生以下内容

JP Perdew,K. Burke,M. Ernzerhof,Phys. Rev. Lett. 1996,77,3865–3868。//AD Becke,J. Chem. Phys. 1993,98,5648–5652。

约瑟夫·赖特的维护者rsc在他的回答中讨论了这两种风格bibtex 风格的“angewandte”和双重引用


如果您想使用biblatex,您可以chem-angew使用biblatex-chem

\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[backend=biber, style=chem-angew]{biblatex}

\begin{filecontents}{\jobname.bib}
@article{becke,
  author  = {Becke, Axel D.},
  title   = {Density-functional thermochemistry. {III.}
             {The} role of exact exchange},
  journal = {J. Chem. Phys.},
  volume  = {98},
  number  = {7},
  pages   = {5648-5652},
  year    = {1993},
  doi     = {10.1063/1.464913},
}
@article{perdew,
  title   = {Generalized Gradient Approximation Made Simple},
  author  = {Perdew, John P. and Burke, Kieron and Ernzerhof, Matthias},
  journal = {Phys. Rev. Lett.},
  volume  = {77},
  number  = {18},
  pages   = {3865-3868},
  year    = {1996},
  month   = 8,
  doi     = {10.1103/PhysRevLett.77.3865},
}
\end{filecontents}
\addbibresource{\jobname.bib}

\begin{document}
\cite{perdew,becke}
\printbibliography
\end{document}

相关内容