This should be easy, I think, but I can't find anything on the web, or in the LaTeX companion and TeXbook doesn't mention the table of contents at all.
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
General ⇒ Linking back to table of contents
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Linking back to table of contents
Hi Dave,
you could use \hypertarget and \hyperlink:
Stefan
you could use \hypertarget and \hyperlink:
Code: Select all
\cleardoublepage
\phantomsection
\hypertarget{contents}{}
\tableofcontents
...
\hyperlink{contents}{Contents}
LaTeX.org admin
Re: Linking back to table of contents
Perfect. Many thanks.