如何在没有 achemso 包的情况下使用 achemso 书目样式?

如何在没有 achemso 包的情况下使用 achemso 书目样式?

我尝试使用achemso我想要提交给期刊的文章以外的文档的参考书目样式。因此,我不使用该类achemso也不使用该achemso包。

它可以工作,但参考文献没有编号。我该如何改变这种情况,或者是否存在像这样的标准书目样式achemso

答案1

achemso使用书目样式时,建议使用该包achemso,因为它提供了一个方便的界面来更改样式使用的控制值。但是,完全可以在不使用包的情况下使用书目样式。要做到这一点,要记住的关键是它是一种编号natbib样式,因此您应该使用选项加载natbibnumbers

\begin{filecontents}{\jobname.bib}
@ARTICLE{Abernethy2003,
  author = {Colin D. Abernethy and Gareth M. Codd and Mark D. Spicer
    and Michelle K. Taylor},
  title = {{A} highly stable {N}-heterocyclic carbene complex of
    trichloro-oxo-vanadium(\textsc{v}) displaying novel
    {C}l---{C}(carbene) bonding interactions},
  journal = {{J}. {A}m. {C}hem. {S}oc.},
  year = {2003},
  volume = {125},
  pages = {1128--1129},
  number = {5},
  doi = {10.1021/ja0276321},
}
\end{filecontents}
\documentclass{article}
\usepackage[sort&compress,numbers,super]{natbib}
\bibliographystyle{achemso}
\begin{document}
Text\cite{Abernethy2003}
\bibliography{\jobname}
\end{document}

如果您希望能够控制参考书目输出,例如设置是否包含文章标题,那么您需要有一个特殊的“控制”数据库条目,并引用它。这可以通过与包的工作方式基本相同的方式实现:

\begin{filecontents}{\jobname.bib}
@ARTICLE{Abernethy2003,
  author = {Colin D. Abernethy and Gareth M. Codd and Mark D. Spicer
    and Michelle K. Taylor},
  title = {{A} highly stable {N}-heterocyclic carbene complex of
    trichloro-oxo-vanadium(\textsc{v}) displaying novel
    {C}l---{C}(carbene) bonding interactions},
  journal = {{J}. {A}m. {C}hem. {S}oc.},
  year = {2003},
  volume = {125},
  pages = {1128--1129},
  number = {5},
  doi = {10.1021/ja0276321},
}
\end{filecontents}
\begin{filecontents}{\jobname-control.bib}
@Control{achemso-control,
  ctrl-article-title  = "no",
  ctrl-chapter-title  = "no",
  ctrl-etal-number    = "15",
  ctrl-etal-firstonly = "yes",
}
\end{filecontents}
\documentclass{article}
\usepackage[sort&compress,numbers,super]{natbib}
\bibliographystyle{achemso}
\AtBeginDocument{\nocite{achemso-control}}
\begin{document}
Text\cite{Abernethy2003}
\bibliography{\jobname,\jobname-control}
\end{document}

或者当然你可以将控制条目添加到主.bib文件中。希望控制条目足够清晰。

答案2

documentclass在命令后面加上下面一行就更加简单了:

\documentclass[journal=langmuir,manuscript=article]{achemso}
\setkeys{acs}{articletitle=true}

这只是在参考文献中介绍标题。

相关内容