{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

14
votes
1answer
436 views

Make backrefs invisible in hardcopy

Is there a way to make bibliography back-references display and hyperlink in a PDF file but not print in a hard copy. When I use \usepackage[colorlinks=false,backref=page]{hyperref} I get a red ...
14
votes
1answer
2k views

How to turn on/off certain types (e.g. citation, url, file) of hyperref links?

The hyperref manual doesn't seem to document a way of turning different types of links (citation, url, cross-reference, file, ToC, footnote) on/off independently. One possible scenario would be to ...
13
votes
2answers
6k views

Autoref's inserted text has not the correct case

I'm using the \autoref tag which comes with the package hyperref for referencing my algorithms, figures etc. I read that it automatically adjusts the reference text's case, but it won't work with my ...
13
votes
2answers
13k views

Option Clash for Hyperref Package

Hi friends i am beginner to Latex. when i run this code i am getting the error "! LaTeX Error: Option clash for package hyperref." Here is the code: \documentclass[11pt,a4paper]{moderncv} ...
13
votes
2answers
1k views

biblatex-apa and hyperref: right parenthesis not part of link for \textcite

I use biblatex-apa citation style. I also use hyperref with colour links, rather than ugly coloured boxes. When I use \textcite the author name and year are both part of the link, but the right ...
13
votes
2answers
6k views

Hyperref + \url: long URL with dashes won't break

I've discovered a rather weird behaviour of PdfLaTeX. In this example \documentclass{article} \usepackage[breaklinks]{hyperref} \begin{document} ...
13
votes
2answers
4k views

How to return to original .pdf presentation after open a .pdf linked file?

I'm preparing a beamer presentation and I'm using hyperlinks for the first time; When I do something like: \href{name_file_to_open.pdf}{here I put a link to a figure which is working well} It works ...
13
votes
1answer
4k views

Formatting back references in bibliography

I would like to change the way the back references are shown in the bibliography, such that they are all shown within parentheses. So I would like to see (page x, y, z) after my bibitems. This ...
13
votes
1answer
743 views

Getting cleveref to mark all of “Lemma 1” as a hyperlink, not just “1”

I recently discovered the very nice cleveref package, and really like. Works much better than autoref (from hyperref) for me. There is only one thing I don't like: If, for example, the \cref command ...
13
votes
2answers
532 views

\#\#\#\# becomes “##” in printout

I want to refer to a url using "####" as a stand-in for the many four digit codes which could take it's place. But this ... \documentclass{scrartcl} \usepackage{url} \usepackage{hyperref} ...
13
votes
1answer
3k views

Difference between bookmark levels greater than one - what does this mean?

When compiling my LaTeX file, I received this warning message. Though I got the PDF file, I still want to know why this warning comes and how to fix it. It occurs in this line. \paragraph{Plane ...
13
votes
3answers
323 views

Gobbling an argument if it starts with #

My problem comes from pandoc and markdown, but it is not directly related with these tools, but instead with "customizing" the resulting pdf via some tex macro programming, so I think it is on topic. ...
13
votes
1answer
404 views

highlights path sequentially BUT in order of clicking

I have been looking for a possibly difficult answer to a simple question. I would like to be able to highlight paths on a TikZ picture. I would like to highlight these paths by clicking on them and at ...
13
votes
3answers
2k views

How to change the PDF producer metadata with XeLaTeX on MikTeX

I tried to change the PDF Producer of the generated PDF file with XeLaTeX, but it always be "MikTeX-xdvipdfmx (0.7.8)", if the PDF is generated with pdflatex, it will change as I wish, does anybody ...
13
votes
1answer
4k views

Precise back-reference target with hyperref and backref

The backref option and its variants in the hyperref package allow to include back-references in the bibliography to the page(s) or section(s) in which a given reference was cited. The target of the ...
13
votes
1answer
259 views

Box around raggedright links spanning two lines extends to right margin

I need to use boxed links and ragged right text. The problem is that when a link spans two lines, though the link is broken correctly (when using pdflatex) the box around the linked text extends until ...
12
votes
4answers
584 views

Set chapters at section level in the table of contents

I have: \chapter{My first chapter} \chapter{My second chapter} \phantomsection \addcontentsline{toc}{chapter}{Appendixes} \appendix \makeatletter \def\toclevel@chapter{1}\def\toclevel@section{2} ...
12
votes
2answers
350 views

LuaLaTeX and hyperref ate my document (properties). How do I get them back?

I use hyperref for a number of reasons, but among other things it sets up the document properties up well. As long as I compile with XeLaTeX that is. As soon as I compile with LuaLaTeX, everything is ...
12
votes
1answer
626 views

What is a nice design/implementation for “back to the top”?

I want the reader of output of a PDFLaTeX be able to go back to the table of content or first page. What is a good way of doing this? Most PDF readers provide a TOC and navigation system but I was ...
12
votes
2answers
1k views

Biblatex, authoryear-comp, and hyperlinks

In answer to this question, Audrey offered an answer that works great with the authoryear option. (Context: I'm trying to get the hyperlink in citations to include the name of the author, and not ...
12
votes
4answers
957 views

Thumbnails of other frames in beamer

I would like to make a presentation with beamer, and have a few frames (at the start or the end) containing thumbnails of the other frames, hyperlinked to them, with something like 4x3 or 5x4 ...
12
votes
2answers
253 views

How to change the PDFBookmark titles (hyperref)

I am looking to change the title which displays in the PDF bookmark tabs to match the format of how I have my chapters listed. \documentclass[]{report} \usepackage[hidelinks]{hyperref} %to add ...
12
votes
2answers
3k views

Hyperref: Changing the linkcolor locally in the TOC

I found that the link-color for TOC text is identical to the link-color for Figures and Tables. When I change the color to black in the TOC also the color for Figures/Tables citation etc. is changed. ...
12
votes
2answers
199 views

Create a register of persons with references

To Create a register of persons with biblatex seems to be much more complicate then i expected. How can i create nice a register of persons semiautomatic with \ref? Lets assume i have 20 persons ...
12
votes
1answer
485 views

hyperlinking author names in biblatex when using \citeauthor

Using biblatex, the \citeauthor no longer is hyperlinked by default (as done in natbib). I am currently desperately looking for a way to make it a hyperlink ... any suggestion welcome
12
votes
1answer
573 views

Lost labels using intertext with varioref and hyperref

I have a problem using \intertext together with \vref when hyperref is also used. Consider the following minimal example: \documentclass{article} \usepackage{amsmath, varioref} ...
12
votes
1answer
1k views

How to force hyperref to reference only \cite and not \citeauthor or \citeyear?

I would like hyperref to make links only when I use \cite and not with \citeyear and \citeauthor. Here is an example : \documentclass{article} \usepackage[numbers]{natbib} \usepackage{hyperref} ...
12
votes
1answer
1k views

hyperref: pdftitle and wrong character encoding [duplicate]

Possible Duplicate: Using non ASCII characters in author names and titles within hyperref pdfinfo \documentclass[12pt,a4paper]{mwrep} \usepackage{polski} \usepackage[utf8]{inputenc} ...
12
votes
3answers
574 views

Enumerate after \label

I have the following code: \usepackage{hyperref} \newtheorem{thm}{Theorem} \begin{thm} \label{mythm} \begin{enumerate} \item \end{enumerate} \end{thm} \ref{mythm} The ref prints the ...
12
votes
1answer
423 views

Change format of hyperref generated PDF bookmarks

In a generic way, how can I change the format of bookmarks generated automatically by hyperref (or bookmark)? By generic, I mean the ability the customize the bookmark format for part, chapter, ...
12
votes
1answer
2k views

List section in pdf bookmarks, but omit in LaTeX table of contents

Normally (under pdflatex with hyperref) a section added with \section will appear in both the LaTeX table of contents, and the pdf metadata; while a \section* will be omitted from both. Is it ...
12
votes
1answer
915 views

Creating a new environment with referencing

I'm trying to create a referenceable "system" environment that basically displays an equation with a custom counter. Then I want to reference the environment with autoref, so as to have "System (S1)" ...
12
votes
2answers
613 views

Best way to part answers from solutions?

Now, if anyone could change the title into something better that would be great =) I am writing a rather long document, which contains plenty of integrals. I have a big list of integrals sorted in a ...
12
votes
2answers
1k views

Beamer ignores citecolor from hyperref

How do I make citation links green in Beamer? It seems that Beamer ignores the hyperref option citecolor. I tried using the linkcolor option instead, but that affects all links (such as the link to ...
12
votes
3answers
287 views

Test the hyperlinks of a pdf document [closed]

Is there any way to test the hyperlinks of a pdf file ? Suppose I have a pdf file containing a large number of hyperlinks, can I test automatically the response I will have when following those links ...
12
votes
3answers
3k views

How to enforce generation of PDF table of contents?

When I'm adding \tableofcontents to my document the PDF generated contains a nice list of sections/subsections on the left side, when viewed in Adobe Acrobat (I also use hyperref package). Everything ...
11
votes
3answers
418 views

Why does hyperref overrule so many things?

One very usefull package is the hyperref-package. However a lot of times this package interferes with other packages or structures within a LaTeX document. So what is it about hyperref that makes it ...
11
votes
3answers
978 views

Which package should I load first: hyperref or bookmark?

I came to this question after looking for a way to explicitly end a \part (as described in this question: ...
11
votes
3answers
617 views

Math in table of contents, bookmarks and heading

I would like to obtain the following: the title of a section occurs in the text as Math symbols $\boldsymbol{\sum, \int}$, in the table of contents it is Math symbols $\sum, \int$ (without bold), in ...
11
votes
2answers
269 views

hyperref causes problem with doc.sty

Try the following code. Without hyperref everything is fine and there’s the right entry in the index. With hyperref this entry disappears. (The codeline entries which are not shown here ar not touched ...
11
votes
2answers
612 views

Type '{' '}' in url

I would like to type brace symbol inside a URL using the url or hyperref package. Is there a way to do that ? (the idea is to typeset REST-like URL, as for example, http://foo.bar/orders{orderID}
11
votes
2answers
8k views

Link formatting: colors, underlines in moderncv

Following the excellent advice in this site, I have started using moderncv for writing the new version of my CV. Unfortunately, after converting to PDF, my http links work (clicking on them leads to ...
11
votes
2answers
478 views

using \nameref only if there is a name

I am referencing some sections (actually those will be custom defined in the end) by number, type and name. But it happens that there is no name. So I want to leave it out. How can I test for that? A ...
11
votes
3answers
2k views

Symbol for external links

I'm using the hyperref package in my document to provide hyperlinks to external documents. However, I don't want to have the links coloured or underlined, because I find this usually ugly and ...
11
votes
1answer
804 views

Hide subsubsections in toc, but show in PDF

I am hiding subsubsections in my TOC because they got too many. But I would like them to show up in the navigation when viewing the document as PDF anyway. Is there any way to do this, and how? ...
11
votes
3answers
3k views

How to get correct autoref for theorems

I have some own theorem environments. And my theorems are numbered like the chapter. Now I would like to use autoref with that. But it does not work like it is described here ...
11
votes
3answers
708 views

How to rotate hyperlink with text

How can I rotate the link of a text in a node. Here is my MWE: \documentclass{article} \usepackage{tikz} \usepackage{hyperref} \begin{document} \begin{tikzpicture} \node (rect) [rectangle, ...
11
votes
1answer
1k views

Embedding printer settings in pdf

I want to produce a pdf that includes settings for a predefined profile, like the the printing on both side of a piece of paper, is that possible? If a pdf does not provide this kind of feature, you ...
11
votes
3answers
117 views

Incorrect spacing after minus sign with combination of amsmath and hyperref

When no packages are loaded, no space is inserted after the minus sign of a negative number: \documentclass{article} \begin{document} \begin{equation} -1 = -1 % output: -1 = -1 \end{equation} ...
11
votes
1answer
580 views

How to label a word inside a paragraph?

The idea is to place \LBL{some_label_name} in a paragraph so that I can refer back to the particular point inside that paragraph where the \LBL was placed. I would like to define the macro for \LBL. ...