{hyperref} is a package capable of producing hypertext links in documents. If your question is about cross-referencing in general, choose {cross-referencing}. If it's specifically about PDF features, consider to choose {pdf}.

learn more… | top users | synonyms

20
votes
2answers
10k views

How to use different colors for different \href commands?

I have two different \href{}{} links and I want each to be a different color. In the example below they will both be blue, how can I make each link have a different color? \documentclass{article} ...
20
votes
2answers
18k views

How to put a line-break in section heading?

I have some section headings occupying two lines and I'm not satisfied with the way XeLaTeX breaks the heading. If I manually add \\ the output looks fine, but I get the following warning: [hyperref] ...
20
votes
1answer
4k views

Clickable “tel:” URL for TeX resume

I need to make my telephone number clickable. You might be familiar with this in Gmail's clickable phone numbers that dial out to your mobile phone, for example. I'm working on my resume, and I'm ...
19
votes
1answer
17k views

How to change the color of \href links… for real

I would like web links generated by the \href command to be colored in my Beamer presentation. Passing the colorlinks option to hyperref leads to navigation links within the PDF receiving (default, ...
19
votes
2answers
10k views

Warning with footnotes: “name{Hfootnote.xx} has been referenced but does not exist”

First, some general details about my document: I'm using the scrbook class and the hyperref package. The document is split up into different source files (though this fact should not matter in this ...
19
votes
1answer
870 views

TikZ image with hyperlinks --> GIF/PNG image + HTML image map

I have a (complex) TikZ-based figure with hyperlinks. Now I need a web version of this figure that preserves all hyperlinks. Converting the PDF to GIF or PNG is trivial, but for the hyperlinks I ...
18
votes
3answers
3k views

How to insert an image that also acts as a link

Can an image be included in TeX so that the resulting PDF is clickable leading to a reference?
18
votes
4answers
1k views

What to do with this hyperref note on amsmath?

http://www.ctan.org/tex-archive/macros/latex/contrib/hyperref/ has this note copied below: amsmath ------------- The environments equation and eqnarray are not supported too well. For ...
18
votes
3answers
2k views

Using non ASCII characters in author names and titles within hyperref pdfinfo

I am trying to generate a PDF file (using pdflatex) with hyperref references; both the title and author should be visible as pdf properties, and both contain accents or non us-ASCII. The rest of the ...
18
votes
4answers
4k views

Getting those %#!^& signs in the footnote!

This is basically an expanded version of part of Control command arguments . The original questioner there wants to redefine \href so that all the links end up in foonotes (rather than in the main ...
18
votes
1answer
2k views

How to prevent \url from removing the spaces in a path?

The following code \documentclass{article} \usepackage{filecontents} \begin{filecontents*}{"a b c.tex"} one two \end{filecontents*} \usepackage{listings} \usepackage{hyperref} \begin{document} ...
18
votes
4answers
5k views

\pdfendlink ended up in different nesting level than \pdfstartlink

I started using showkeys in one of my documents and see this error \pdfendlink ended up in different nesting level than \pdfstartlink A bit of google suggests that this "happens when hyperref is ...
18
votes
1answer
1k views

What does the hyperref option hypertexnames do?

The Manual of hyperref states that hypertexnames: use guessable names for links. What does this mean? What are the consequences of using this option?
17
votes
5answers
3k views

Not using abbreviations with cleveref

I’d like to use the cleveref package but I don’t like that it inserts most names as abbreviations; for instance, it will print “… fig. 2.1 …” instead of “… figure 2.1 …”. Is there a way of changing ...
17
votes
2answers
9k views

Customize PDF bookmarks

I have the following document (this is an example): \documentclass{book} \usepackage[bookmarks=true,pdfborder={0 0 0}]{hyperref} \title{Sample document} \begin{document} \thispagestyle{empty} ...
17
votes
1answer
1k views

How to configure Latex to open the last page in PDF reader?

I edit big documents, so it is useful for me to open the last page after compilation. Normally, the first page is opened, but by using hyperref, I can configure it to open any page at start. ...
17
votes
1answer
4k views

Defining custom sectioning commands

In a document of mine (scrbook class) I have to describe several different scenarios as part of a subsection. I originally used \subsubsection for each which are not numbered with the default setting ...
17
votes
2answers
3k views

Underlined links with hyperref possible?

How can I have underlined links with hyperref? That means how to configure hyperref not to change the color of the printout but use underlined active links which are completely transparent in print. ...
17
votes
3answers
798 views

hyperref links break with babel + hebrew (or right-to-left language)

Using the babel package to write Hebrew text exposes incompatibilities with all sorts of other packages. This questions is about the incompatibility with hyperref. Basically, you can't get links with ...
17
votes
2answers
673 views

How can I convince hyperref and xindy to play together nicely?

I'm using xindy to generate indexes for a manual that gets translated into multiple languages. Unfortunately, hyperref and xindy don't like to play nicely together. I found some older mailing list ...
17
votes
2answers
1k views

Hyperref Link Spans a Pagebreak, Looks Ugly

I'm using hyperref for links in pdflatex and I have the following problem: when a bibliography citation spans across a page-break (which usually occurs with long author names), then an additional ...
17
votes
1answer
450 views

How can you make your CV accessible?

Recently I learned, from an insider, that a CV in PDF format might have a significant disadvantage: automated data mining tools used by HR sometimes fail to extract information from the PDF. Most ...
16
votes
2answers
7k views

Autoref's inserted text has not the correct case

I'm using the \autoref tag which comes with the package hyperref for referencing my algorithms, figures etc. I read that it automatically adjusts the reference text's case, but it won't work with my ...
16
votes
2answers
7k views

How do I specify color in RGB using \hypersetup in hyperref?

How do I specify color in RGB using \hypersetup in hyperref? I know that this is the right way to do it with color names: \hypersetup{colorlinks,breaklinks, urlcolor=Maroon, ...
16
votes
2answers
38k views

How to link an equation in LaTeX

I am wondering how I can link an equation in LaTeX, I mean when I click on the link then I'll be directed to that specific equation.
16
votes
2answers
4k views

Linking a text to a page (by page number)

I need to link a text to a page (by page number). I do not want to use labels, but simply to specify the text and the page number. Can I do that with hyperref?
16
votes
2answers
4k views

Hyperref: Changing the linkcolor locally in the TOC

I found that the link-color for TOC text is identical to the link-color for Figures and Tables. When I change the color to black in the TOC also the color for Figures/Tables citation etc. is changed. ...
16
votes
2answers
2k views

Avoid hyperlinked TOC if hyperref is used

I'm using the hyperref package because I have a link in my document, but do not want to have the TOC as links. How can this be done?
16
votes
4answers
9k views

MacOS X: insert hyperlink to local file (complete path) in LaTeX? (only working with relative path)

I want to add hyperlinks to external pdfs (which are saved in the local file system) and to specific pages of these pdfs to a LaTeX document on MacOS X and opening them with Skim.app (default). My ...
16
votes
3answers
2k views

Making endnotes clickable links with hyperref

I would like to use the endnotes package, hyperref and biblatex together to have links to my endnotes. Here is a MWE that shows how the links don't show up: \begin{filecontents}{testbib.bib} ...
16
votes
1answer
470 views

Which hyperref variable can I set to make a pdf open with the “Comment” tool displayed in the right panel of the window?

We are using Adobe Acrobat X when viewing our pdf files produced by pdflatex and the hyperref package. To make the commenting process more intuitive for users not familiar with Adobe Acrobat X, I ...
16
votes
1answer
723 views

Hyperlinks to a bibliography are one line off

I have long despaired of resolving the following glitch: If I am using hyperref with amsrefs, then all \cite links to the bibliography point to the line right below where they are supposed to. Here is ...
16
votes
1answer
2k views

How to turn on/off certain types (e.g. citation, url, file) of hyperref links?

The hyperref manual doesn't seem to document a way of turning different types of links (citation, url, cross-reference, file, ToC, footnote) on/off independently. One possible scenario would be to ...
15
votes
3answers
803 views

Create \eqref* (\eqref without link, i.e. starred eqref)

I want to create a command \eqref*, which is the same like \eqref, but without a clickable link. There are similar commands for \ref (\ref*) and \autoref (\autoref*) which achieve this behaviour, but ...
15
votes
2answers
800 views

Linking the section text to the TOC

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 ...
15
votes
1answer
5k views

Formatting back references in bibliography

I would like to change the way the back references are shown in the bibliography, such that they are all shown within parentheses. So I would like to see (page x, y, z) after my bibitems. This ...
15
votes
2answers
4k views

Make PDF open in “Fill Window” mode with hyperref

When I usually open a PDF with Acrobat Reader it opens it in Fill Window mode (the page fills all the space of the window). When using the hyperref package it always opens the file in Full page mode ...
15
votes
3answers
869 views

Adjust box around hyperref footnote links

Is it possible to adjust the size of the box around the footnote links produced by hyperref? Specifically, I would like to move the base of the box closer to the base of the object inside. ...
15
votes
1answer
24k views

Further customize color of hyperref links

I have tried to find a way to customize how internal links are colored, but I don't yet have the expertise in finding and redefining commands. In the LaTeX example below, I describe how I would like ...
15
votes
2answers
3k views

Insert foldable A3 pages in an A4 document with active references

I am at the end of a big LaTeX document (my thesis) and I would like to insert A3 tables and figures in the Annexes (Supporting informations) section. These A3 pages would be foldable and ideally I ...
15
votes
1answer
871 views

Is there a poisonous interaction between memoir, hyperref, and hyperxmp?

In another, now rather confused, question, I'm struggling to get copyright information into a PDF produced by memoir. The investigations so far have led to this problematical MWE: % !TEX TS-program ...
15
votes
2answers
681 views

Xindy: Encapsulations for Index

Well, I struggled to improve my index generated by Xindy. I tried to add several entries with bold page numbers by using \index{...|textbf} as classified in latex-loc-fmts.xdy, without any success. ...
15
votes
1answer
3k views

natbib and hyperref for (Author, Year) style produces two links

I am using the bioinfo style with natbib and hyperref, using the (Author, Year) style citations. pdflatex produces two link boxes for each citation: one for the Author and one of the Year. I would ...
15
votes
1answer
6k views

\nameref — How to display section name AND its number

Is it possible to make \nameref display not only the title of the section but also its number? \section{First Section} \label{sec:some_sec} \subsection*{Unnumbered subsection} \label{sec:subsec} ...
15
votes
4answers
1k views

Hyperref jumps to the wrong equation if the equation has a \tag and cleveref is used

The problem I'm writing a document where all of my equations are labeled, not by numbers, but by names, which I provide with amsmath's \tag command. I also use cleveref for ease of ...
15
votes
1answer
1k views

How to break long URLs using common hyphenation but adding a line feed indicator?

I saw several questions like this one that request a solution for breaking apart URLs. I wonder if it is possible to hyphenate the words in a URL as it happens in normal text (i.e., breaking apart ...
14
votes
1answer
818 views

How to create my own ref label system?

I want to add a hyperlink to sections where a file is discussed. Additionally the usage should be added to the index. In principle this is very close to the label ref system. A simple approach would ...
14
votes
2answers
7k views

Hyperref + \url: long URL with dashes won't break

I've discovered a rather weird behaviour of PdfLaTeX. In this example \documentclass{article} \usepackage[breaklinks]{hyperref} \begin{document} ...
14
votes
2answers
4k views

How to return to original .pdf presentation after open a .pdf linked file?

I'm preparing a beamer presentation and I'm using hyperlinks for the first time; When I do something like: \href{name_file_to_open.pdf}{here I put a link to a figure which is working well} It works ...
14
votes
2answers
11k views

How to break long url in an item

I have an enumerate. In an item I have a long url. I use the package breakurl and it works fine outside the enumerate but not in the item. \usepackage[margin=3cm]{geometry} \usepackage{hyperref} ...