LaTeX forum ⇒ Text FormattingHyperref with return command

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Kotoschow
Posts: 28
Joined: Mon Apr 09, 2012 3:13 pm

Hyperref with return command

Postby Kotoschow » Wed Mar 25, 2015 12:23 pm

Hello all,

I'm using the \hyperref package in order to create hyperlinks to formulas, itemized items, tables, footnotes, and so forth. As a reader, it is very annoying that when you click a hyperlink, there is no simple way to return to the hyperlink itself. For instance, if I am reading page 13 and I press a hyperlink which takes me to page 3, I must scroll down all the way to page 13 to resume my reading.

Does anybody know how to create hyperlinks which allow you to return to them? Specifically, what I want is that when I press a hyperlink to some item, say 'footnote 2', this item becomes a hyperlink itself, which links to the hyperlink I used. So, when I press hyperlink h, which takes me to footnote 2, and then press footnote 2, I am being hyperlinked back to hyperlink h.

Thanks in advance!

User avatar
Johannes_B
Site Moderator
Posts: 4186
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Wed Mar 25, 2015 5:08 pm

There is quite a simple logic to that, i could link from the introduction on page 5 to a result on page 10, i could also do it from the conclusion section on page 15 back to the results on page 10. Or refer to the exact same point from the previous page (see sth. on the next page).

And i can have all those together, now the same target is connected to three completely different and independent places, the hyperlink cannot know where the reader came from.


But your pdf-viewer can. Almost all support some kind of get me back shortcut, [Alt]+[leftArrow] or [ctrl]+[leftArrow] or ...
I bet your favourite pdf-viewer lists a command in the documentation or preferences section. ;-)
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.


Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 5 guests