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 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?

share|improve this question

1 Answer 1

up vote 9 down vote accepted

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

share|improve this answer
    
Thanks, lockstep! That's what I needed! –  NVaughan Aug 8 '12 at 22:52

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.