设置选项似乎不适用于 achemso 文档类

设置选项似乎不适用于 achemso 文档类

我正在向非 ACS 期刊提交一篇论文,但该期刊仍然遵循最多ACS 格式指南。因此,我尝试使用achemso文档类并设置一些选项来满足期刊的特性。

特别是我需要引用不上标,而是出现在方括号中,并位于标点符号之前,例如:[5]。此外,参考文献列表应按 1. 2. 3. 等形式列出,而不是 (1) (2) (3)。

文档achemso中说,你可以使用文档类后面的命令设置其中一些选项\setkeys{acs}{},如下所示。然而,在编译 TeX 时,这个命令似乎被完全忽略了。

有任何想法吗?

不管怎样,我在 Mac 上使用 TeXShop/TexLive,并使用最新的achemso软件包更新于 2011/12/30。

\documentclass[journal=jacsat,manuscript=article,layout=traditional,super=false]{achemso}
\setkeys{acs}{biblabel=period,super=false}

% Handles moving citation markers before punctuation at end of sentence
\usepackage{natmove}
\renewcommand*{\natmovechars}{}

\title{Awesome Paper}

\begin{document}

\begin{abstract}
Abstract goes here
\end{abstract}

\section{Introduction}
Here is some text for the awesome paper.  
This sentence was written with a cite before the period\cite{LyonCE1998}. 
This sentence has cites to three papers after the period.\cite{LyonCE1998,NataroJCE2004,MartinCE2005}   
Here's a cite to two papers after the period.\cite{MartinCE2005,LyonCE1998}  

\bibliography{achemsotest}

\end{document}

答案1

该类achemso实际上仅用于向 ACS 期刊提交文章:附带的 LaTeX 包旨在用于更一般的用途。因此,该类中硬编码了许多假设。特别是,并非所有选项都设计为易于逆转。因此,如果与该类一起使用,只有部分选项会产生影响。

如果你确实想“滥用”该类用于非 ACS 提交,那么你将不得不“手动”更改你提到的两个设置。尝试

\renewcommand*{\bibnumfmt}[1]{#1.}
\bibpunct{(}{)}{,}{n}{}{}

加载课程后。

答案2

在 中achemso.cls,更改行:

super = true,

经过

super = false,

\RequirePackage[sort&compress,numbers,round]{natbib}

经过

\RequirePackage[sort&compress,numbers,square]{natbib}

相关内容