10

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?

13

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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