0

Is it possible to customize reftex so that for an equation (when I type "e" after invoking reftex) I get \eqref{eq:blah} but for anything else (theorem, lemma) I want to get \vref{thm:abc}. That is, I want to use \eqref for equations, but use \vref (from cleveref) for all other cross references such as Theorems, Lemmas, etc.

1 Answer 1

0

Something like this should do the job:

(setq reftex-label-alist '(AMSTeX
                           (nil ?h nil "\\vref{%s}")))

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.