# [Tex/LaTex] How to provide page ranges in \cite

biblatexcitingformattingnumbering

I would like to add page numbers to my references. I have tried the following things:

\cite[221\psqq]{knuth:ct:a} for page sequences

\cite[221\psq]{knuth:ct:a} for only one page following 221

Unfortunately, I'm getting the error that \psqq and \psq are undefined control sequences.

How do I make it in the proper way? And how do I correctly reference to a single page?

The commands \psq and \psqq are defined by the biblatex package. But according to the comments you are not using biblatex.

If you cannot switch over to biblatex (see What to do to switch to biblatex? and linked questions), you can have the "poor man's version" of the commands

\newcommand*{\sqspace}{\,}
\newcommand*{\psqstring}{sq.}
\newcommand*{\psqqstring}{sqq.}
\newcommand*{\psq}{\sqspace\psqstring}
\newcommand*{\psqq}{\sqspace\psqqstring}


Of course the automatic language switching biblatex offers won't work here and you have to modify \psqstring and \psqqstring manually.

Now you can use \psq and \psqq.

MWE

\documentclass{article}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@misc{bronto,
author  = {Anne Elk},
title   = {Towards a Unified Theory on Brontosauruses},
date    = {1972-11-16},
}
\end{filecontents*}

\newcommand*{\sqspace}{\,}
\newcommand*{\psqstring}{f.}
\newcommand*{\psqqstring}{ff.}
\newcommand*{\psq}{\sqspace\psqstring}
\newcommand*{\psqq}{\sqspace\psqqstring}

\begin{document}
\cite[12]{bronto} \cite[12\psq]{bronto}
\bibliographystyle{alpha}
\bibliography{\jobname}
\end{document}