{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

34
votes
3answers
2k views

How to preserve hyperlinks in included PDF?

I have generated PDFs with figures that have hyperlinks (hyperref to websites, \href) in them. When I compile these figures standalone the hyperlinks work. But when I try to include these PDFs (as ...
9
votes
3answers
3k views

How to link to specified page of an outer pdf document?

Recently, I made a beamer presentation and I want to link to a pdf I have made before, but I can only link to the first page of pdf document using the command: \href{doc/mydoc.pdf}{thedoc} and I ...
3
votes
1answer
48 views

\textsuperscript inside \section (XeLaTeX)

How can I get work \textsuperscript inside \section? \documentclass[unicode, fontsize=9pt, twoside=false, russian, a5paper]{scrbook} \usepackage{polyglossia} \setmainfont{PT Serif} \setsansfont{PT ...
4
votes
1answer
62 views

Problem with hyperref and hypdvips

In my table of contents, there are entries that span more than one line. Since I compile with LaTeX -> PS -> PDF, the links created by hyperref are not correctly displayed in the output file (pdf). To ...
2
votes
1answer
53 views

Custom label for chemical structures

I need a custom label for my chemical structures and everything works fine but the label isn't centered. Does anyone know how to center the label? \documentclass{minimal} \usepackage{hyperref} ...
2
votes
0answers
37 views

Hyperref and Automatic Citation indexing

I am using hyperref package with backref option \usepackage[bookmarks=true, backref, allbordercolors = green]{hyperref} It generated references at the end of IEEE style document with a roman ...
4
votes
1answer
67 views

Strange interaction between hyperref, listings and animate

I am trying to have a listing inside an animate environment. However I can't manage to do it if the hyperref package is loaded. This is a MWE, obviously in the real application I need hyperref for ...
1
vote
0answers
44 views

Hyperref package issue with cite border

I am trying to get the hyperref package to display the default green boxes around the citation but when typesetted, there is no such formatting. Here is the preamble that I have currently in my TeX ...
2
votes
0answers
45 views

Inserting phrase “Page” before page number in backref package [duplicate]

When I use the backref package within hyperref package, for example I get this result: Pakdemirli and Boyaci, “Comparison of direct-perturbation methods” Journal of Sound and Vibration, vol.186, ...
7
votes
2answers
87 views

autounindent cannot work together with hyperref and hypcap

This question is related to my previous question answered by Jubobs here. I compiled the given code below with both TeX Live 2013 and TeX Live 2014 pretest. Both produce the same result. Case 1 The ...
6
votes
1answer
114 views

How do I replace url text with a symbol in the bibliography of a CV (moderncv class)?

I want to include a link to my publication, using biblatex in a CV. But instead of the whole url, I just want a symbol which can be clicked. My MWE is as follows: ...
5
votes
1answer
85 views

Constant height and depth of hyperref link boxes

For boxes around links which the hyperref package creates, their height/depth seems to be dependent on the maximum height and depth not of letters of the enclosed material (see top example pair below) ...
0
votes
0answers
44 views

Trouble with the hyperref package in TexWorks

I'm writing my thesis with TeXworks and I'd like to use the hyperref package. I've downloaded the package from the internet but it doesn't seem to be working. This is my preamble: ...
0
votes
0answers
28 views

Hyperlinking theorems in smfart

Edit: The class smfart is one of several classes created by the Société Mathématique de France for typesetting mathematics. Here is its CTAN page, where it lies under smflatex, and here is the ...
2
votes
2answers
382 views

hyperref error using latex: “Illegal parameter number in definition of \Hy@temp” [closed]

I have a new laptop and installed Ubuntu 14.04 including TeX Live. A LaTeX file which worked well under Ubuntu 12.04 now gives error "Illegal parameter number in definition of \Hy@temp" when calling ...
19
votes
2answers
2k views

Multiple references with \autoref

I am currently using the \autoref command from the hyperref package to refer to my theorems etc. However, I want to be able to (easily) refer to two or more theorems/lemmas/..., e.g. by calling ...
4
votes
2answers
69 views

Hyperref links in TOC point to wrong location when using titletoc

I have modified the formatting of subsections in the toc, so that they appear in one line instead of separate lines. For this i used the titletoc package. Here is a MWE: \documentclass{scrbook} ...
0
votes
1answer
48 views

Formatting back references in bibliography [BibTeX]

I'm using the option pagebackref in hyperref package and I get just the links list at the end of each reference name. It should print something like "Cited on page/s ", but I don't manage it even to ...
13
votes
2answers
4k 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} ...
1
vote
1answer
53 views

latex text bold, center and link issue

I created one doc here. It has two pages, code seems correct as per me but there are some issue with it. I used \hfill to put the title in center. IS it wrong? In email, I made only this word bold. ...
1
vote
0answers
143 views

creating a db schema

I am trying to create a schema page in LaTeX. It shall look like this. How can I create schema code which look like this image? There should be also a click to go function. When the user clicks on ...
1
vote
1answer
25 views

How should I use reference with setcounter{lstlisting}{0}?

I specified in my lstlisting both caption and label. Also before every section I use: \setcounter{lstlisting}{0} My listing from PDF view looks like: Listing 4.1.2 SomeCaption When I am using ...
2
votes
0answers
41 views

Unwanted Hyperref link

I'm using the below code in a Tex file \documentclass{article} \usepackage{hyperref} \begin{document} \title{Title} \author{Author field\thanks{Corresponding author. E-mail: ...
3
votes
1answer
37 views

autoref not adding “scheme”, when converting .eps with auto-pst-pdf

Problem/Question I'm encountering problem using \autoref (from hyperref package) to reference a scheme-environment (provided chemstyle package), when using \includegraphics[*]{*.eps} (working with ...
2
votes
0answers
120 views

! Missing \endcsname inserted. <to be read again> \relax

I've been working on my dissertation in LaTex Texshop for sometime and this morning I revived these error messages. I think it is somehow related to hyperref because when I disable this package the ...
0
votes
1answer
95 views

hyperref-link-spans-a-pagebreak-looks-ugly [duplicate]

any news on hyperref-link-spans-a-pagebreak-looks-ugly? Any way around it? Please help, I really need it. EDIT Since it seems a difficult unsolved issue, what I am asking for is a quick fix, that ...
2
votes
1answer
221 views

How could you make an image a hyperlink to a section in a LaTeX document?

I'm fairly new to latex and am currently working on a few articles as practice before I use it for more official documents. In my current document, I am attempting to make a table of icons (png ...
17
votes
2answers
923 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 ...
4
votes
1answer
65 views

hyperref and cleveref together with enumitem

I am working on lecture paper and I am referencing theorem-like environments a lot. I have written down a simple example how my layout might look like: \documentclass[a4paper]{article} % ...
2
votes
1answer
98 views

Tikz' sloped text with refs has non sloped link boxes

I use the sloped option to place slanted nodes along arrows in tikz. Now if that text contains clickable references with the hyperref package, they are not sloped. The text and the link are not ...
4
votes
1answer
57 views

pgfplots externalize with hyperref

I'm using pgfplots with externalize because my document has a lot of plots which causes problems with memory limitation in LaTeX. In one of my plots I have a reference to an equation. In the file ...
2
votes
1answer
38 views

Why $\bf \bar D$ displays as ``7016D in the pdf generated bookmark using hyperref package

I am using the the hyperref package in an arxiv preprint in RevTeX format. The relevant part of the code is: \usepackage[colorlinks=true, citecolor=blue, urlcolor = blue, linkcolor= blue, ...
10
votes
2answers
327 views

Wrong place for hyperref link in scaled tikz picture

I have a TikZ picture with a node containing a minipage with an itemize environment; each item is a hyperref to other sections of the document. When scaling the image (for example with ...
2
votes
0answers
26 views

How to get the rotate key to affect clickable regions produced with hyperref's \hyperlink? [duplicate]

I'm doing some experiments with \hypertarget and \hyperlink (from hyperref) used inside some TikZ nodes and I noticed an unexpected behaviour. Please consider the following example code: ...
1
vote
1answer
39 views

Long Hyperlinks in Tex

I am having again a problem with too long hyperlinks. The code will be generated automatically. Thats why it is almost impossible to correct it manually, as the document will be too long. Basically ...
3
votes
2answers
34 views

broken hyperlink to items in etaremune or revnum environment

I want to create hyperlinks to the items of a etaremune or revnum environment. It works with the enumerate environment, but how can I do the same with a list with reverse numbering? Here is an example ...
4
votes
1answer
92 views

Different colours in hyperref

When using the option colorlinks with the hyperref package , I get the output as shown : Now, How do I add a hyperlink to the page number also and add a different color say blue to it.
6
votes
2answers
1k views

Citation colour with Beamer + Hyperref + Natbib

I'm using natbib for citation with a custom bibstyle. I'm working on a presentation using LaTeX beamer and for some reason the citation marker doesn't have the colour that is specified to hyperref. ...
110
votes
10answers
8k views

Which packages should be loaded after hyperref instead of before?

The hyperref documentation says: "Make sure it comes last of your loaded packages". The reason is that it redefines many LaTeX commands. It's a rule of thumb that helps to avoid errors. However, ...
2
votes
1answer
35 views

Making clickable links to sections with hyperref

I would like to make a word of text, that when clicked upon in the pdf file takes me to some section. I'm using the hyperref package. I rejected \nameref because it produces the section title and I ...
10
votes
1answer
2k views

Hyperref pointing is incorrect in the Table of Contents

I'm observing strange behavior with hyperref and the \tableofcontents. Clicking on List of Tables or Synopsis takes me to the Preface page. Perhaps it has something to do with \chapter* titles for ...
3
votes
1answer
45 views

hyperlink on equation number

I would like to link an equation to a sentence at the end of the document (e.g. code below) but placing the hyperlink on the equation number and not on the equation itself? Is it possible? THanks for ...
0
votes
0answers
32 views

How to display text of reference [duplicate]

If I put \usepackage{hyperref} % ... % \begin{align} Label \label{lab:one} \end{align} Reference: \ref{lab:one} I get a hyperlink to my label (puts "Reference: 1" with a clickable 1). Instead, ...
6
votes
2answers
178 views

check order of references to floats

I want to make sure that the references are in in the order of the appearance of floats. I.e. I do not want to change the order of the floats but I want to avoid the situation: ... shown in figure ...
5
votes
1answer
73 views

Change autoref name of items of a specific list

In my document I have a customized list subtasks type (using enumitem) to insert subtasks. I would like to reference them using \autoref. However, since these are lists, \autoref inserts the word ...
6
votes
3answers
95 views

Using \autoref with tcolorbox

Is there a way to refer to a tcolorbox created theorem (created with \newtcbtheorem) using hyperref's \autoref? I've tried to set \<name>autorefname, as I would have done it for a theorem ...
1
vote
0answers
40 views

Hyperref and custom caption in float environment link wrong

I have a custom caption style. If i add a reference to a float the link points to the caption which is below the floats content, but it should point to the top. I probably forgot to set a ref line or ...
7
votes
1answer
133 views

page break in the middle of a \cite

With pdflatex all my citation are pdf hyperlinks to the respective entry in the bibliography. This causes a problem when occasionally Latex decides to do a page break in the middle of a citation so ...
4
votes
1answer
75 views

What are hyperref’s PDF bookmarks and how do I use them?

I have very often met the Package hyperref Warning: Token not allowed in a PDF string. Being fed up about it and curious to know what it meant, I was about to ask the n-th duplicate of that questions. ...
4
votes
1answer
34 views

Hyperlink in \todo[inline]

Do anyone have an idea why I have this two errors when using a \hyperlink{}{} in \todo[inline] ?? 1- Argument of \reserved@a has an extra }. 2- Paragraph ended befor \reserved@a was complete. ...