General ⇒ Linking back to table of contents
Linking back to table of contents
I am using the hyperref package. I would like to have a link back to the table of contents from a navigation bar in my page footers. Sounds simple, doesn't it. But how do I do it?
TIA,
Dave
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Linking back to table of contents
you could use \hypertarget and \hyperlink:
Code: Select all
\cleardoublepage
\phantomsection
\hypertarget{contents}{}
\tableofcontents
...
\hyperlink{contents}{Contents}