12

I'm using the authoryear-comp style with biblatex. But when using citing commands, instead of p/pp. I would rather have a colon. I have tried these:

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

but get , : instead.

How can I remove the comma in citations?

1 Answer 1

15

You also need to redefine \postnotedelim:

\documentclass{article}

\usepackage[style=authoryear-comp]{biblatex}

\renewcommand*{\postnotedelim}{\addcolon\space}

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

\usepackage{filecontents}

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

\addbibresource{\jobname.bib}

\begin{document}

Some text \autocite[99]{A01}.

\printbibliography

\end{document}

enter image description here

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .