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?



\renewcommand*\reftextfaraway[1]{\unskip, page~\pageref{#1}}
  • 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 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.