Text Formatting ⇒ Hyperref with return command
Hyperref with return command
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!
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Hyperref with return command
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.
