Copy the
.tex example and references.bib into the same project. The full build must run BibTeX or Biber before the final LaTeX passes.
Choosing a style
Start with the style your journal, university, or document class requires, and check whether its template expects BibTeX or BibLaTeX. When you are free to choose, decide between a numeric family, where readers see bracketed numbers such as[1] in the text, and an author-year family, where readers see names and years such as (Rivera and Bowen, 2023). BibLaTeX also includes styles not shown in this gallery, such as numeric-comp, which compresses consecutive numbers into ranges like [1–3], and verbose, which with \autocite or \footcite prints a full citation in a footnote on first mention and a short note on later mentions.
BibTeX styles
plain
plain orders the bibliography by author and uses numeric labels.
plain.tex
references.bib
Ready to use this syntax? Continue in the browser editor when you want to adapt the example in a real project.Open LaTeX Cloud Studio
unsrt
unsrt numbers entries in the order they are first cited.
unsrt.tex
references.bib
alpha
alpha builds labels from the authors’ surnames and the last two digits of the year, such as [RB23] and [CPO21].
alpha.tex
references.bib
abbrv
abbrv keeps numeric labels and abbreviates first names in the bibliography.
abbrv.tex
references.bib
ieeetr
ieeetr uses numeric labels in citation order and abbreviates first names.
ieeetr.tex
references.bib
apalike
apalike uses author and year in citation labels. This example loads \usepackage{apalike}; without \usepackage{apalike} (or natbib), citations appear in square brackets. apalike only resembles APA; when a publisher requires APA, use its template or BibLaTeX’s apa style if allowed.
apalike.tex
references.bib
plainnat
plainnat works with natbib. Use \citet for a name in the sentence and \citep for a citation in brackets; with plainnat and natbib’s defaults, \citep prints square brackets (add \setcitestyle{round} for parentheses).
plainnat.tex
references.bib
BibLaTeX styles
numeric
numeric uses bracketed numbers with BibLaTeX’s default name-based sorting.
numeric.tex
references.bib
authoryear
With \parencite, authoryear gives citations with author and year in parentheses.
authoryear.tex
references.bib
apa
apa provides APA citation and bibliography formatting for BibLaTeX.
apa.tex
references.bib
ieee
ieee follows IEEE-style formatting using BibLaTeX and Biber.
ieee.tex
references.bib
Related guides
Ready to try a bibliography style in the browser? Start from the Basic Article template in LaTeX Cloud Studio, replacemain.tex with the .tex example you want, and add references.bib to the project.