Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm using \cite[1]{A01}. The result is

Author 2001, p. 1

The desired result is

Author 2001, 1

How do I achieve that? I'm aware of biblatex: How to remove the parentheses around the year in authoryear style?, biblatex authoryear-icomp: How to change parenthesis to [asdf 1985], and Biblatex, author-year, square brackets but they're not exactly my issue.

Minimal example:

\documentclass{scrartcl}
\usepackage[backend=biber,style=authoryear-comp]{biblatex}

\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@misc{A01,
  author = {Author, A.},
  year = {2001},
  title = {Alpha},
}
\end{filecontents}

\bibliography{\jobname.bib}

\begin{document}

\cite[1]{A01}

\end{document}
share|improve this question
add comment

1 Answer 1

up vote 21 down vote accepted

To omit the page prefix for all citations, add the following to your preamble:

\DeclareFieldFormat{postnote}{#1}
\DeclareFieldFormat{multipostnote}{#1}

(Actually, this is part of my rather verbose answer to Guidelines for customizing biblatex styles.)

To suppress the prefix for individual citations, use \nopp within the citation's optional argument (thanks to Gonzalo Medina for the tip):

\cite[\nopp 1]{A01}

Conversely, you may force single page prefixes with \pno and range prefixes with \ppno (note the unbreakable space after these commands):

\cite[\pno~1]{A01}
\cite[\ppno~1--4]{A01}

See sections 3.7.8 and 3.12.3 of the biblatex manual for details.

share|improve this answer
4  
You could also mention the \nopp command to affect individual citations: \cite[\nopp1]{A01}. –  Gonzalo Medina Apr 23 '12 at 21:29
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.