It's also worth mentioning Biblatex, which has proper support for eprints with all styles. For arXiv, specifically, you can use
archivePrefix = {arXiv},
eprint = {0902.0885},
primaryClass = {quant-ph},
for a new-style eprint, or
archivePrefix = {arXiv},
eprint = {quant-ph/0401062},
for an old-style eprint.
Both entries were taken directly from the NASA ADS database, clicking on "Export". The journal
field you left empty, except of course if has actually been published elsewhere. As for the template, it depends on the style you are using. I use @article
with the style biblatex-phys
, and the formatting is good, but with the default style it produces crap if journal
is empty. In this case you can use @misc
and @online
, with similar results. You should avoid @unpublished
, however, as it hides the eprint number.
EDIT: Updated to take into account the comments.
Best Answer
You need to do as Mico suggests, and download a style that supports formatting the arXiv ID in the output. Then, you need to add some fields to the BibTeX entry. The key fields are the
eprint
,archivePrefix
andprimaryClass
fields, whereeprint
contains the arXiv ID number,archivePrefix
contains the archive (arXiv
for the arXiv), andprimaryClass
contains the arXiv class of the document. Then, you need to download a style file, such as theutphys
style available at http://golem.ph.utexas.edu/~distler/TeXstuff/utphys.bst. That file takes care of formatting the arXiv ID as well as the DOI (if present), so that with this MWE, you get the appropriate output: