TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I am citing pages in books, I use the citation format

(Author 1982:45)

But when I am citing something like paragraphs or online data with an ID number (i.e. things that aren't a plain numeral like a page number), I would like to remove the colon:

(Online resource no. 58; Author 1975 §18)

I assume the necessary trick here is to specify an empty \postnotedelim iff the postnote is not a numeral. How can I accomplish this (adding something to the preamble in my .tex file)?

    AUTHOR = "George Harrison",
    TITLE = "My life with the Beatles",
    YEAR = "1982",
    LOCATION = "London",
    PUBLISHER = "Big House"}
    TITLE = "Archive Z",
    SHORTHAND = "Archive Z",
    URL = "http://www.archivez.com",
    URLDATE = "2013-03-22"}
\parencites[45]{harrison}[no. 58]{archiveZ}.

enter image description here

share|improve this question
up vote 4 down vote accepted

This can be achieved by the following code

share|improve this answer
The package xtring isn't included in TeXLive, even though I have installed TeXLive with all packages. How is \IfInteger different from \ifnumerals? – Sverre Mar 22 '13 at 12:06
@Sverre I have changed the answer. The package would have been xstring. \IfInteger is from xstring, \ifnumerals is from biblatex. \ifnumerals or \iffieldnums would consider numbers also in different forms (roman and ranges). – Guido Mar 22 '13 at 12:14
biblatex now also has \iffieldpages which is probably most appropriate here. – moewe Mar 26 at 14:35

Your Answer


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.