Skip to Main Content

LaTeX

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
       

Essential Packages

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}

 

Downloading References (Citation Information)

  • 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

undefined

Adding In-text citations

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

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}