Skip to Main Content
library logo banner

Referencing in Overleaf: Getting started

Creating an Overleaf bibliography

In Overleaf create a new file and make sure it ends in .bib for example here I’ve created one called bibliography.bib

Make sure you add in your text code a reference to the bibliography file so that it knows where to draw the sources from \bibliography{} and enter the bibliography file name in the curly brackets. You don't need to include the .bib.

 

 

 

Choose a referencing style

You can change your referencing style under \bibliographystyle{} for styles such as ieee you can select it as you type within the curly brackets, for example:

\bibliographystyle{ieee}

Adding Harvard Bath Style

For Harvard Bath style, go to the Harvard Bath referencing page and then under the tab ‘style files’ navigate to ‘Bibtex file for Harvard Bath’ then choose the ‘home page’ option which should take you through to GitHub.

Download and extract the bst file then open with a text editor such as notepad. Then in Overleaf create a .bst file. In this example we created one called 'bath.bst' and paste the bst text, from the text editor, into the file.

Then in your main text change \bibliographystyle{} to include the name of the bst file in the curly brackets. So in my example its \bibliographystyle{bath} you don’t include the file type name.

example code of \bibliographystyle{bath} and \bibliography{bibliography}

Overleaf navigation showing the bst file