LaTeX: Links in Table of Contents

  • Context: LaTeX 
  • Thread starter Thread starter malawi_glenn
  • Start date Start date
  • Tags Tags
    Latex Links Table
Click For Summary

Discussion Overview

The discussion revolves around how to create links in the table of contents in LaTeX documents, as well as how to generate a bookmark list visible in PDF viewers like Acrobat Reader. The scope includes technical aspects of LaTeX package usage and formatting.

Discussion Character

  • Technical explanation
  • Exploratory

Main Points Raised

  • One participant expresses a desire to include links in the table of contents that direct to the corresponding sections, along with the entire row being clickable, not just the page number.
  • Another participant mentions their current setup using LEd with tex->ps and ps2pdf, noting that they do not see any special settings in their style files that would affect this functionality.
  • A different participant suggests adding the hyperref package to the preamble to achieve the desired linking functionality in the table of contents.
  • One participant acknowledges the suggestion and expresses intent to explore it further.

Areas of Agreement / Disagreement

There is no explicit consensus on the best approach, but there are multiple suggestions regarding the use of the hyperref package and the current setup of LaTeX styles. The discussion remains open to further exploration of these options.

Contextual Notes

Participants do not clarify whether there are specific limitations or dependencies related to their LaTeX setups or the packages they are using, leaving some assumptions unaddressed.

malawi_glenn
Science Advisor
Messages
6,735
Reaction score
2,436
Hello all LaTeX fans

I want in my table of contents to have links to the sections which is included there, see this for instance:

http://arxiv.org/PS_cache/arxiv/pdf/0906/0906.0777v1.pdf

(and also the entire row, not just the page number)



Secondly, I want to create that bookmark list which is visible to the left in e.g. Acrobat Reader.

Thank you in advance
 
Last edited by a moderator:
Physics news on Phys.org
I'm looking through my style files and don't notice anything special to enable them. I'm currently using LEd with tex->ps then ps2pdf and I get them. So unless its one of these packages, it kind of just does it for me

Code:
\usepackage{graphicx}
\usepackage{epsfig}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{booktabs}
\usepackage{stmaryrd}
\usepackage{url}
\usepackage{longtable}
\usepackage[figuresright]{rotating}
\usepackage{mathrsfs}
 
malawi_glenn said:
Hello all LaTeX fans

I want in my table of contents to have links to the sections which is included there, see this for instance:

http://arxiv.org/PS_cache/arxiv/pdf/0906/0906.0777v1.pdf

(and also the entire row, not just the page number)
Secondly, I want to create that bookmark list which is visible to the left in e.g. Acrobat Reader.

Thank you in advance

just add hyperref package in preamble and it does all that...

\usepackage{hyperref}
 
Last edited by a moderator:
oh, cool! I'll check it out. Thanx mates
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
37K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
11K
  • · Replies 5 ·
Replies
5
Views
34K
  • · Replies 4 ·
Replies
4
Views
2K