0

I can reference a figure (or table) from text using \label(fig:example) between \begin{figure} and \end{figure}, and using \ref(fig:example) within my text.

However, my figures are at the end of my document (a long document), and after I look at any of the figures, I would like to go back to the text where I left for the figure. Is there any command that can link me back to the text from the figure so that I don't have to scroll back up to look for the text?

Null
  • 1,525
Hank
  • 11

1 Answers1

1

Let me answer my own question:

  1. Insert \hypertarget{A}{text} in your text. {A} is the label and {text} is the sentence where you want to come back from your table (I have applied it to my tables).
  2. Put \hyperlink{A}{(Go back to text)} between \begin{table} and \end{table}, right above \end{table}.
  3. Highlighted (Go back to text) is placed beneath the table. Click it to go back to the sentence.
Null
  • 1,525
Hank
  • 11