{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

3
votes
0answers
66 views

Centering list issue with Enumerate+Hyperref+Varwidth

I want to center an enumerated list so i've tried to use the answer of this question given by the Great David Carlisle. But using hyperref, varwidth and enumerate (in any order in the preamble) cause ...
2
votes
1answer
26 views

xr-hyper link color does not follow hypersetup

I am using the xr-hyper package to reference labels in another document. The linking is working properly. However, I noticed that colors of the xr-hyperlinks are not following the colors defined in \...
1
vote
1answer
40 views

How can I use hyperref hyperlinks inside of description list keys?

I already asked a related question, How can I label / reference description items that contain macros by name? Now I am having difficulty compiling description lists using hyperref's hyperlinks. ...
1
vote
1answer
27 views

How to make the text in front of the eqution or figure number become a hyperlink?

I found that in many journals not only the number but also the text such as Fig or Eq can be a hyperlinked so one can be directed to the equation or figure by clicking the hyperlink. This is what is ...
4
votes
2answers
57 views

How to use \nameref with xstring package to check string length

I need to measure a number of characters in string, that I returned from label through \nameref command. Here is my MWE: \documentclass{article} \usepackage{hyperref} \usepackage{xstring} \begin{...
3
votes
1answer
31 views

glossaries references produce two hyperref links

I'm trying to achieve the effect from this existing question: \gls should produce hyperlinks, but without the distracting frames, while all other links behave as usual. The answer to that question ...
2
votes
0answers
49 views

footnote with a link split into next page makes all of the text clickable

I have this weird issue where my footnote containing a link is split into the next page because the link URL is too long. This would be fine. What is weird is that the text on the next page where the ...
1
vote
0answers
16 views

hyperref author and year biblatex with multiple keys

I am using the solution in hyperlink name with biblatex authoryear (biblatex 1.4b) to have links on author and year when using \citet. This solution does not work if I have supply \citet with ...
7
votes
2answers
351 views

Why is escaped # breaking my command?

I have created the following two commands: \newcommand{\termExplanation}[1]{\item[#1]\label{#1}} \newcommand{\newTerm}[1]{\hyperref[#1]{\emph{#1}}} In my text, I use \newTerm{Term 3}, and somewhere ...
2
votes
2answers
73 views

Knitr: How to make a crossreferences to figures and tables generatrd by code chunks?

I would like to make cross-references to images and tables generated from knitr code chunk in the same way as to standard figures and tables. In a standard figure I use control sequence \label, but i ...
4
votes
1answer
34 views

Getting a hyperlink to automatically break at punctuation marks

In the example below, how can I get the hyperlink that prints as "doi:10.2307/1968102" to automatically break at any of the punctuation marks, i.e., the :, ., or /? Note: I am compiling directly from ...
2
votes
1answer
63 views

No hyperlink borders for any kind of glossaries entries but still hyperreferred

I would like to have the default behaviour of hyperref for all links excepted the ones from glossaries: for them, they should be still links but without borders I started playing with \hypersetup{...
2
votes
1answer
47 views

Why does clickable link get cut off when defining \href color?

I am using \href{} from the hyperref package. Here's a MWE: \documentclass{article} \usepackage[colorlinks]{hyperref} \hypersetup{} \begin{document} \href{http://google.com}{Click me!} \end{...
5
votes
1answer
41 views

Wrong references to another chapters

My problem is when you click on the reference to the first definition from chapter 2 you will return to the first definition from chapter 1. Of course, I want to see definition 1 from the second ...
1
vote
0answers
14 views

glossaries package: hyperlink only on first use of acronym [duplicate]

I use the glossaries package to define and use acronyms in my text. I use \newacronym{} to define my acronyms. In the text I use \gls{} to refer to these acronyms. In order to improve readibility of ...
0
votes
0answers
82 views

Beamer: hyperlinks not working with show notes on second screen

I want to make a beamer presentation with navigation at the top of the slides and with notes on a second screen. The problem is that, with the option show notes on second screen, the hyperlinks do ...
0
votes
1answer
27 views

Include Page Numbering into Table of Contents Hyperref

I want to make the page number listed in table of contents also clickable. Does anybody know how to do this? At the moment I use the following code to hyperlink my table of contents. \usepackage{...
3
votes
2answers
86 views

No accents and ¿ ¡ in pdf bookmarks

I'm doing a book with LateX in spanish language and I'm having some problems with spanish accents and symbols ¿ and ¡. Here's my preamble, sorry, it's very huge: \documentclass[10pt,a4paper,twoside=...
5
votes
0answers
70 views

References: Remove white space in front of doi

In my references, there is a problem with the doi. When using \usepackage{doi} I get hyperlinks, which is what I want. In combination with \usepackage{apacite} however, I then have to suppress the doi ...
2
votes
1answer
22 views

hyperref and hypdvips again concerning attachfile

According to this task I cannot determine the error between hyperref and hypdvips I have tried to execute this small piece of code and failed. Compile it with latex example.tex & dvips -P pdf -...
1
vote
0answers
30 views

Multiline hyperref in list of of tables

I have a problem with proper formatting of too long labels in list of figures with hyperref. It works fine if the label is short (one line). But if it breaks to another line, the hyperref is not ...
5
votes
1answer
54 views

How to make hyperlinks point to the top of an equation?

I've got a system of equation splitted on multiple lines with the environment split and a reference to them, which I would like to point to the top of the system of equations. Here's my MWE: \...
4
votes
1answer
104 views

hyperref title page problem in pdf

When I use hyperref, my title page is number 1 of pdf, also the second page is page number one of pdf. How can I prevent this from happening? \documentclass[12pt]{article} \usepackage[utf8]{...
1
vote
0answers
27 views

colored equation number and brackets [duplicate]

I would like to color the equation number and the brackets around it, and also have the colored eq. number and brackets shown in my references to the equation, with \eqref{label} or similar. Is it ...
3
votes
1answer
24 views

Change the color of the link which is generated by \htmladdnormallink

I try to write a book, and I'm beginner with some functions in LaTeX. I already have looked for this question even I looked in hyperref manual and I have not found anything about how to change the ...
2
votes
0answers
32 views

Move hyperref colored boxes to the background?

The colored boxes of hyperref links are in the foreground, which often hides punctuation. Is it possible to move the boxes to the background, so that text is written on top of it and not the other way ...
2
votes
1answer
17 views

Same identifier warnings with hyperref and nd3

I'm getting error messages when I combine hyperref and the nd3 package (for formatting logical deductions), e.g. "pdfTeX warning (ext4): destination with the same identifier (name{@NDlines.1}) has ...
1
vote
2answers
23 views

Reference to a part of an algorithm

I would like to write about the analysis of an algorithm. Depending on some conditions multiple cases arise. I would like to reference the cases but not solely based on the line numbers. Essentially I ...
0
votes
0answers
31 views

latex2latex without \ref

I want to submit a manuscript to an academic journal (my first article). Obviously, I created a beautiful pdf using latex with figures, equations, an appendices and cross-references (package: hyperref)...
2
votes
0answers
50 views

Highlight/Link Author and Year in Citation [duplicate]

I'm currently modifying the Masters/Doctoral Thesis template found here. However, it only highlights the year in a citation like (Smith 2016). I would like both "Smith" and "2016" to be part of the ...
1
vote
1answer
27 views

bibtex sort in alphabetical order with href

I have the following in my references.bib file. @Misc{ref1, Title = {\href{http://www.ref1.com}{aaa}} } @Misc{ref2, Title = {\href{http://www.ref2.com}{...
2
votes
2answers
77 views

How to automatically determine the remaining width of the text field in this form?

I have this form made with the aid of hyperref package using the form environment: \documentclass[pagesize=pdftex,DIV=16]{scrartcl} \usepackage{xcolor} \usepackage{hyperref} % \newlength\...
16
votes
2answers
124 views

What is the simplest way to extract a URL from a .bib entry for use in \href{}{} (probably using Biblatex)?

I am trying to define a new macro with the following syntax: \citeimg*{<bibkey>} The unstarred form should simply produce \citeauthor{<bibkey>}, \citetitle{<bibkey>}, \citeyear{&...
3
votes
0answers
30 views

Problem with hyperref, sidewaysfigure and LuaLaTeX

I have a landscape figure inserted in a sidewaysfigure environment with a reference in the caption. If I compile the document with pdfLaTeX all works well but if I compile with LuaLaTeX the red square ...
1
vote
1answer
53 views

Is there a way to make image/Table appear on hovering mouse on another image in the pdf?

I am trying to make an image or a table appear on mouse hover (mouseover) over specific parts of another image like an info-graphic. Can someone tell me a package and syntax to achieve this? The ...
1
vote
1answer
56 views

\hyperref error when using figure. Colors and too many }'s?

I am having trouble with the colorlinks=true command with the \hyperref package. When I include it as well as the \figure command I get an error relating to colors. Excluding it allows the document to ...
2
votes
1answer
54 views

How to use the long section caption for bookmarks with hyperref

The package hyperref uses the short caption of a section for the bookmark entry. Is it possible to use the long form instead? I have many sections so manually adding all of them to the bookmarks is ...
0
votes
1answer
51 views

How to get 'Scale/Fit to page' behaviour automatically when printing?

I have slides created like this: \documentclass{scrartcl} \usepackage[T1]{fontenc} \usepackage[american]{babel} \KOMAoptions{paper=128mm:96mm}% like Beamer \usepackage[includefoot, left=5mm, right=...
1
vote
1answer
35 views

hypertarget with accents

with XeLaTeX (so native Unicode input), I would like to create a macro which, from a string, will create an hypertarget which anchor's name contain string. \documentclass{article} \usepackage{...
0
votes
0answers
45 views

I can't use an accent into a file directory with hyperref

suppose i have this path C:\holá where holá is a folder. I need to open it. So I tried with \href{run:C:/holá}{folder with an accent}. But this error message appears: "C:\hol\unhbox..." What can I do?...
2
votes
1answer
60 views

Analysis of cross-reference/link network within a single document

I am writing a book with several chapters and sections that are linked with each other by the use of \ref. Now I would like to get an overview of the starting points and targets of these \ref and \...
2
votes
1answer
35 views

Post or pre note using \ref

The figures I intend to include in my latex files are sometimes splitted into subfigures and labeled accordingly (e.g. have an (a), (b), etc marker), but still a single figure. This makes it easier ...
3
votes
1answer
67 views

Hyperref refer chapter and page in text

\documentclass[oneside,10pt]{book} \usepackage{amsmath, amsfonts, amsthm, amssymb} \usepackage{hyperref} \usepackage{blindtext} \begin{document} \chapter{something} \blindtext[1] \chapter{...
1
vote
1answer
60 views

Create hyperlink between citation call-out and printed entry? [closed]

I want to create cite source in latex using texmaker and mendeley. In particular, whenever I click on the cited reference it directly goes to reference part where that cited reference is mentioned.
2
votes
1answer
79 views

cross-references with xindy

I'm using xindy for my index. And I would like to have cross-references inside. But when I do so, the page number associate to the entry with a cross-reference disappear. Here is a MWE: \...
0
votes
1answer
32 views

Silence warning about non-existing destination without disabling hyperref

This is not a duplicate but a follow-up question to "Reference does not exist" warning with \includeonly. I use \includeonly to compile only part of my document. This causes hyperref to ...
1
vote
0answers
48 views

media9 seems to conflict with xr-hyper [closed]

A year ago everything was fine with my book. But now compilation fails. I managed to localize my problem to the following MWE. The following error occurs when pdflatex runs over second file (B.tex): ...
3
votes
1answer
160 views

LaTeX Report Template for Windows PdfTeX

I am very novice in LaTeX and would like to make similar documents (template) like the one referenced in the LaTeX template here. I would like to place the header, footer as in the similar fashion ...
1
vote
0answers
53 views

Avoid the spurious space \noindent adds at the beginning of a theorem

This question is related to Enumerate after \label and Heiko's answer (with \noindent trick). As pointed out by Heiko: Then the first item moves from the theorem title line to the next line, the ...
2
votes
1answer
117 views

How to cross-reference an unnumbered theorem using hyperref and cleveref

In two previous questions (i.e. Distinguishing \ref and \cref through different colors, and ''Proof of Theorem x'' header trough modification of \ref) I addressed some problems I had with hyperref ...