{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

12
votes
4answers
441 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
23k views

How to link an equation in LaTeX

I am wondering how I can link an equation in LaTeX, I mean when I click on the link then I'll be directed to that specific equation.
12
votes
1answer
14k views

How to change the color of \href links… for real

I would like web links generated by the \href command to be colored in my Beamer presentation. Passing the colorlinks option to hyperref leads to navigation links within the PDF receiving (default, ...
12
votes
2answers
3k views

Make PDF open in “Fill Window” mode with hyperref

When I usually open a PDF with Acrobat Reader it opens it in Fill Window mode (the page fills all the space of the window). When using the hyperref package it always opens the file in Full page mode ...
12
votes
1answer
458 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
3answers
899 views

Hyperref: Scandinavian characters (æø) don't work in \url, hyperlink is wrong

Background A while ago it became possible to use the letters æ, ø and å in URLs, and some websites, like the encyclopaedia Store Norske Leksikon, has made use of this. Recently, a question was ...
12
votes
2answers
156 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
694 views

Linking the section text to the TOC

I'd like the section headings in running text to link to their "line" in the Table of Contents so as to get "two-way" navigation, eg: a user looks in the Table of Contents for a section title, jumps ...
12
votes
2answers
183 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
2k 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 ...
12
votes
1answer
503 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 do I make an attached file display like a link?

I'm embedding an external file in my pdf with \usepackage{attachfile2} and\textattachfile[color=1 1 1]{description}{file.pdf}. How can I make the text look the same as it would if I had used the ...
12
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 ...
12
votes
3answers
503 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
316 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
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
663 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)" ...
11
votes
2answers
5k 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 ...
11
votes
2answers
255 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
409 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
1answer
3k 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 ...
11
votes
2answers
7k 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
4answers
818 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 ...
11
votes
1answer
559 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 ...
11
votes
1answer
1k views

Breaking links and escaping characters in bibliographies with backlinks and ocgcolorlinks set

I have the following situation: I have to use the ocgcolorlinks option in hyperref, so that links are not broken. So I had the idea to set each char as a link with \href. After putting some code ...
11
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 ...
11
votes
1answer
399 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. ...
11
votes
1answer
121 views

Can someone help me figure out what this code does?

The following code is from our universities thesis template, which is not very well documented, and as I'm the most skilled LaTeX user, and I'm a middling user at best, we don't know what a lot of the ...
11
votes
1answer
207 views

/ActualText in small cap hyperlinks

I'm using the frenchlinks option for hyperref, which due to solicitous care of XeLaTeX + Linux Libertine, gives bona fide small-caps links on the page. The problem is, when I cut and paste out of the ...
11
votes
1answer
345 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
11
votes
1answer
963 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} ...
11
votes
1answer
2k views

Reference plain text

Is there a way to reference just plain text with the \ref{} tag? I have a table with two columns. Each column has content which links to a different part below. The reference in the first column is ...
11
votes
3answers
3k views

Option to break urls with carriage-return symbol?

There are several ways to get long, uncooperative URLs to line-break in LaTeX. If you're using pdfLaTeX, then the hyperref package can break them across lines for you, roughly after any /. If you ...
11
votes
2answers
554 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 ...
11
votes
2answers
2k views

How to create a link in a pdf document to open a file using a specified application installed on the machine?

Assume I have a file on my machine at file:///c:\figure.bmp. From my pdf document, that is created by LaTeX using hyperref.sty, how can I open figure.bmp using mspaint.exe (microsoft built-in image ...
11
votes
3answers
3k views

\pdfendlink ended up in different nesting level than \pdfstartlink

I started using showkeys in one of my documents and see this error \pdfendlink ended up in different nesting level than \pdfstartlink A bit of google suggests that this "happens when hyperref is ...
11
votes
2answers
812 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 ...
11
votes
2answers
470 views

PDF bookmark going to the bottom of the previous page in case when caption header is on the top of a page

\documentclass[12pt,a4paper]{mwrep} \usepackage{lipsum} \usepackage[nodisplayskipstretch]{setspace} \setstretch{1.3} \usepackage[hidelinks,unicode,pdfencoding=auto]{hyperref} \usepackage[all]{hypcap} ...
11
votes
1answer
124 views

Page header becomes part of link when an \autoref hyperlink spans pages

I am using MikTeX 2.9 on Windows. I am using, among other packages, hyperref in my MASc thesis and I just noticed something strange. I have an \autoref to a table in a paragraph and the link spans ...
11
votes
3answers
2k views

Hyperlinks in CV (Resume)

I am trying to write a CV (Resume) and a cover letter in LaTeX. I wish to add hyperlinks so that I can provide easy access to more information on areas I talk about. However, I feel that it might look ...
11
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
1answer
1k views

What does “you have forgotten to use \caption” mean?

I'm stumped by an error I'm getting, when I try to render a Tufte-LaTeX document using hypcap and hyperref. For example, even a minimal document consisting of \documentclass[nohyper]{tufte-handout} ...
10
votes
3answers
551 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: ...
10
votes
3answers
216 views

How can I make subsections lose the section number within the section and gain the section number outside it?

For a paper I am typesetting, the author wants subsections to be written with single numerals. So far, OK, \renewcommand{\thesubsection}{\arabic{subsection}} does the job. Yet frequently, he ...
10
votes
2answers
597 views

Make hyperref's \autoref output in Bulgarian

I'm trying to use hyperref for references, but by default it outputs them in English like "chapter 2". According to Hyperref ignores \setdefaultlanguage from polyglossia, doing ...
10
votes
3answers
229 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 ...
10
votes
2answers
588 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}
10
votes
2answers
939 views

How to make a hyperlink cover the whole line in table of contents including the dots?

The linktoc=all option of hyperref package makes both the reference text and page number clickable hyperlinks. However, the dots are still not hyperlinks. This is not very important but I'm asking out ...
10
votes
2answers
191 views

How to avoid the “http:” part in hyperref's \url?

is it possible to use the \url command from the hyperref package with "shorthand" URLs, e.g. \url{ipython.org} instead of \url{http://ipython.org} ? It seems that the former would only link to ...
10
votes
2answers
1k views

How to use nameref to refer to a section without including the output of any commands in the title of that section?

Background (simplified) I'm using the todonotes package to add todonotes to sections in my documents. I have created a macro to add the todonotes to sections such that they appear alongside the ...