74

How can I make things link url references, my index, table of contents, and cross references clickable links in documents produced by LaTeX? I generally use pdflatex to produce my documents.

74

The hyperref package does all of these things. you may need to include it with options like backlinksbackref to get back references, but it does everything you need.

  • 19
    Once you start using hyperref, you might well ask yourself: How can I remove the ugly borders around clickable crossreferences and hyperlinks? For even more issues regarding this package, check out the top questions tagged with {hyperref}. – doncherry Nov 1 '11 at 12:22
  • The documentation is pretty voluminous. To just create a simple hyperlink, this worked for me: \usepackage{hyperref} at the top after the other usepackages, and \href{url}{linktext} where I want to put a link. – nealmcb Oct 25 '12 at 2:04
  • 3
    The option is called backref, not backlinks. – Cerran Mar 7 '14 at 17:32
  • @doncherry Your link to the hyperref resource gives a 403 only. – BairDev May 11 '16 at 9:09
  • @malte It wasn’t me who posted that link, but I replaced it with a working one anyway ;). Thanks for pointing that out! – doncherry May 11 '16 at 14:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.