Salta ai contenuti

Using Citations in Overleaf with BibTeX

Questi contenuti non sono ancora disponibili nella tua lingua.

Citations are an important aspect of academic writing, as they allow authors to give credit to the sources they have used in their work. In this post, we will discuss how to use citations in Overleaf, a popular online LaTeX editor, with BibTeX, a tool for managing bibliographic references.

Hai bisogno di una soluzione semplice per gestire le tue voci BibTeX? Scopri CiteDrive!

  • Gestione di riferimenti moderna e basata sul web
  • Collaborare e condividere con altri ricercatori
  • Integrazione con Overleaf
  • Supporto completo per BibTeX/BibLaTeX
  • Salva articoli e siti web direttamente dal tuo browser
  • Cerca nuovi articoli in un database di decine di milioni di riferimenti
Prova CiteDrive ► Guarda la demo

Adding a bibliography to your Overleaf project

The first step in using citations in Overleaf is to add a bibliography to your project. This can be done by creating a new file in your project and naming it references.bib. This file will contain all of the references that you wish to cite in your document. An alternative option is to use CiteDrive which connects to Overleaf and allows you to collaborate on your bibliography and citations. CiteDrive supports BibTeX natively and also Biblatex.

To add a reference to this file, you can use the following format:

@article{key, author = {Author, A.}, title = {Title}, journal = {Journal}, year = {Year}, }

The key is a unique identifier for the reference and will be used to cite it in your document. The author, title, journal, and year fields are required for a basic reference, but there are many other fields that can be included as well.

Citing references in your document

Once you have added your references to the references.bib file, you can cite them in your document using the cite command. For example, to cite the reference with the key key, you would use the following command:


This will insert the citation into your document in the format specified by the bibliography style you have chosen.

Formatting your bibliography

In order to format your bibliography, you need to specify a bibliography style. This can be done by including the following command in the preamble of your document:


Where style is the name of the bibliography style you wish to use. Some commonly used styles include plain, unsrt, and apalike.

Finally, you need to include the following command at the end of your document to generate the bibliography:


Where references is the name of your bibliography file (references.bib in our example).


In this post, we have discussed how to use citations in Overleaf with BibTeX. By following the steps outlined above, you can easily add references to your project, cite them in your document, and format your bibliography to meet the requirements of your academic institution or publisher. Additionally, the use of CiteDrive, which connects to Overleaf, allows for easy collaboration on your references and citations. CiteDrive natively supports both BibTeX and Biblatex making it a versatile option for managing your bibliographic references.