The Zotero-Overleaf integration allows you to add references to your project directly from Zotero and requires an Overleaf Premium account. All Dartmouth users have access to Overleaf Premium using their SSO credentials. This integration enables collaborative work and allows users to access their Zotero libraries, including group libraries, directly.
Note: If you don’t have a paid Overleaf subscription you can always export .bib
data from Zotero, or other reference manager software, and upload the resultant .bib
file into your Overleaf project.
Navigate to Overleaf and log in to your account (use SSO to log in to your Dartmouth Overleaf Premium account).
Navigate to Account → Account Settings → Reference Manager → Zotero Integration → Link
You will be prompted to log in to your Zotero and Accept Default to allow Overleaf to access your libraries.
Now that your Overleaf and Zotero workspaces are linked, you can add a .bib file to your document.
Select the Upload button in the top left of the workspace:
This will open the Add Files pop up window. In this window selection "From Zotero" from the left column, then select which library you would like to pull your .bib file from, name the file, and select the format. We recommend BibLaTeX. Select "Create."
Once you have created your new .bib file, in this case reference.bib
, should appear in the left column of your workspace.
At this point you've linked your Zotero to Overleaf and added a .bib file to your workspace, but how do you use the .bib file in your code editor? First you need to add the following code to your preamble to add the BibLaTeX package to your document and add the .bib file to your document:
\usepackage[
backend=biber,
style=stylename
]{biblatex}
\addbibresource{references.bib}
Note that in the above stylename
should be changed to one of the supported styles, and the name of your .bib file should be updated to match your own. When you are ready to begin citing your document will look something like this:
To add a citation move to the document body and use the \cite{}
command. Beginning this command should automatically pull up the references from the .bib file named in the preamble of the document to select between the curly braces.
To add a bibliography, navigate to the section you would like the bibliography to be located and use the \printbibliography
command.
To see your changes in the document preview, remember to press the green "Recompile" button in the top navigation. Now your document might look something like this:
There are numerous ways to modify your document and references, including having chapter references. Please consult Overleaf's documentation for more information.
BibLaTeX supports both standard and non-standard citation styles, including numeric, author-date and specific styles like MLA, APA, IEEE, and Chicago. The following are a sampling of styles and their syntax:
numeric
Implements a numeric citation scheme intended for in-text citations. Should be employed in conjunction with the numeric bibliography style.alphabetic
Alphabetic citation scheme similar to the standard alpha
in style bibtex. To be used in conjunction with the alphabetic bibliography style.authoryear
Implements the author-year citation scheme. To be used in conjunction with the author-year bibliography style.authortitle
Implements the author-title scheme. Intended for citations given in footnotes.verbose
Citation style that prints a full citation when the entry is cited for the first time and a short version afterwards.reading
Citation style that goes with the bibliography style by the same name. Loads the authortitle
style.There are other non-standard citation styles popular in different journals and thesis
chem-acs
phys
vancouver
ieee
nature
science
chicago-authordate
mla
apa
Other non-standard styles may be available or may be covered by standard style structures.
If you are still adding references to your library while writing, that is normal! Instead of re-uploading a new .bib file and hoping for the best, you can update the file by clicking on the .bib file within your project window and selecting Refresh:
Note that this feature only works with integrated reference managers like Zotero.