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.

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

I'm trying to change the format of \vref output (from the varioref package). I've added:

% Change the format of vrefs
\renewcommand*{\reftextfaraway}[1]{, page~\pageref{#1}}

This is close, but not close enough: I end up with "1.1 , page 34". I'd like to have "1.1, page 34". Can this be done?

share|improve this question


\renewcommand*\reftextfaraway[1]{\unskip, page~\pageref{#1}}
share|improve this answer
Ah, thanks! I was toying with \renewcommand*{\reftextfaraway}[1]{\unskip, page~\pageref{#1}} just as you posted your solution. – Liam M Nov 4 '12 at 9:25

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.