Academic writing
BibTeX vs biblatex: Bibliographies in LaTeX Explained
LaTeX has two bibliography systems that read the same .bib files. Classic BibTeX, usually with natbib, has been the standard for decades and is still what many journals require. biblatex is newer and far more flexible, and by default it hands sorting to a separate program called Biber. Here is how to choose, and how to switch between them.
The two setups side by side
| BibTeX (+ natbib) | biblatex | |
|---|---|---|
| Preamble | \usepackage{natbib} | \usepackage[style=authoryear]{biblatex} |
| Database | \bibliography{refs} at the end | \addbibresource{refs.bib} in the preamble |
| Printing the list | Where \bibliography stands | \printbibliography |
| Styles | .bst files, e.g. plainnat | Options, e.g. style=ieee |
| Processing program | bibtex | Biber by default, BibTeX optional |
| Unicode in entries | Limited | Full with Biber |
Which should you use?
- Use the template's system if a journal or conference gives you one. Many ship a
.bstfile and expect BibTeX. - Use biblatex for a thesis or your own documents when you want to change styles easily, have several bibliographies, or need fine control over formatting.
- Don't load both:
natbibandbiblatexconflict. biblatex has anatbib=trueoption that provides\citetand\citepinstead.
Citation commands
| Meaning | natbib | biblatex |
|---|---|---|
| Parenthetical: (Knuth, 1984) | \citep{knuth} | \parencite{knuth} |
| In text: Knuth (1984) | \citet{knuth} | \textcite{knuth} |
| With a page | \citep[p.~7]{knuth} | \parencite[7]{knuth} |
| Year only | \citeyear{knuth} | \citeyear{knuth} |
Using biblatex without Biber
Biber is a separate program, and not every environment has it. biblatex can use BibTeX instead with the backend option:
\usepackage[backend=bibtex, style=authoryear]{biblatex}
\addbibresource{refs.bib}
\begin{document}
As \textcite{knuth} showed ...
\printbibliography
\end{document}Standard styles and everyday citations work the same. You give up features that rely on Biber: full Unicode sorting, some advanced name and date handling, and a few styles that require Biber outright.
Lemma compiles bibliographies with BibTeX and doesn't include Biber or makeindex. When it sees a document that asks for Biber, it offers to add backend=bibtex for you.
Writing a clean .bib file
- Protect capitals that must stay capitalized with braces:
title = {A study of {LaTeX} in {India}}. Many styles lowercase titles otherwise. - Use
andbetween authors, never commas:author = {Knuth, Donald E. and Lamport, Leslie}. - Keep keys short and predictable, such as
knuth1984, so they're easy to type on a phone keyboard. - Export from a reference manager (Zotero, Mendeley, JabRef) rather than writing entries by hand.
If citations show as ? or bold keys, read the citation part of the most common LaTeX errors. Considering Typst? It reads the same .bib files with no separate program; see Kern.