Questions tagged [hyperref]
{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}.
5,212 questions
3
votes
1
answer
65
views
In my list of references, why would there be no line break within certain links but right before them leaving most of the line blank?
I am required to break the links within url{} to my references only after / or //, not after any other symbol that also might occur in a link. As can be seen in this post, this was achieved by adding \...
1
vote
0
answers
23
views
`hypertarget` fails to go back to show the right block due to `uncover`
I want to recall a previous Corollary in a proof, but the corollary is included in \uncover<4-> and the link takes me back to the first version of the slide, where the corollary is not visible ...
3
votes
2
answers
64
views
combination of enotez and xurl and hyperref not working in XeLaTeX
I'm using (thanks to egreg for his advise)
\documentclass{article}
\usepackage{enotez}
\usepackage{xurl}
\usepackage{hyperref}
\begin{document}
This is for test\endnote{“General Election: Trump vs. ...
4
votes
1
answer
64
views
TOC out of order when using phantomsection and subfiles
I have a file for course notes that uses subfiles for each section of the notes, and phantomsection \addcontentsline to group several sections into a "Unit".
My main file is mathNotes.tex, ...
0
votes
2
answers
58
views
Package "endnotes.sty" and hyperref.sty" doesn't support some symbols, e.g., # and %
I'm trying with:
\documentclass{article}
\usepackage{endnotes}
\usepackage{hyperref}
\begin{document}
This is for test\endnote{“General Election: Trump vs. Biden,” RealClear
Politics, accessed June ...
1
vote
0
answers
46
views
Error message: xkeyval Error: `unicode ' undefined in families `Hyp' [closed]
I suddenly got the following error message when compiling my main.tex file:
hyperref.sty: Fehler: 4070: Package xkeyval Error: `unicode '
undefined in families `Hyp'. \ProcessKeyvalOptions{Hyp}
I ...
3
votes
0
answers
87
views
Different LaTeX compilers affect the depth of hyperlink boxes
I have the following example(From display inline style affected the hyperlink box's size?):
\documentclass{article}
\everymath{\displaystyle}
\usepackage{xcolor}
\usepackage{lipsum}
\usepackage{...
0
votes
0
answers
58
views
Hyperref footnote and label in math model
For relevance, I am using hyperref and footnotebackref in my preamble. I'm trying to use \label and \footnotemark both in the same equation, but I rightfully get an error message saying that there are ...
1
vote
0
answers
66
views
Document metadata with PDF/A4-f
I have noticed that if I set up my \DocumentMetadata according to the PDF/A-4f standard and fill some of the entries using hyperref, the resulting PDF shows nothing in the document info whenever I ...
2
votes
1
answer
86
views
display inline style affected the hyperlink box's size?
I have the following example:
\documentclass{article}
\everymath{\displaystyle}
\usepackage{xcolor}
\usepackage{lipsum}
\usepackage{amsmath}
\usepackage{zref-clever}%<-
\usepackage{hyperref}
\...
3
votes
3
answers
103
views
How to correctly expand the first parameter of \hrefrun?
This is my code (which I compile using LuaLatex: This is LuaHBTeX, Version 1.24.0 (TeX Live 2026) (format=lualatex 2026.4.1).
% test of hrefrun
\DocumentMetadata
{
pdfversion = 2.0,
}
\...
1
vote
0
answers
73
views
How to use Hyperref if I don't have the LaTeX code of the text I want to hyperlink to [closed]
I'm writing solutions to exercise from a textbook for one of my classes and I wish to have links from the question to the answer and vice versa. I was just wondering if there's any way around that ...
1
vote
0
answers
70
views
wrap NewDocumentCommand macro definition
in my research we have lots of unstable notation, i.e., we change the meaning of symbols a lot. Therefore I created a small notation package that provides macros by semantic identifiers (see here: ...
3
votes
1
answer
79
views
Hyperlink does not scale in pgfplots
I have a figure drawn with pgfplots where I cite a reference in the legend.
the issue I have is when I try to scale the whole figure, I noticed that the green hyper link for the reference is not ...
3
votes
1
answer
208
views
How do I break a link within \url{} only after / or //?
I am required to break the links within \url{} to my references only after / or //, not after any other symbol that also might occur in a link. How do I implement this properly for all the links to my ...