{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

2
votes
1answer
18 views

Citations: Reference year right parenthesis not part of reference

I am using the Chicago package and when using the \shortciteN{} command, the right parenthesis around the year is not linked where as the rest of the reference is. For example, below is my preamble ...
3
votes
1answer
50 views

Coloring toc page numbers

I'm using book class and I'm trying to achieve a toc which titles and page numbers are all clickable and hyperlinked to their corresponding sections, but with the characteristic that the page numbers ...
0
votes
0answers
18 views

Natbib cite command extra argument not included in hyperref link

I am using the natbib and hyperref packages for my bibliography with links. The problem is that when I include an optional argument in the \citep command, e.g. \citep[p. 21]{authoryeartitle} it does ...
2
votes
1answer
46 views

Macro For Hyperlinked Citation in Parentheses

I am using the macro below to override the \cite{} command, so that the entire citation is highlighted/hyperlinked. The \cite command gives me a citation of the form "Smith, 2000". The \textcite{} ...
1
vote
0answers
21 views

References back and forth between exercise and solution

I have been using this nice solution here for building \hyperref references back and forth between and set of Exercises and their Solutions... but there is an annoying requirement, which is, to keep ...
2
votes
1answer
67 views

linebreak in long URL? Breakurl won't break it

There are several questions on this site (for example here and here) where people are struggling with overfill hboxes when making clickable URLs. I have read and tried the answers there and none of ...
1
vote
1answer
39 views

Clicking Index in table of contents gets last chapter instead of Index

Here is a minimum working example: % !TEX TS-program = pdflatexmk \documentclass{book} \usepackage{xcolor} \usepackage{makeidx} \usepackage{hyperref} \hypersetup{colorlinks,linkcolor={red!50!...
0
votes
2answers
78 views

Problems after adding starred sections headings in table of contents

My document has both starred and non-starred version of section, and I want to add both types to my table of contents. I am using titletoc and I tried to solve it as follows: \titleformat{\section}[...
3
votes
1answer
59 views

Phone symbol/ Website logo in XeLatex

\texttt{ÔÑã}~\href{tel:\myphone}{\myphone}\\ produce a mobile icon on the pdf file and this one href{https://www.linkedin.com/in/\myweb} {\texttt{ÔÇå}~\myweb} generate the little nice Linkedin logo ...
1
vote
1answer
36 views

Hyperlink not working for glossaries in table

I am making a glossary list that appears in a two column table, but the hyperlinks now are no longer working when I use this custom style. Can someone explain how to fix this? \documentclass{article} ...
1
vote
1answer
46 views

Hyperref fails after \thechapter redefinition [closed]

At some point in my (Lua)LaTeX source, I want to redefine \thechapter after chapter 4 to take the value "3b". I then redefine \thechapter to resume its original value ("5"). LaTeX works fine (in any ...
5
votes
3answers
91 views

Change page, section, figure, etc identifier avoiding duplicates

Imagine that you want to build a report composed by several papers. Before each paper the titlepage should be displayed. Also, the page number, section number, figure number, etc shall always be reset ...
0
votes
0answers
36 views

Why is hyperref resulting in an error on \begin{document}

\documentclass[11pt,a4paper,sans]{moderncv} \usepackage{hyperref} \moderncvstyle{banking} \moderncvcolor{blue} \usepackage[utf8]{inputenc} \usepackage[scale=0.75]{geometry} \usepackage{textcomp,...
1
vote
0answers
38 views

hyperlink name with biblatex authoryear and breaking lines [duplicate]

I'm trying to hyperlink author-year style citations generated by biblatex, such that not only the year is clickable, but the full author name as well. This question was asked before (here) and ...
2
votes
1answer
46 views

How to separate glossary entries from section references in hyperref

I have a document, a glossary and references. I am using the hyperref package to create hyperlinks \usepackage[colorlinks = true, linkcolor = red, urlcolor = green, citecolor ...
0
votes
0answers
40 views

How to add a link for a website in report

I am writing my thesis for master and I have to add references to my report. Below is code for main file. I am using \bibliographystyle{ieeetr}. I would like to add links for some website in my ...
4
votes
2answers
60 views

Different output of \ref and \cref in lists with enumitem+cleveref

I'm using enumitem and cleveref packages and I would like to enforce a different behaviour of \ref and \cref for {enumerate} lists. More precisely, whenever I have lists in a theorem environment I ...
2
votes
1answer
25 views

Citations are mentioned separately, not in a group?

I am using "elsarticle" document class, and chapterbib and hyperref for citations. When I group the citation, instead of getting a range in the text, I get all of them mentioned separately. For ...
1
vote
0answers
45 views

Backup multiple slides with navigation button

I am creating a beamer presentation with backup slides(3). I want to put a navigation button from the main slide to backup slide 1 and the navigation button back to main slide from backslide no. 3. I ...
1
vote
1answer
29 views

Link colors are broken inside tabu environments

I have a table built with the tabu environment that doesn't display the correct color for the urls it contains, even if the link itself works (that is, it opens the web page in the browser). However, ...
3
votes
1answer
54 views

Nested enumerate items are missing some periods when cross-referencing

I am writing a rulebook and need to reference clauses and sub-clauses throughout. When I have a nested enumerate item to the level of 5.4.2.3, the cross-reference displays as 5.4.2.23. \...
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
24 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
38 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
25 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
50 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
48 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
349 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
60 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
60 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
40 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
39 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
75 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
25 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
75 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=...
0
votes
0answers
30 views

hyperref not working when a citation cross a page boundary

When I compile my LaTeX file with hyperref enabled I'm receiving a bunch of the following errors: Citation `xxx' on page \thepage undefined This error shows up I if use \clearpage before the auto-...
5
votes
0answers
65 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
29 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
53 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
95 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
23 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
29 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
15 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 ...