Tagged Questions

{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

4
votes
1answer
102 views

Different colours in hyperref

When using the option colorlinks with the hyperref package , I get the output as shown : Now, How do I add a hyperlink to the page number also and add a different color say blue to it.
2
votes
1answer
105 views

Tikz' sloped text with refs has non sloped link boxes

I use the sloped option to place slanted nodes along arrows in tikz. Now if that text contains clickable references with the hyperref package, they are not sloped. The text and the link are not ...
2
votes
1answer
53 views

Making clickable links to sections with hyperref

I would like to make a word of text, that when clicked upon in the pdf file takes me to some section. I'm using the hyperref package. I rejected \nameref because it produces the section title and I ...
3
votes
1answer
48 views

hyperlink on equation number

I would like to link an equation to a sentence at the end of the document (e.g. code below) but placing the hyperlink on the equation number and not on the equation itself? Is it possible? THanks for ...
0
votes
0answers
32 views

How to display text of reference [duplicate]

If I put \usepackage{hyperref} % ... % \begin{align} Label \label{lab:one} \end{align} Reference: \ref{lab:one} I get a hyperlink to my label (puts "Reference: 1" with a clickable 1). Instead, ...
10
votes
3answers
296 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 ...
5
votes
1answer
116 views

Change autoref name of items of a specific list

In my document I have a customized list subtasks type (using enumitem) to insert subtasks. I would like to reference them using \autoref. However, since these are lists, \autoref inserts the word ...
1
vote
0answers
47 views

Hyperref and custom caption in float environment link wrong

I have a custom caption style. If i add a reference to a float the link points to the caption which is below the floats content, but it should point to the top. I probably forgot to set a ref line or ...
6
votes
3answers
121 views

Using \autoref with tcolorbox

Is there a way to refer to a tcolorbox created theorem (created with \newtcbtheorem) using hyperref's \autoref? I've tried to set \<name>autorefname, as I would have done it for a theorem ...
2
votes
1answer
48 views

How tell hyperref to insert a “target” in the resulting \href

I am using the hyperref package to insert links to websites in my documents. The Adobe reader opens a new tab for each link in the PDF, and that is what I want. Next I want to get the same behavior ...
4
votes
1answer
219 views

removing underline from journal title when using hyperref

When I am using hyperref, the package puts underline to the journal title in my references. How can I get rid of this underline? A similar question is asked here: Turning underlines OFF in hyperref ...
5
votes
1answer
59 views

No hyperlink for server name part of multi email text

I am trying to have something like {name1, name2}@server.com where name1 and name2 have hyperlinks of name1@server.com and name2@server.com. This is my code: \usepackage{hyperref} ...
2
votes
2answers
86 views

\textbf{} not working inside Breakurl \burlalt

Below is my code, \documentclass{article} \usepackage[breaklinks]{hyperref} \usepackage{breakurl} \usepackage{url} \hypersetup{ pdfpagemode=none,% colorlinks,% citecolor=blue,% filecolor=blue,% ...
3
votes
1answer
70 views

Disable `colorlinks` locally (or just for the ToC)

Basically, I want to disable the colorlinks option (from the hyperref package) for the ToC, but keep it enabled for the rest of a (memoir) document. This question has a workaround based on issuing ...
1
vote
1answer
91 views

Break Hyper Link not working

Below is my code, \documentclass{article} \usepackage[breaklinks]{hyperref} \hypersetup{ pdfpagemode=none,% colorlinks,% citecolor=blue,% filecolor=blue,% linkcolor=blue,% urlcolor=blue } ...
0
votes
1answer
65 views

Why doesn't latex recognize my figure

I've got a figure, which is displayed fine: \begin{figure}[htbp] \centering \begin{subfigure}[b]{0.48\textwidth} \includegraphics[width=\textwidth]{xp_potato.eps} ...
2
votes
0answers
58 views

hyperref + subequations warnings

This is a follow up question to How to hide known warnings? Recently I decide to stop ignoring LaTeX warnings :), and start trying to discover what's behind them and how to avoid them in future ...
4
votes
1answer
76 views

pgfplots externalize with hyperref

I'm using pgfplots with externalize because my document has a lot of plots which causes problems with memory limitation in LaTeX. In one of my plots I have a reference to an equation. In the file ...
3
votes
1answer
151 views

Hyperref package is causing error message

I am trying to typeset my document, but the including the hyperref package gives me the following error: The required file tex\latex\url\url.sty is missing. Now my problem can probably be ...
6
votes
1answer
171 views

PDF Bookmarks appear correctly but don't link anywhere

I want to use PDF bookmarks with LaTeX->PS->PDF (with MiKTeX 2.9 on Windows 8.1 with DviPs and Ghostscript). The bookmarks appear correctly in the PDF, but clicking them does nothing. If I use ...
4
votes
2answers
84 views

Manual citation formatting

First off: I don't want to use bibtex for this; I want to typeset my bibliography myself. Looking at the source2e.pdf document I found out about redefining \@cite and \@biblabel, and got my citation ...
1
vote
1answer
80 views

Bookmark tables and figures

I'm trying to generate bookmarks for all Tables and Figures in a document using the code below. However, with this code, the Table 1 bookmark points to Figure 1 and the Figure 2 bookmark points to ...
0
votes
1answer
106 views

How to print URL typed using \href command

When I print document that contain \href{url}{title} I get title. Is it possible to print the url also but when viewing the document the URL is not shown. If yes how to do it? Try to print this : ...
6
votes
1answer
122 views

How to change the color of the short version of the acronym in the list of acronym

I use the Acronym package. In the printed list of acronym (usually put at the beginning of the document) there is the short version of the acronym (in bold font) and after the full name of the acronym ...
8
votes
1answer
161 views

Bookmark with a link to open the attachments pane

Is it possible to have a bookmark with a link to open the attachments pane? If you carefully read hyperref packege you'll see that the \Acrobatmenu alows you to have links that enables you to open and ...
3
votes
1answer
68 views

Hyperref, cleveref and algpseudocode same identifier warning

I get the warning pdfTeX warning (ext4): destination with the same identifier (name{ALG@line.2}) has been already used, duplicate ignored with the MWE down below. \documentclass{article} ...
1
vote
1answer
94 views

\autoref showing subsection and subsubsection

I'm using the \autoref command from the hyperref package. I have the following code: \subsection{Foo} \label{ssec:bar} This is the overview. \subsubsection{Bar} \label{sssec:bar} This is the small ...
1
vote
1answer
39 views

Open in a new window when using raw action

I'm wondering how to open in a new window an attached file when clicking on a bookmark. The code below links a bookmark to an attached file in the PDF file. But upon cliking it, the attached file is ...
3
votes
1answer
47 views

How to escape | character in \index?

While | is the encap character for makeindex, then if I want to use | in \index, e.g. \index{$|F|$}, how to escape it? When I escape it with double quote, i.e. \index{$"|F"|$}, and use hyperref, the ...
1
vote
1answer
89 views

Set the highlight style of a link to “none” instead of “invert”

I've read all documentation possible regarding hyperref but I still don't know how to set the highlight style of a link to "none" instead of "invert" (which is the default by the way). Is there any ...
6
votes
1answer
95 views

xymatrix is broken when inside section

If I use xymatrix inside of a section command, it doesn't compile. Example: \documentclass{article} \usepackage[all,cmtip]{xy} \begin{document} \section{$\xymatrix{A\ar[r]&B}$} \end{document} ...
2
votes
2answers
81 views

How to add dot after \section number in headline and ToC, without adding dot to \ref command

I need \section (\subsection, \subsubsection ...) titles printed with dot after numbering. Example: My Title For this purpose i use: \renewcommand\thesection{\normalfont \arabic{section}.} ...
0
votes
1answer
49 views

pagebackref showing an error in article preparation

I am getting an error while using pagebackref=true. When I dont use pagebackref=true, the program works as expected. This is Central European Journal of Computer Science article. Is there any other ...
4
votes
1answer
166 views

LaTeX glossary reference problem

In my master thesis, I use the glossaries package to keep track of all my abbreviations and symbols. To differ between the two, I made two different glossaries. One using the standard abbreviation ...
5
votes
1answer
69 views

Multiple footnotes within a mdframed to refer to the same text

I am using an mdframed to a display large list of items. In this this list, there is one exception that a few of the items have, and I am trying to make a note of this via a footnote. The text of the ...
0
votes
0answers
79 views

Image link clickable in non-white areas (excluding the background)

Consider image sample below. I'm including it using \includegraphics and I have linked it to an url using \href. What I would like is to have it in the pdf file in such a way that the mouse would ...
5
votes
1answer
97 views

Constant height and depth of hyperref link boxes

For boxes around links which the hyperref package creates, their height/depth seems to be dependent on the maximum height and depth not of letters of the enclosed material (see top example pair below) ...
4
votes
1answer
42 views

Problem with \% in PDF bookmark under XeLaTeX

A MWE is: % !TeX program = XeLaTeX \documentclass{article} \usepackage{hyperref} \begin{document} \section{\^e\%} \section{20\%} \end{document} It can work fine under pdfLaTeX and LuaLaTeX. But ...
1
vote
2answers
101 views

\citefield link to bibliography (hyperref & backref)

I would like to know if there is a way to get links and backref links on a \citefield command. For example, I want to cite only the title of a reference: \citefield{ref}{title} or any other field, ...
5
votes
0answers
62 views

eforms vs hyperref

I need to create fillable pdf files. In first time I need just to add combox that contains Yes/No in a column of a table. I have looked questions here and I found this : Creating fillable PDFs How ...
8
votes
2answers
284 views

How can I programmatically populate a PDF's pdfcreator field?

As I understand it, embedding (as metadata) the typesetting engine that was used to produce a PDF document is good practice. Here is an example of how this can be done using the hyperref package: ...
2
votes
1answer
76 views

Prefix “Figure” and giving reference to figures

Is it possible to adjust the font size of the prefix Figure when captioning an included image? Furthermore, is it possible to refer to a picture in a meaningful way without using a caption; I tried ...
3
votes
2answers
87 views

How to have an URL in PDF bookmark

I'm interested in having a PDF bookmark pointing to an attached file in the PDF. At least I know it is possible to have bookmarks pointing to an URL. See for instance the hyperref manual. You can see ...
3
votes
1answer
125 views

What do the first two numbers in the pdfborder option of hyperref do?

for example,\hypersetup{colorlinks=false,frenchlinks=true,pdfborder={0 0 2}} makes the border 2 pixels, but what do the first two numbers do? I tried several values, but could see no difference.
2
votes
1answer
78 views

Height of a tabular cell & bounding boxes

Is it possible to calculate the height of a tabular cell to be reused as a value for vertical offset of the bounding box, similarly to how Hy@raisedlink takes you one line above of where the actual ...
3
votes
1answer
78 views

Contents and Detailed Table of Contents without repetetion and indent

This question has two parts. Part 1 First, I'm interested to create two TOCs, with a reference in the first shorter TOC the longer and more detailed TOC. Without the reference appearing in the ...
4
votes
1answer
33 views

Hyperref - borders arounds (name)ref and no borders around cites and ToC entries

Both cites and references should be clickable. I want to have visible borders around the links (refs and namerefs) and no borders around citations (cites). Yet, there shouldn't be any borders in ToC. ...
4
votes
1answer
45 views

\ref{} does not work under certain circumstances

So I know that the problem is at \setcounter{secnumdepth}{0} But I don't know if there is a fix to this (without deleting this line, since I don't want numbered sections), since the link in ...
3
votes
0answers
82 views

Link to Appendix (from anywhere in the document) goes to the wrong place.

I have several chapters and several appendices. I am using the hyperref package, and everything is numbered (all the chapters, appendices, etc...) My appendices also have sections within them and I ...
2
votes
1answer
58 views

Creating PDF bookmarks when the highest level is below section [duplicate]

I'm producing a small document where only unnumbered subsections and levels below are used, and would like PDF bookmarks to be created for them. I tried hyperref and bookmark packages and did not ...