1

I am creating an iopart document and I need to include the references using Harvard style. My problem is that I can't get it to print the word "References" before listing them. I don't know what I am missing, I tried with a different documentclass and this works, but for some reason it is not working with iopart. All of my references are in the .bib file called bibliography_all.bib.

This is an example of my LaTex code:

\documentclass[12pt]{iopart}
\usepackage{harvard}  
\begin{document}
\bibliographystyle{dcu.bst}

This is a test
\cite{ACS2017}
\bibliography{bibliography_all}
\end{document}

And this is what a get: The bibliography starts right after the text

Any help will be really appreciated. I am pretty new to this. Thank you very much!!

  • 2
    Maybe try to add a unnumbered chapter/section in front of the bibligraphy. \section*{References}\bibliography{bibliography_all}? – user36296 Sep 12 '17 at 19:34
  • If this does not help, can you point us to where iopart.cls and dcu.bst is available? – user36296 Sep 12 '17 at 19:35
  • That works! Thank you very much, I should have though about it! – Maria Sep 12 '17 at 19:37
  • @samcarter - The dcu bibliography style is distributed with the harvard citation management package. – Mico Sep 12 '17 at 19:40
  • 2
    Off-topic: Proper syntax is \bibliographystyle{dcu}, not \bibliographystyle{dcu.bst}. – Mico Sep 12 '17 at 19:41
1

To get a headline for the bibliography simply add it yourself -- for example with

\section*{References}
\bibliography{bibliography_all}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.