2

While writing latex I sometimes have to reference an equation. I do that using reftex-reference (bound to C-c ( by default). However, I sometimes want to copy some text from the equation text I just referenced.

Ideally, I would like to position my pointer at the equation label and hit some keys to jump to that equation text, or maybe show the equation text in some temporary buffer so that I can copy text from it.

Is there such a functionality in reftex or any other package?

Note: I know I can use reftex table of contents to navigate to the label, but I am hoping I can use the text I already have written to jump to that label.

1

Reftex has this feature. It's called reftex-view-crossref. See the manual about this here. It is invoked by pressing C-c & while your pointer is on the argument of the \ref{argument}.

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

  • 1
    Can you elaborate? Is it bound to any key by default? – DoMiNeLa10 May 3 at 9:41

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.