6

I'm using the backref=pages extension of the hyperref package, as I'd like to have a list of back-reference pages after my bibliographic items. Is there a way to enclose these page numbers in brackets like "[2]" instead of just having the number (without enclosure)?

For example, I'd like for a bibitem to appear as

[1] Witten, E., The Theory of Everything, Any Journal, Volume, Pages (Year) [pg. 1], [pg. 2]

6

The command responsible for typesetting the back references is \backrefxxx, so

\renewcommand{\backrefxxx}[3]{%
  [\hyperlink{page.#1}{backref page #1}]}

will do. This will make all of "backref page #" a link. If you want only the page number to be a link, do

\renewcommand{\backrefxxx}[3]{%
  [backref page \hyperlink{page.#1}{#1}]}

Other variations are possible.

  • The second variation is perfect for my needs. Thank you! – user02138 Jul 20 '11 at 12:10

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.