{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

5
votes
3answers
51 views

Retrieve link caption of hidden label

What I wish to do is create a (hidden) label in which some text is stored, and retrieve the text by referencing to it, without getting an actual link. For example: \customlabel{refname}{some text} ...
2
votes
1answer
25 views

New level of section, interaction with hyperref

I would like to create a new command \exsec that behaves like \section with the properties below. I am using the book class. It produces a heading with the same formatting as \section, except it is ...
3
votes
0answers
63 views

Need index to display custom description environment item name

I am trying to accomplish something like in this question and this question. I have several authors contributing solutions to problems that are numbered using an externally imposed scheme, which I ...
2
votes
1answer
32 views

Having several different colored borders for internal links

My question is: Is is possible to change the color of the borders of one or several internal links in LaTeX, without changing them all? I know it is possible to define a different colored borders for ...
0
votes
0answers
45 views

Reverse figure links

I like the way that hyperref provides links from references in the text back to figures or equations but at times I'd actually be interested to have the reverse work as well. Such that figures and ...
1
vote
0answers
24 views

Eledmac: hyperlink to table of contents generates additional pages [closed]

I'm writing a critical edition that includes a link to the table of contents on each page. When I do this in eledmac, additional pages appear in the vicinity of the table: \documentclass{book} ...
1
vote
0answers
55 views

Is it possible to use `renewcommand` to replace the `hyperref` command with `hyperlink`?

I am using Beamer with Hyperref, and I have a problem with the \hyperref command. The link is active, but it sends me to the first slide of the talk. I've read here in the Troubleshooting section ...
0
votes
2answers
26 views

Example numbering and referencing

I am quite new to LateX and I need help with my bachelor's thesis. I am writing a mathematical thesis with many examples in it and I need to label and reference my examples. I'll give u an example ...
1
vote
1answer
44 views

How to make the linked text colorful in beamer.

I want to highlight linked text with different color in beamer. for example, my code is as follows: \documentclass[a4paper]{beamer} \usepackage{hyperref} \begin{document} ...
3
votes
0answers
65 views

Where can I find the PDF syntax for texorpdfstring?

I use \texorpdfstring for section commands, but how do I find the PDF syntax? For instance, I recently learned about \texttwosuperior just by chance. Is there a reference for similar symbols?
4
votes
2answers
94 views

Defining a new version of \addcontentsline fails with hyperref

The example below defines a new version of \addcontentsline which does not show \thepage. Unfortunately, the compilation fails when hyperref is introduced. I have no clue why? ...
1
vote
0answers
36 views

Conflict between xepersian, hyperref and appendix

As you might know there is a bug in the appendix package which prevents hyperref from linking to the appendices, e.g. here. The aforementioned article says this is bug is triggered when babel is used ...
0
votes
0answers
28 views

How do I increase the size of the hyperlink on a superscript numerical citation with natbib?

I have the following: \documentclass{book} \usepackage{appendix} \usepackage[colorlinks=true]{hyperref} \usepackage[super]{natbib} \begin{document} bla~\cite{bla} \begin{thebibliography}{1} ...
5
votes
1answer
41 views

hyperref link expanded by MakeUpperCase breaks

Short version: How can I solve the problem of using hyperref links when expanded by MakeUpperCase? Long version: If I try to redefine: \renewcommand{\descriptionlabel}[1]{\hspace*{\labelsep}% ...
4
votes
1answer
47 views

Using hyperref's autoref function with todonotes messes up reference names

I used \autoref throughout my thesis and when doing corrections and needing to keep track of them using the todonotes package, I noticed that the \autoref function generates wrong labels. To show ...
0
votes
1answer
55 views

PDF as a data container

Inserting data about article to the PDF It is possible to pass title and author of the article to the appropriate hyperref package options? I want to be the values of \title - Title of the article ...
2
votes
1answer
77 views

Making broken references extra visible, redux: interacting with BibTeX (or BibLaTteX)

In Making broken references extra-visible, I asked how to make LaTex's normal ?? and [?] markers for broken references instead render as some super-annoying, colored text, so that in skimming a long ...
0
votes
1answer
44 views

Wrong anchors in bookmarks and TOC

I am having some trouble with some anchors for sections, which automatically start at a new page. The TOC shows the right page numbers, where the PDF bookmarks show the page number of the previous ...
3
votes
1answer
94 views

Getting hyperlinks, bookmarks, and TOC all right

I'm having trouble getting all three of the hyperlinks, PDF bookmarks, and the TOC "right". The following gives me the correct visual styling: Appendices appears in the TOC as a "part", before the ...
2
votes
2answers
66 views

How to show URLs in a bibliography as (hyperlinked) stubs?

\label{References} \renewcommand{\bibname}{References} \lhead{\emph{References}} \bibliographystyle{abbrvnat} \bibliography{Bibliography} I want to have all urls in my references list to be ...
0
votes
0answers
53 views

Single link in (Author, Year) citation style using natbib and hyperref - Permanent implementation

natbib and hyperref with (Author, Year) style citations produces by default two links for each citation: one for the Author and one of the Year. In previous questions (here and here), Audrey was kind ...
2
votes
1answer
228 views

Error: option clash for package hyperref

I downloaded this master thesis format from the net, It was compiling without errors until I added this line \usepackage[bookmarks,bookmarksopen,bookmarksdepth=2]{hyperref}because I want to show the ...
0
votes
0answers
17 views

Hyperref warning when combined with package titlesec [duplicate]

How can one get rid of the hyperref warning about the $ signs in the subsection title that are generated in the following minimal example? \documentclass{book} \usepackage{titlesec} ...
1
vote
0answers
45 views

Using titlepage, multiple authors and hyperref with pdfusetitle not possible?

Following code: \documentclass[titlepage]{article} \usepackage[pdfusetitle]{hyperref} \title{Test} \author{Hans \and Karl} \begin{document} \maketitle \end{document} Will raise this error: ! Use ...
6
votes
2answers
193 views

Package hyperref destroy \leftmark and \rightmark with KOMA

I noticed, when I use \usepackage{hyperref} the left and right marks are destroyed. One can verify this by uncommenting hyperref in MWE below. Without hyperref With hyperref ...
1
vote
0answers
43 views

Hyperref - LaTeX - MPlayer - Video issue

Setting: I have multiple video players installed on my system e.g. VLC, MPlayer etc etc. What am I trying to do? I am trying to make a presentation using beamer, where there would be links to ...
6
votes
2answers
55 views

Is there an \autoref for “proof”?

I am using the proof environment and would like to use \autoref to hyperlink to the proof from the proposition, because the proof is in a later section. I cannot seem to find the right prefix for a ...
4
votes
1answer
72 views

Creating table using tabularx and datatool from csv file

I am trying to create a vocabulary list from a csv file containing the vocabulary using tabularx and datatool. This is what I have tried: \documentclass{article} \usepackage{datatool,tabularx} ...
4
votes
1answer
64 views

\ifnumequal{\thepage} does not work for the first paragraph on a new page

I use this code to prevent hyperlinks if the target of the link is presented on the same page as the reference: \newcommand*{\myref}[1]{\ifnumequal{\thepage}{\getpagerefnumber{#1}}{\ref*{#1}} ...
0
votes
0answers
54 views

Hyperref endnotes used to create the author queries

I am using hyperref endnotes to create a two way inter linking marginal note and author queries. I am using a lot of environments like vbox and hbox, tables, figure, equations, Box, multicol. But ...
3
votes
2answers
59 views

Tex does not compile when jointly using longtable, appendix, hyperref, and babel (spanish). Error: “! Argument of \@let@token has an extra }”

I have a problem with hyperref, longtable, appendix and babel (spanish) all together. TeX does not compile, with the following error: ! Argument of \@let@token has an extra }. <inserted text> ...
1
vote
0answers
77 views

Hyperref in verbose citestyle (Biber) not working

I am using hyperref and Biber's verbose citestyle for the bibliography of my Ph.D thesis. However, the hyperrefs for the bibliography does not seem to be working. Here is my set up : % !TEX encoding ...
5
votes
1answer
67 views

Hyperref chapter link anchors in two column mode

I am using the hyperref package to generate bookmarks and links for the table of contents. However, when rendering documents in two column mode the chapter link anchors are placed below the actual ...
1
vote
0answers
39 views

wrong links to page numbers in bibliography

The latex document (Thesis) has two set of page counting; roman for title page, TOC etc; and numeric page numbers starting from first page of first chapter. But this is causing wrong reference to ...
5
votes
1answer
60 views

tcolorbox autoreference

According to the answer posted by Thomas F. Sturm in this thread: http://tex.stackexchange.com/a/180000/62477 the next MWE should be able to use the autoreferencing name 'Voorbeeld' to my ...
7
votes
1answer
63 views

Automatically link identifiers in a code listing

I have some code listings (using the listings environment or the lstinline macro from the listings package) where I'd like to link all the identifiers defined in the present document to their ...
4
votes
2answers
132 views

Error when writing the chapter number fifteen of the appendices (the letter ñ in the Spanish alphabet), when using the babel package spanish

I am currently doing a very long document in LaTeX (my thesis), and the structure of the document I'm writing the number Appendix fifteen, but as we know in Spanish the number letter fifteen is the ñ, ...
4
votes
1answer
57 views

Bold only \gls, not \glsdesc

How can I set \gls glossaries entries as bold, but not \glsdesc definitions? % arara: pdflatex % arara: makeglossaries % arara: pdflatex \documentclass{article} ...
5
votes
1answer
114 views

changing box color in hyperref

I wish to change the color of boxed links to red. But the code below still produces cyan links. What am I doing wrong? \documentclass{article} \usepackage{xcolor} \usepackage{hyperref} \hypersetup{% ...
8
votes
2answers
112 views

Why does hyperref complain about “token not allowed in a PDF string” in my glossary when I've set the default language?

I have a glossary defined with the glossaries package, and I use the hyperref package to control aspects of the generated PDF file. When I set the document's language with polygossia's ...
5
votes
1answer
108 views

Hide content to show later

My question appeared about this egreg's answer: http://tex.stackexchange.com/a/210564/15256 I have a list of exercise-answers but I don't want to show the answers immediately but after till I'll pull ...
1
vote
1answer
104 views

Linking to a place further forward

I know how to make a link to an URL or to a place further backward in a LaTeX document using the hyperref package. However, if I wish to redirect readers to a place further forward in the document, I ...
0
votes
1answer
107 views

Links in pdf not working?

None of the links I create work in the sense that they're not clickable. The preamble is this. \documentclass[a4paper,12pt,twoside]{article} ...
0
votes
0answers
8 views

Latex - Miktex cross references linking back to ref point [duplicate]

Using pdftex i can cross ref to a label say \ref{label1} for example. Clickin on it in the .pdf document you 'll be linked to the label. I'd like there to be a "back reference link" to the point that ...
6
votes
1answer
69 views

Getting an optional title with nameref and xparse

Suppose I defined an environment with an optional argument (using xparse) as in \documentclass{article} \usepackage{hyperref,xparse} \newcounter{exercisecounter} \stepcounter{exercisecounter} ...
3
votes
1answer
67 views

How to specify bookmark and TOC title separately

I customize a dash symbol \newcommand{\shortdash}{\rule[.7ex]{0.5em}{0.5pt}} to minimize the space around when typesetting in non-english situation. When I used it in \section, it works in text and ...
1
vote
1answer
31 views

hyperref with breaklinks option + hypdvips give unexpected output

Consider the following example: \documentclass[a4paper,12pt]{article} \usepackage[hmargin=2.4cm]{geometry} % to get margins which create a line break within the link ...
3
votes
1answer
68 views

links to theorem-environments take me to first page

I'm currently creating a big document in multiple TeX-files and used dozens of links to parts I put into theorem-environments. However, only some of the links do not work, they take me to the first ...
1
vote
1answer
22 views

Put \ref{} within \aaalphanum

I'm trying to ref a label using \ref and output an alphabetical letter (e.g. 'A') rather than the number (e.g. 1). I have read somewhere to use \AAAlphanum{\ref{my_label}} but this command fails ...
5
votes
2answers
83 views

Issues with using \nameref (hyperref) and \mdtheorem (mdframed) together

When using the \mdtheorem command (from mdframed) with \nameref (from hyperref), it seems that labels applied to an theorem made using \mdtheorem will not appropriately take the title given to the ...