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

1 Answer 1

try

\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

 
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.