Skip to content

Getting Started with BibLaTeX: A Quick Guide

This content is not available in your language yet.

The following guide is still in the works, but since BibLaTeX is seen by many as the BibTeX killer (and we do not disagree), we thought it would be helpful to give you a head start. Please keep in mind that many options and customizations are available in BibLaTeX, and we will gradually expand the section.

  1. Install BibLaTeX: Before you can use BibLaTeX, you must first install it on your computer. This is usually accomplished by installing a LaTeX distribution that includes BibLaTeX, such as MikTeX or TeX Live, or by using Overleaf, which, like many other packages, includes everything, including styles, out of the box.

  2. Add the BibLaTeX package to your LaTeX document: To add BibLaTeX to your LaTeX document, you need to include the following code in the preamble of your document:

Trenger du en enkel løsning for håndtering av dine BibTeX-oppføringer? Utforsk CiteDrive!

  • Nettbasert, moderne referansehåndtering
  • Samarbeid og del med forskerkolleger
  • Integrasjon med Overleaf
  • Omfattende støtte for BibTeX/BibLaTeX
  • Lagre artikler og nettsteder direkte fra nettleseren din
  • Søk etter nye artikler i en database med titalls millioner av referanser
Prøv CiteDrive ► Se demo
\usepackage[style=authoryear,backend=biber]{biblatex}

This line tells LaTeX to use the BibLaTeX package with the “authoryear” style and the “biber” backend. If that makes sense to you, you can also use BibTeX as a backend. However, many features will be missing, and we should emphasize that using BibTeX is not recommended - even for nostalgic reasons.

  1. If you’re used to BibTeX, everything has stayed the same except that BibLaTeX now supports a few more types and fields. You keep your references in a separate bibliographic database, a text file with a .bib-file extension. Here’s an example of a simple database, which we may call bibliography.bib:
@book{key,
author = {Author, A.},
title = {The Title of the Book},
year = {2021},
publisher =
{Publisher},
}
  1. To include the bib-file (your reference database), use the following command in your TeX document:
\addbibresource{bibliography.bib}
  1. To cite a reference in your document, use the following syntax:
\autocite{key}

where “key” is the key of the reference you want to cite.

  1. To include the bibliography, or reference list into for your document, you need to include the following code in your document where you want the bibliography to appear:
\printbibliography
  1. Finally, use a LaTeX compiler, such as pdflatex or xelatex, to compile your document. BibLaTeX will automatically generate the bibliography based on the references you have cited in your paper when you compile your document.

That’s all! You should now be able to use BibLaTeX to manage your references and citations in your LaTeX documents after following these simple steps. Remember that BibLaTeX is a highly customizable tool; as previously stated, we will add more in the future. But for the time being, you should be able to get started right away.