I'd like the section headings in running text to link to their "line" in the Table of Contents so as to get "two-way" navigation, eg: a user looks in the Table of Contents for a section title, jumps there, reads a couple of lines, clicks on the section title again and gets taken to the section's entry in the Table of Contents once more.
Any ideas? 🙂
(Somewhat related to this question)
Best Answer
Here's another approach, using the
titlesec
package and the\hypertarget
,\hyperlink
mechanism fromhyperref
. A little example showing the necessary settings for\chapter
,\section
,\subsection
and their starred versions: