LaTeX is a free typesetting system for document preparation. It is suitable for formatting mathematical equations, chemical formulas, engineering diagrams, multilingual typesetting, artwork, and spot colour.
LaTeX is usually used with BibTeX for referencing. The details of references are stored in a BibTeX file which can then be linked to a LaTeX document.
Macquarie University Library provides Overleaf Pro+ accounts for all students and staff. Sign up using your MQ email address.
Some benefits of Overleaf are:
Linking the bib file to your LaTeX document
For the citations in your .tex file to work, you also need some commands in the preamble and end of your document. These will link it to your .bib file, set the referencing style and produce a bibliography.
The commands are are as follows, depending whether you're using BibTex, Natbib or BibLaTex. Note that in these examples, the bib file has been named references.bib and the referencing style used is IEEE.
BibTex | Natbib | BibLaTex | |
Commands for preamble | \bibliographystyle{ieeetr} |
\usepackage[numbers]{natbib} \bibliographystyle{IEEEtranN} |
\usepackage[backend=biber, style=ieee]{biblatex} \addbibresource{references.bib} |
Command for bibliography | \bibliography{references} | \bibliography{references} | \printbibliography |
For information on the differences between BibTex, NatBib and BibLaTex, see here.
A BibTeX file can be exported from Zotero, Mendeley, or Endnote and used with your LaTeX document. However, using this 'manual' method, you must replace the file every time you add new references and want to cite them.
For full integration with BibTeX, there are plugins for Zotero and Mendeley which automatically update your BibTeX file whenever you add a new reference to your Zotero/Mendeley library.
If using Overleaf, set up the integration following these instructions:
Note that in both Mendeley and Zotero, the integration will link your entire library by default. To keep a separate set of references for your project, you can set up a Group and link that. However, the integration does not support linking of specific folders within a group (only the whole group).