LaTeX version working with cref, Cref, vref, Vref depending on 'faraway', 'beginsentence'