April 8, 2026

BibTeX is the standard way to manage references in LaTeX. You maintain a single .bib file with all your sources, and LaTeX automatically formats citations and generates your bibliography. This guide covers the .bib file format, citation commands, and the key differences between BibTeX and BibLaTeX.
A .bib file contains entries like this:
Each entry has a type (@article, @book, @inproceedings, etc.), a citation key (e.g., vaswani2017attention), and fields. The citation key is what you use in your LaTeX document with \cite{}.
| Type | Use For | Required Fields |
|---|---|---|
@article | Journal papers | author, title, journal, year |
@inproceedings | Conference papers | author, title, booktitle, year |
@book | Books | author/editor, title, publisher, year |
@misc | Websites, preprints, other | author, title, year, note/url |
@phdthesis | PhD dissertations | author, title, school, year |
@techreport | Technical reports | author, title, institution, year |
The commands available depend on whether you use classic BibTeX or BibLaTeX:
| Command | Output (example) | Package |
|---|---|---|
\cite{key} | [1] or (Author, Year) | Both |
\textcite{key} | Author (Year) | BibLaTeX only |
\parencite{key} | (Author, Year) | BibLaTeX only |
\citet{key} | Author (Year) | natbib |
\citep{key} | (Author, Year) | natbib |
BibTeX is the original system. BibLaTeX is the modern replacement. Here are the key differences:
| Feature | BibTeX | BibLaTeX |
|---|---|---|
| Backend | bibtex | biber (recommended) |
| Unicode support | Limited | Full |
| Citation styles | .bst files (hard to customize) | LaTeX macros (easy to customize) |
| Multiple bibliographies | Requires extra packages | Built-in |
| URL/DOI fields | Not standard | Native support |
| Journal compatibility | Widely supported | Growing, but some journals still require BibTeX |
For new projects, use BibLaTeX with biber unless your journal specifically requires classic BibTeX. BibLaTeX is more flexible, handles Unicode names correctly, and is easier to customize.
pdflatex → biber → pdflatex → pdflatex. Online editors handle this automatically.Smith2024 and smith2024 are different keys.title = {{B}ayesian {N}etworks}. BibTeX lowercases titles by default in some styles.arXiv papers aren't published in journals, so use @misc or @article with the eprint field:
Empowering students and researchers with AI-powered tools for academic writing.
Go to appContact us© 2026 Underleaf. All rights reserved.