我有一份文档,最初是使用脚注引用格式编写的。因此,引用通常跟在标点符号后面,如:This is a test sentence.\cite{Someone:2018}
但是,我现在正在准备该文档的部分内容,以便在 APS 期刊上发表,该期刊使用内联(括号)引用样式,因此引用应该在标点符号之前。是否有一些 LaTeX 技巧可以实现这一点,或者我必须手动编辑源文件。
MWE 的引用位于“错误”的位置:
\documentclass[preprint]{revtex4-1}
\usepackage{natbib}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{Bli74,
author = {Blinder, Alan S.},
year = {1974},
title = {The economics of brushing teeth},
journal = {Journal of Political Economy},
volume = {82},
number = {4},
pages = {887--891},
}
@book{Kop04,
author = {Kopka, Helmut and Daly, Patrick W.},
year = {2004},
title = {Guide to \LaTeX},
edition = {4},
address = {Boston},
publisher = {Addison-Wesley},
}
\end{filecontents}
\begin{document}
This is a test sentence.\cite{Bli74} This is another, slightly more complicated,\cite{Kop04} test sentence.
\bibliography{\jobname}
\end{document}