There is no eprint
entry type. arXiv articles can be entered as article
or online
types. Article identifiers are represented by the eprinttype
and eprint
fields. Any arXiv subject classification should be entered in eprintclass
or its alias primaryclass
. The url
field is unnecessary as standard styles generate a link to the article from its identifiers.
Here are some (partial) arXiv entries from the documentation.
@Article{baez/article,
author = {Baez, John C. and Lauda, Aaron D.},
title = {Higher-Dimensional Algebra V: 2-Groups},
journaltitle= {Theory and Applications of Categories},
volume = {12},
version = {3},
date = {2004},
pages = {423--491},
urldate = {2006-10-01},
eprinttype = {arxiv},
eprint = {math/0307200v3}
}
@Online{baez/online,
hyphenation = {american},
author = {Baez, John C. and Lauda, Aaron D.},
title = {Higher-Dimensional Algebra V: 2-Groups},
version = {3},
date = {2004-10-27},
eprinttype = {arxiv},
eprint = {math/0307200v3}
}
@Online{wassenberg,
hyphenation = {american},
author = {Wassenberg, Jan and Sanders, Peter},
title = {Faster Radix Sort via Virtual Memory and Write-Combining},
version = {1},
date = {2010-08-17},
eprinttype = {arxiv},
eprintclass = {cs.DS},
eprint = {1008.2849v1}
}
Annotations and additional examples can be found in the biblatex-examples.bib
file. Further details can be found in section 3.10.7 of the biblatex manual.
The answers you link to is actually slightly confusing.
If you use bibtex
to do your references, whether it can format an arXiv reference "sensibly" will depend on the style; but at any rate the standard styles, like unsrt
don't; they are simply unaware of arXiv, having been devised long before it. People have found ways to "fake" something more or less acceptable ways of tricking it into outputting arXiv information, mostly by putting the arXiv information in some field that it does understand and print (e.g. pretending that the publication is @inproceedings
and putting the arXiv reference as a booktitle, or putting it into the note
field). If you take this approach, you can basically choose anything that ends up with something you can live with; it's bound to be a bit of a fudge anyway.
Here, for instance, is an example of that (I've put the bibliography into the file using \filecontents
:
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@misc{HiggsBSM,
author = {{Muhlleitner}, M.},
title = "{Higgs Physics Beyond the Standard Model}",
archivePrefix = "arXiv",
note = {arXiv:1410.5093},
year = 2014,
month = oct,
}\end{filecontents}
\begin{document}
\cite{HiggsBSM}
\bibliographystyle{unsrt}
\bibliography{\jobname}
\end{document}
And here is the result:
The alternative is to use biblatex
. That's an alternative to bibtex
. It is more modern, and more aware of things like eprint information. It's only drawbacks are (1) it may, depending on the style you choose, slightly alter the way other references are presented and (2) you use it in a slightly different way. In particular:
Instead of \bibliographystyle
, you specify the style as an option when loading the package.
You need an \addbibresource{}
in the preamble which specifies your .bib
database file, with the extension
You use \printbibliography
instead of \bibliography
where you want the bibliography to print
You (preferably) use biber
rather than bibtex
to process the citations after LaTeX has run.
Here is an example of a file (using exactly your .bib
data) with those changes and the output.
\documentclass[onecolumn,11pt]{article}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@ARTICLE{HiggsBSM,
author = {{Muhlleitner}, M.},
title = "{Higgs Physics Beyond the Standard Model}",
journal = {ArXiv e-prints},
archivePrefix = "arXiv",
eprint = {1410.5093},
primaryClass = "hep-ph",
keywords = {High Energy Physics - Phenomenology},
year = 2014,
month = oct}
\end{filecontents}
\usepackage[style=numeric,sorting=none]{biblatex}%<- specify style
\addbibresource{\jobname.bib}%<- specify bib file
\begin{document}
\cite{HiggsBSM}
\printbibliography%<-print bibliography
% Now run LaTex, then biber, then LaTeX (maybe more than once)
\end{document}
Which produces
Personally, I'd use biblatex if you can (which for a bachelor's thesis you probably can), especially if you are expecting to cite this sort of material often. If you want further information to get you started, apart from the biblatex
manual, you might look at this question: biblatex for beginners and this sharelatex resource. There's also a handy cheatsheet on CTAN and a rather long form document which is gentler than the manual on github.
Best Answer
I've written a python script that returns the corresponding bib-entry from an arxiv ID, you can find it on http://www.thamnos.de/misc/look-up-bibliographical-information-from-an-arxiv-id/ . If you save it e.g. as arxiv2bib.py, you can call it as
arxiv2bib.py 1234.5678
or asarxiv2bib.py http://arxiv.org/abs/1234.5678
.