Mastering Bibliography Styles in LaTeX/Overleaf: A Quick Guide for BibTeX, natbib, and BibLaTeX
Do you use LaTeX or Overleaf and need help customizing bibliography styles for your documents? Whether in BibTeX, natbib, or BibLaTeX, bibliography style customization can be slightly confusing initially, especially as the style names could be clear guides. We will show you how to change the bibliography style in each system, with the essential styles listed in a table. As there are three options in LaTeX (and therefore in Overleaf), we will go from the classic BibTeX to the versatile natbib to the modern BibLaTeX; you will find here a step-by-step guide to customize your bibliography to your needs. Let’s dive in and uncover the secrets of bibliography styles in LaTeX!
Need a simple solution for managing your BibTeX entries? Explore CiteDrive!
- Web-based, modern reference management
- Collaborate and share with fellow researchers
- Integration with Overleaf
- Comprehensive BibTeX/BibLaTeX support
- Save articles and websites directly from your browser
- Search for new articles from a database of tens of millions of references
BibTeX:
BibTeX relies on .bst
(BibTeX Style) files to format the bibliography style in your .tex documents. To change the style, you need to change the .bst
file being used.
Locate or Choose a .bst
File: Find an appropriate .bst
file that corresponds to the style you desire. Common styles include plain
, abbrv
, alpha
, etc. Alternatively, you can find or create custom .bst
files.
Define the .bst
File in the LaTeX Document:
BibTeX style examples
Style Name | Description |
---|---|
plain | Plain bibliography style, sorted alphabetically |
alpha | Citation labels are formed by author and year |
abbrv | Abbreviated bibliography style |
unsrt | Unsorted bibliography style |
ieeetr | IEEE Transactions style |
acm | Association for Computing Machinery style |
siam | Society for Industrial and Applied Mathematics style |
amsplain | American Mathematical Society plain bibliographic style |
apalike | APA-like style |
natbib | Flexible citation styles with natbib package |
Run BibTeX: After making changes to your LaTeX document, run BibTeX to generate the bibliography. The command typically looks like this:
Compile LaTeX Document: Finally, compile your LaTeX document with LaTeX again (and possibly multiple times to resolve cross-references).
natbib:
natbib is a package for bibliographies that provides additional citation commands and flexibility. To change the bibliography style with natbib:
Choose a Citation Style: natbib provides several citation styles such as plainnat
, abbrvnat
, etc. You can use BibTeX styles with natbib,
but you may find that the following styles offer more functionality.
Style Name | Description |
---|---|
plainnat | Similar to plain , compatible with natbib package |
abbrvnat | Similar to abbrv , compatible with natbib package |
unsrtnat | Similar to unsrt , compatible with natbib package |
apalike | APA-like style, compatible with natbib package |
nature | Nature-like style, compatible with natbib package |
chicago | Chicago Manual of Style, compatible with natbib package |
plainnatnat | A variation of plainnat with more natural names |
agsm | Harvard AGPS style, compatible with natbib package |
Define the bibliography Style in the LaTeX Document: Also, import the natbib
package with the desired style:
Run BibTeX and Compile: Follow the same steps as with BibTeX.
BibLaTeX:
BibLaTeX is a more modern bibliography system that works with LaTeX. Changing the bibliography style in BibLaTeX is more straightforward.
Choose a BibLaTeX Style: BibLaTeX comes with various built-in styles like numeric
, apa
, ieee
, etc.
Style Name | Description |
---|---|
numeric | Numeric citation style, often used in natural sciences |
authoryear | Author-year citation style, common in humanities |
alphabetic | Similar to authoryear , uses alphabetic labels |
authortitle | Author-title citation style |
numeric-comp | Compact numeric citation style |
authoryear-comp | Compact author-year citation style |
apa | APA citation style |
chicago-authordate | Chicago Author-Date citation style |
ieee | IEEE citation style |
nature | Nature-like citation style |
science | Science-like citation style |
Define the style in the LaTeX document: In the preamble of your LaTeX/Overleaf document, load the BibLaTeX package with the desired bibliographic style:
Import the .bib.file File:
Run LaTeX, BibLaTeX, and LaTeX Again: After making these changes, compile your document with LaTeX, then run BibLaTeX, and finally compile again with LaTeX to ensure all references and citations are resolved.