Cite with page numbers in LaTeX (optional arguments of cite)

Put the page number in brackets before the key: \cite[42]{key}. biblatex adds "p." or "pp." itself; with BibTeX and natbib you write \cite[p.~42]{key}.

Preamble

The snippets on this page need these lines before \begin{document}:

\usepackage[style=authoryear]{biblatex}
\addbibresource{references.bib}

A page or a range of pages

When the argument is a number, biblatex prints "p. 42", and for a range "pp. 42–45". With babel and ngerman both become "S.". The example prints "(Schmidt 2021, p. 42)".

The sensor is calibrated once a year \parencite[42]{schmidt2021}.
The procedure takes four pages \parencite[42--45]{schmidt2021}.

\printbibliography
Result
The compiled example

Open in the editor

A word before the citation

With two optional arguments, the first is printed before the citation and the second after it: "(see Schmidt 2021, p. 42)". A single optional argument always goes after the citation, so for a word in front without a page, add an empty second argument.

This is common practice \parencite[see][42]{schmidt2021}.
Others disagree \parencite[cf.][]{weber2019}.

\printbibliography
Result
The compiled example

Open in the editor

Following pages and other positions

\psq after the number stands for "and the following page" and \psqq for "and the following pages"; in a German document they print "f." and "ff.". Text that is not a number, such as chap.~3, is printed unchanged.

The setup is described in \cite[42\psq]{schmidt2021},
the results in \cite[50\psqq]{schmidt2021}
and the theory in \cite[chap.~3]{schmidt2021}.

\printbibliography
Result
The compiled example

Open in the editor

Several sources, each with a page

\parencites takes a list of citations, each with its own optional arguments. The example prints "(Schmidt 2021, p. 12; Weber and Schmidt 2019, p. 50)". \cites and \textcites work the same way.

Both describe the effect \parencites[12]{schmidt2021}[50]{weber2019}.

\printbibliography
Result
The compiled example

Open in the editor

With BibTeX and natbib

Without biblatex, the optional argument is printed as you write it, so it includes "p." and a tilde as a space that does not break. natbib also takes two arguments: \citep[see][p.~42]{key} prints "(see Schmidt, 2021, p. 42)".

Complete document:

\documentclass{article}
\usepackage[round]{natbib}
\begin{document}
The sensor is calibrated once a year \citep[p.~42]{schmidt2021}.
This is common practice \citep[see][p.~42]{schmidt2021}.

\bibliographystyle{plainnat}
\bibliography{references}
\end{document}
Result
The compiled example

File references.bib:

@book{schmidt2021,
  author    = {Schmidt, Anna},
  title     = {Wind Measurement in Practice},
  edition   = {2},
  publisher = {Example Press},
  address   = {Berlin},
  year      = {2021}
}

@article{weber2019,
  author  = {Weber, Ben and Schmidt, Anna},
  title   = {Ultrasonic Sensors in Wind Tunnels},
  journal = {Journal of Example Studies},
  volume  = {12},
  number  = {3},
  pages   = {45--67},
  year    = {2019}
}

@online{keller2023,
  author  = {Keller, Mia},
  title   = {Calibrating a Wind Sensor},
  year    = {2023},
  url     = {https://www.example.org/calibration},
  urldate = {2025-03-01}
}

Pitfalls

Compiled with pdfLaTeX from TeX Live 2023.

Related pages