So I'm using moderncv
and for whatever reason whenever I try and add a bibliography, they all come back not numbered. Here's a MWE:
texfile:
\documentclass{moderncv}
\moderncvstyle{classic}
%\usepackage{multibib}
\begin{document}
\nocite{*}
\bibliographystyle{abbrv}
\bibliography{biblio}
\end{document}
File biblio.bib
:
@book{abook,
Title = {Some Book},
Author = {Me},
Publisher = {A human},
Year = {2018},
}
This is giving me a bibliography, but it is not numbered at all. I tried different bibliography styles, and nothing. I also tried using multibib
and nothing worked. Any ideas?
Best Answer
To get numbered bibliography entrys you have to add the following line in your preamble:
Because there is an
@
used you have to enclose this line with\makeatletter
and\makeatother
.With the following MWE (please see that I added the missing name):
you get the wished result: