{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

0
votes
0answers
9 views

Coloring citations in the text

(possible duplicate) hi, i try to color my citations using hyperref package. here is my preamble: \usepackage{geometry} \usepackage{setspace,scrextend,sectsty,microtype,endnotes,xcolor} ...
4
votes
1answer
31 views

How to use \nameref on a element of a tocloft custom list?

I am using the tocloft package to create a new list "question" and I would like to use \nameref (from the \hyperref package) to manually list questions (not using \listofquestion) at some point in my ...
1
vote
2answers
48 views

How can I manually create a hidden bookmark (PDF anchor)?

I would like to create invisible bookmarks/anchor points in my PDF. I want something like \pdfbookmark but with an invisible parameter. Does this exist? After experiments and reading, I determined ...
5
votes
5answers
147 views

How to style href's (underlined and coloured) throughout the document

Let's take the following MWE: \documentclass{article} \usepackage{hyperref,xcolor} \begin{document} \href{http://any-URL}{\color{blue}{\underline{Some URL}}} \end{document} Let's assume I would ...
2
votes
2answers
125 views

How to be able to use the number sign (#) in the URL of an underlined href

This question is very brief: how to be able to use the number sign (#) in the URL of an underlined href? \documentclass{article} \usepackage{hyperref} \begin{document} 1 (without \#, link, ...
1
vote
1answer
59 views

directed to middle of page instead of start

I'd like to include some pdfs in my file and make a table of contents with hyperlinks to the individual pages. I almost got it to work with \phantomsection and \addcontentsline however if i click the ...
4
votes
1answer
68 views

Why does \usepackage{amsmath} break \hyperref in \textnormal?

In the following sample, the second link isn't hyperlinked: \documentclass{article} \usepackage{amsmath} % Removing this makes the second link work \usepackage{hyperref} \begin{document} ...
5
votes
1answer
49 views

pdfTeX warning (ext4): destination with the same identifier (name{choice.1}) has been already used, duplicate ignored

when compiling the following document: \documentclass[11pt]{exam} \usepackage{amsmath,amsbsy,amssymb,amsthm,cases,blkarray,mathrsfs,amsrefs,amsfonts,latexsym} ...
4
votes
1answer
47 views

Hyperref referring to the wrong label

I have this code in LaTeX and I am dealing with some dynamic work with labels and references. This code works - first reference references to the first text and second to the second but I want to ...
1
vote
0answers
30 views

how make a windows link to directory that contains a % (href)

I've been trying to make a link to this directory href{%AppData%\Microsoft\Windows\Start}{Start Items} But everything following % is considered to be a comment. Is it possible to make it work? ...
1
vote
0answers
40 views

Hyperref and description environment

I am trying to put an hyperref command inside an item name in the description environment. The following MWE works as expected (this is what I am trying to achieve!): \documentclass{article} ...
0
votes
0answers
7 views

pdfTeX warning (ext4): destination with the same identifier (name{choice.1}) has been already used, duplicate ignored [duplicate]

when compiling the following document: \documentclass[11pt]{exam} \usepackage{amsmath,amsbsy,amssymb,amsthm,cases,blkarray,mathrsfs,amsrefs,amsfonts,latexsym} ...
0
votes
1answer
23 views

Raising the hypertarget of chapter labels

When using twocolumn mode, it is a known issue that references to chapter headings point to the baseline rather than the chapter heading. In a previous question, I asked how to fix this for the ...
2
votes
1answer
37 views

How to make labels remember chapters?

I am using the amsbook package and the hyperref package. When say a definition is stated in Chapter 9, Section 3, Subsection 2, it is called "Definition 3.2", and when the hyperref package is used, it ...
3
votes
2answers
41 views

PDF plain text for a macro with a starred version

I'm typesetting a document with PDFLaTeX. In some section titles, I use a macro which has a starred version. In the PDF index (the table of contents that PDF viewers typically show in a side pane), I ...
2
votes
1answer
25 views

How to Use Fillable Checkboxes from Hyperref with Lists

I would like to create a fillable PDF form with a list of items that each have a checkbox to its left. It would look similar to this: \documentclass[11pt, letterpaper]{article} ...
2
votes
1answer
23 views

\autoref from hyperref not showing correct theorem label

I am writing some lecture notes for a course on overleaf. \documentclass[a4paper,11pt,openany]{book} \usepackage[utf8]{inputenc} \usepackage{amsmath,amssymb,amsthm} ...
1
vote
2answers
21 views

Problem with cross-referencing using hypertarget

I have some problems related to the application of an answer that I received to a previous question of mine, that can be found here. Below there is a MWE, where I used \clearpageextensively, because ...
0
votes
0answers
9 views

Anchor position for the `hyperref` links to `subfig` subfloats

The package caption together with hyperref allows to make links to figures point to their top instead of to their caption. What about links to subfloats when using the package subfig? I'm using this ...
1
vote
0answers
12 views

Lyx cannot generate hyperlinks as references

This question is related to this one. I have a bibtex file containing a number of references some of which are only links to a number of domains. The entries in the .bib file are of the form: ...
1
vote
0answers
33 views

Package hyperref causes a blank page to be added before a section starting with a large image

When I try to have a section start with a large image, an extra page is added before the start of the section. I tracked down the problem to the hyperref package; when it is not loaded the extra page ...
2
votes
1answer
23 views

MakeIndex fails to locate some index items

I use makeidx package to create an index, but some index items fail to be located in the right pages. For example, an index in 1st page of body text will be located to the cover after clicking the ...
2
votes
1answer
33 views

Create PDF bookmarks automatically with ntheorem

Is it possible to automatically create PDF bookmarks with ntheorem's headers? Example: \documentclass[a4paper]{scrartcl} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
1
vote
0answers
18 views

How to use \hyperref to change font color of citation? [duplicate]

When I use hyperref with natbib, it creates a boxed link to my bibliography. Is there any way to not create the box but show the cited paper with a different color instead. For example,
0
votes
0answers
15 views

How to Hyperlink Image in Table to go to a WEBSITE? [duplicate]

I would like to know how to hyperlink an Image to go to a WEBSITE? Not how to go to another section.
1
vote
1answer
23 views

hyperref and theorems counted by subsection- “pdftex warning (ext4) destination with same identifier”

I have got some problems with hyperref and theorems labeled by subsections: To get the theorems labeled correctly I manually reset the thm counter also at the beginning of new sections. But then I ...
2
votes
1answer
41 views

References to figures has bad hyperlinks

In my LaTeX document I have some figures. They are automatically numbered using the chapters they are within, for example. Fig 1.1, Fig 2.3 etc. I am using mwart document class. My problem is that the ...
1
vote
0answers
14 views

bibentry vs. pagebackref option of hyperref within bibtex

There's a clash using the following minimal example with pdflatex and bibtex \documentclass{article} \usepackage{bibentry} \usepackage[pagebackref=true]{hyperref} \nobibliography* \begin{document} ...
0
votes
1answer
44 views

Specify Color for autoref Without Affecting Other Document Links

I am creating a document to be used by people not familiar with TeX. I am using the autoref command throughout the document to refer to tables, figures, etc. I would like to clearly signal to my ...
1
vote
1answer
31 views

hyperref, titletoc and \appendix

I provide here a MWE: \documentclass{article} \usepackage{titletoc} \usepackage[colorlinks=true ,urlcolor=blue ,anchorcolor=blue ,citecolor=blue ,filecolor=blue ,linkcolor=blue ,menucolor=blue ...
5
votes
1answer
12 views

Why does using achemso turn off bookmarks?

I like using sections as bookmarks when editing. However, when I use achemso it turns these off. MWE1 produces bookmarks properly. %\documentclass[journal=cgdefu]{achemso} \documentclass{article} ...
0
votes
0answers
28 views

Package hyperref Warning: Suppressing empty link

I am using SIGCHI Latex format at https://github.com/sigchi/Document-Formats However, when I tried to refer to a label We will discuss in Section \ref{my_label} ... \section{bla bla} ...
2
votes
1answer
32 views

\hyperref and modified \addcontentsline

I'm using hyperref (and titletoc) package(s). I redefined \appendix that way \newif\if@appendix\@appendixfalse \renewcommand\appendix{\par \setcounter{section}{0}% \setcounter{subsection}{0}% ...
0
votes
1answer
26 views

How to insert a linkedin logo to my document that also acts as a link to my profile [duplicate]

I would like to insert a linkedin logo to my document that also acts as a link to my profile. Here's my code \documentclass{article} \usepackage{hyperref} \usepackage[demo]{graphicx} ...
2
votes
1answer
19 views

Difference between \autoref and \autoref* (autoref star)

I know the difference between \ref and \autoref, yet I don't know the exact meaning of \autoref*. I think that I've read about it some time ago and that it has something to do with the link type in ...
3
votes
1answer
54 views

problem breaking URL when using tex4ht only

This problem only shows up when compiling to HTML. I have some long URL's and a URL with underscore do not break inside table when compiled to HTML as it does when compiled to PDF. I tried all the ...
3
votes
1answer
27 views

Slightly mispositioned hyperlink to start of tabularx environment

I'm writing a document where I have to put a lot of similar tables (and I have to keep them "similar"). So I'm writing some macros to generate and partially fill the tables automatically. (I generate ...
1
vote
0answers
28 views

Have the DOI be a link when using achemso?

Is it possible to make the DOI into a link with achemso, as it is with biblatex-chem? I'm going to assume no, or that would be done already, but thought I'd check. I know I'd have to turn that option ...
5
votes
2answers
39 views

\clist and hyperref

using package xparse I stored the author of a certain paper in a \clist in the following way \NewDocumentCommand\addauthor{m}{% \clist_put_right:Nn\l_allauthors{#1}% ...
2
votes
1answer
33 views

Using hyperref for a citation

I need to cite a reference with a custom text. However, I cannot make it work. Please see the following example. \documentclass{article} \usepackage{hyperref} \begin{document} See ...
0
votes
2answers
37 views

Option unicode and beamer with LuaLaTeX

In this MWE \PassOptionsToPackage{unicode=true}{hyperref} \documentclass[xcolor=svgnames]{beamer} \title { \color{red}Example Presentation Created with the Beamer Package } \author{Till Tantau} ...
3
votes
0answers
44 views

How to link Questions to Answers - Hyperlink and hypertarget - Multiple chapters

For a Question bank, which is a pdf-only CC edition, I defined hyperlinks and hypertargets as explained in Adding another answer hyperlinked to the question itself. To typeset more chapters as ...
0
votes
0answers
19 views

Wrong URL characters in Dissertate template?

When I try to add a link in a chapter of the Dissertate template (https://github.com/suchow/Dissertate), the displayed characters in the URL are wrong in the resulting pdf. Wherever I try to make a ...
2
votes
0answers
18 views

Clickable file links from in-text reference

I am currently using natbib to reference articles that I have in Mendeley. I have figured out how to get clickable links such that clicking on the in-text reference brings me to the actual reference ...
3
votes
1answer
43 views

Hyperlinks in rotated TikZ nodes?

I seem to have a problem with hyperreflinks in rotated TikZ nodes: This code \documentclass{article} \usepackage{hyperref} \usepackage{tikz} \begin{document} \section{Testsection\label{sec:test}} ...
1
vote
0answers
19 views

Hyperlink and text fail to wrap in a table

Here is the code: \usepackage{hyperref} \begin{tabular}{ |p{4cm}|p{4cm}|p{4cm}|} \hline \textbf{Table} & \textbf{Info} & \textbf{Link}\\ \hline \texttt{sampsamp\_samp\_samp.sampsamp} & ...
4
votes
1answer
41 views

Possibility to exclude coloring certain links using hyperref

I'm preparing a beamer presentation and there are certain links I do not want getting highlighted. I've tried setting colorlinks = false inside the hypersetup, but naturally that disables coloring ...
4
votes
1answer
62 views

Can I turn a TikZ path into a hyperlink?

I'm writing a presentation for the Shannon Switching Game. In this game, players take turns picking edges from a graph. For fun, I decided to try to include an example game in the presentation. The ...
1
vote
1answer
14 views

Changing content of \listoftheorems and hyperlinking to text

Here's my MWE: \documentclass{report} \usepackage{amsthm} \usepackage{libertine} % allows bf sc fonts http://tex.stackexchange.com/a/98581/104449 \usepackage{thmtools} \declaretheoremstyle[ ...
1
vote
1answer
18 views

hyperref/bookmark package: suppress/override a single bookmark

So I am using hyperref to generate pdf bookmarks but one of my section names uses greek letters, which disappears in the pdf bookmark. So I want to override that bookmark (and only that bookmark). ...