It looks like you're using Internet Explorer 11 or older. This website works best with modern browsers such as the latest versions of Chrome, Firefox, Safari, and Edge. If you continue with this browser, you may see unexpected results.

# LaTeX: Citations & Bibliography

This topic guide was created to complement the Introduction to LaTeX workshop conducted by the Library and point users to resources and tips related to using LaTeX and Overleaf.

## Introduction

• You need to first decide on the referencing style to use (If unsure, check with your supervisor which referencing style you should be using e.g. APA, numbered, IEEE, Chicago, etc.)
• Each style has its own package
• E.g. APA à apacite
• Remember to compile your references into one .bib file (Example Project already has a .bib file. References can be compiled from BibTeX files and pasted in this .bib file)
• Tip! Make your file name simple, preferably 1 word

## Citation Styles

 APA IEEE The default package is \usepackage{natbib}. For APA citation style, remove \usepackage{natbib}and add \usepackage{apacite} after \usepackage{hyperref} Modify \usepackage{natbib} to \usepackage[square, comma, sort&compress]{natbib}

• Always look for BibTeX format on the various databases or Google Scholar
• You can use a program like JabRef to compile your citations or manually combine them into one file using Notepad

## Adding In-text citations

• To add in-text citations, use \cite{bibkey} e.g. \cite{compton20143d}

## Adding bibliography (reference list)

At the end of your document (before \end{document} ) use these commands:

• \bibliographystyle{citation style}
• \bibliography{name of .bib file}

For example:

• APA: \bibliographystyle{apacite}
• IEEE: \bibliographystyle{ieeetr}