I am using the Review of Modern Physics (rmp
) style for a report. By default, it uses author/year citations. I want to force revtex to use numerical citations.
Adding the \bibliographystyle{aipnum4-1}
as described in the documentation (or including numerical
in the documentclass
statement) doesn't seem to help.
Here is an example tex file that suffers from this problem.
\documentclass[rmp]{revtex4-1}
\usepackage{url}
\usepackage{hyperref}
%\bibliographystyle{apsrev4-1}
\bibliographystyle{aipnum4-1}
\begin{document}
More words Citation: \cite{cite2}
Other citation:\cite{cite1}
%include bibliography
\bibliography{bibstuff}
\end{document}
with bibstuff.bib:
@article{cite1,
Author = {John Doe and James Doe},
Issue = {71},
Journal = {Phys. Rev. B},
Month = {Mar},
Numpages = {0},
Pages = {5321},
Publisher = {American Physical Society},
Title = {SCIENCE!},
Volume = {32},
Year = {1994}}
@article{cite2,
Author = {Jane Name and Other Person},
Issue = {71},
Journal = {Phys. Rev. E},
Month = {Mar},
Numpages = {0},
Pages = {5321},
Publisher = {American Physical Society},
Title = {SCIENCE!},
Volume = {32},
Year = {2078}}
}
Link to the documentation:
http://www.physics.csbsju.edu/370/papers/Journal_Style_Manuals/auguide4-1.pdf
Best Answer
Give the suitable
\setcitestyle
command:I used
filecontents
only for making the example self-contained; anybib
file will do.