{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

1
vote
1answer
16 views

How to change hyper link from url to journal name?

I am using clean thesis and i want to change hyper link from url to journal name. Please suggest.
0
votes
0answers
15 views

How to use \citet in section title? [duplicate]

I am trying to use the \citet command in a section title, but the space after the reference and the first letter of the following word are cut off if I use the \texorpdfstring comand around the \citet ...
0
votes
1answer
20 views

Color only \nameref

I am using hyperref in conjunction with nameref and cleveref, and the objective is for \nameref{label} to be type-set in the link color (which it seems by default is red), but for \cref{label} to be ...
2
votes
1answer
18 views

LNCS class doesn't like \autoref

Consider the following document: \listfiles % for debugging \documentclass{llncs} \usepackage[colorlinks]{hyperref} \begin{document} \begin{theorem}\label{th}This is true.\end{theorem} See \autoref{...
5
votes
2answers
5k views

Change ref color of on the 'List of Figures'

In my 'List of Figures' Chapter the data is listed in red, and with a reference to appropriate part of the pdf file. I suppose this is due to \usepackage[colorlinks=true,linkcolor=red,citecolor=blue,...
12
votes
1answer
185 views

texlive 2016 hyperref/cleverref incompatibility

I almost always use ShareLaTeX for my LaTeX needs, but I recently began work on a relatively large document, and so I figured I would give a local TeX distribution a try to see if I could speed up the ...
0
votes
0answers
15 views

Theorem does not work after MikTeX update; no counter defined [duplicate]

The following stopped working after I updated MikTeX today: \documentclass{article} \usepackage{amsthm} \usepackage{hyperref} \usepackage{cleveref} \newtheorem{definition_}[equation]{...
0
votes
1answer
25 views

Math symbols in .pdf bookmarks tab don't displaying correctly

I am using the commands \usepackage{hyperref} \hypersetup{pdftex,colorlinks=true,allcolors=black} \usepackage{hypcap} to create clickable links in the index and references, and also to ...
2
votes
1answer
31 views

How do I use intersentence spacing in chapter/section names with hyperref?

I use Vim + vimtex + latexmk + xelatex. When using an acronym in a chapter name, Vim brings up this lint: Intersentence spacing (`\@') should perhaps be used. MWE: \documentclass{report} \...
7
votes
2answers
573 views

Modifying \autoref to behave (somewhat) like \vref

I would like to modify the \autoref command in the following way: if the \autoref command and the label are on the same page, it behaves like \autoref* (i.e., no hyperlink). Else, it behaves usually. ...
1
vote
0answers
30 views

hyperlink within caption to a figure

I'm getting an error message when I include a \hyperlink command inside the caption argument for a figure. It's a simple \hyperlink{<targetname>}{<text>} invocation. It produces two ...
0
votes
0answers
31 views

Clickable table of contents and non-clickable equation references?

I know that the hyperref package provides a clickable table of content and clickable equation references. How can I have clickable table of contents and non-clickable equation references ...
1
vote
1answer
74 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 ...
3
votes
1answer
27 views

Compile error with \href ToC and \apacite

I would like to edit my document but I have a compile error somewhere between the \href and the apacite but can't locate it. I've tried blocking out code and taking out references, with varying ...
1
vote
0answers
41 views

Tex Live 2016 bug: “! LaTeX Error: No counter 'd' defined.” [duplicate]

I have a file which compiles fine with TeX Live 2015, but which bugs on TeX Live 2016. When compiling with TeX Live 2016, (after I clean up all the non-source files) I get the following error: ! ...
2
votes
0answers
36 views

Change formatting of an element in ChoiceMenu

Is there anyway to change color in the \ChoiceMenu items such as Item 1, Item 2, etc.? Or even bolding individual choices would work... I tried \textbf{Item 1} and \color{blue}{Item 1} and they both ...
3
votes
2answers
71 views

Use \nameref to refer to unnumbered section but allow short titles

I'd like to refer to an unnumbered \section* which in general just makes sense in combination with \nameref. However I'd like to define a short title for the section I can refer to, but \section[...
2
votes
1answer
65 views

Recovering red box for hyperlink [closed]

Somehow I managed to accidentally remove the red boxes surrounding hyperlink. All I am doing is \usepackage{hyperref}. How do I recover the boxes? I realize this is a bit of an ironic question ...
4
votes
2answers
33 views

Referencing named tcbtheorems

My objective is exactly the same as in this question, however, I would like to achieve this same effect with \newtcbtheorem from the tcolorbox package. For example \documentclass{article} \...
0
votes
1answer
34 views

Cross-reference and tikzpicture conflict?

When I Include this diagram to my memoir document % Requires \usetikzlibrary{shadows,positioning,backgrounds} \centering \begin{tikzpicture}[x=11.8mm,y=8mm] % some colors \colorlet{even}{cyan!60!...
9
votes
2answers
66 views

Inline links in code listings

I would like to include links inside source code listings by providing URLs within the listing source text. That is, I would like to be able to generate something that looks like the following: ...
0
votes
1answer
41 views

Cannot reproduce the following solution to the problem of \ref not working for \label inside \subbottom in 'memoir'

It seems that using \label inside \subbottom causes known problems inside the 'memoir' class of documents. Although I already solved the problem, I was stumped by the fact that I cannot reproduce one ...
3
votes
0answers
35 views

Hyperref with Pdfcomment

I'm using the below code to get hyperlink with bookmarks \documentclass{article} \usepackage[dvips,breaklinks,unicode,bookmarksopen=true,bookmarksnumbered=true,bookmarksopenlevel=3,pdfstartview={...
3
votes
2answers
56 views

How can I create multiple checkboxes next to each other?

I have been able to create interactive checkboxes using the following code by using the \CheckBox{....}\\ However I'm currently stuck and can't figure out to create multiple boxes next to each other, ...
2
votes
0answers
32 views

How to make hyperlinks in bibliography without showing URL

This is my MWE: \documentclass{article} \usepackage{lipsum} \usepackage{natbib} \usepackage{bibentry} \usepackage{color} \usepackage{hyperref} % For hyperlinks in the PDF \hypersetup{colorlinks=...
1
vote
0answers
22 views

Including brackets in citation hyperlinks

How do I include the whole citation, also the brackets, in my citation, so they become blue and works as a hyperlink as well in natbib. This is a MWE: \documentclass{article} \usepackage{lipsum} \...
2
votes
1answer
44 views

TOC, Chapter Toc, and Appendix misfunctions

The attached image shows the problems in an almost MWE: In TOC, the appendices are called Chapter instead of Appendix Much worse is that the sections in the Appendices find their way in the Chapter ...
6
votes
1answer
34 views

TOC depth and issue with bookmarks

I am experiencing a trouble when compiling my PDF file. I am using MiKTeX 2.9 and Texmaker (PDFLaTeX) to get the file. I have the following MWE : \documentclass[11pt]{article} \usepackage[left=2cm,...
2
votes
1answer
28 views

changing color when lemma or theorem is cross-referenced

So, using hyperref I know how to change the color of "1" to blue when I say "using Theorem 1". But I want the entire "Theorem 1" to be blue. Similarly when I recall a lemma/theorem/proposition/...
8
votes
2answers
125 views

How can I redefine \autoref?

I am redefining a few things to support unique references in multilingual documents such that labels must only be unique within a given locale from the users perspective (obviously they must always be ...
1
vote
1answer
26 views

How do I shift all the TOC references one page forward?

I have the page numbering starting on page 2, which is labeled in the PDF as page 1. Therefore, 'Section A' falls on page 2, but the TOC sees it as page 1, and thus sends me to page 1 rather than page ...
6
votes
2answers
113 views

How to selectively turn off hyperref for some cross-references defined by \ref?

I have defined a command (\dingbatise) that converts a string of characters into one of dingbats. It works with \ref: \documentclass{article} % For clickable refs: % \usepackage{hyperref} % For ...
3
votes
1answer
25 views

acro: show long acronym name in PDF bookmark

I am using the package acro. I have the following acronym: \DeclareAcronym{SDP}{ short = SDP, long = Sequential Decision Process, long-plural-form = Sequential Decision Processes, class = ...
1
vote
0answers
34 views

Using Hyperref in LyX - PDFLaTeX Hebrew

In the past year or so I have been using LyX in Hebrew with the Hebrew Article document class, with the PDFLaTeX format. Lately I found the Hyperref package, and with a single click all non-Hebrew ...
1
vote
0answers
28 views

Cross-referencing page numbers between two documents

I have two documents which I will subsequently merge (i.e. I will merge .pdf’s). In order to do that I have two issues to resolve, both have to do with cross-referencing. First, I use firstpage and ...
0
votes
1answer
28 views

How can I make hyperref with “bookmarksnumbered=true” number the parts in conjunction with classicthesis?

I am using classicthesis. If I pass bookmarksnumbered=true to hyperref, everything but the parts is numbered nicely in the PDF bookmarks. However, I would like to see the parts numbered in the same ...
1
vote
2answers
43 views

Why does a new page disrupt \hypersetup, and is there a workaround?

There is some strange behavior with new pages (thanks to David Carlisle for noting that it is is not only \clearpage) in that disrupts the ability to \hypersetup later in the document. I generate my ...
19
votes
2answers
2k views

Hyperref Link Spans a Pagebreak, Looks Ugly

I'm using hyperref for links in pdflatex and I have the following problem: when a bibliography citation spans across a page-break (which usually occurs with long author names), then an additional ...
0
votes
1answer
100 views

Conflict of backrefalt for bibliographies at end of each chapter (using natbib and chapterbib)

I want to have the bibliographies at end of each chapter and still have the cross-reference on the reference list stating "Cited on pages:" using natbib and chapterbib packages. To compile the ...
0
votes
1answer
30 views

Redirect citation link to custom location

I am writing a thesis with appended papers which I include using the pdfpages package. I am using biblatex for referencing and hyperref for hyperlinks. In order to refer to the papers in the thesis, ...
3
votes
1answer
33 views

autoref for algorithms

\usepackage{algorithm,algpseudocode} \usepackage{hyperref} So when I \begin{algorithm} \caption{Baseline}\label{ALG_baseline} \begin{algorithmic}[1] ... \end{algorithmic} \end{algorithm} the ...
60
votes
1answer
40k views

options for appearance of links in hyperref

If I use \usepackage[colorlinks]{hyperref} I get colored links for \cite (not good for printing or even viewing) but table of content looks fine. If I use \usepackage[colorlinks=false]{...
4
votes
1answer
41 views

% and non-ASCII characters in headings

It appears that a % together with some non-ASCII characters on a heading is causing problems for hyperref in xelatex. Here's a minimal working example: \documentclass[]{article} \usepackage{hyperref} ...
0
votes
1answer
29 views

Inserting hyperlink in CV

I am making a CV on Overleaf and and under one section I want to insert a hyperlink. But when I try out \hyperref it gives an error as LaTeX Error: Can be used only in preamble. Here's the ...
1
vote
1answer
57 views

I need some help ordering these imports so the hyperref package works properly

I am writting my first Latex document. My document is now 140 pages long and I thought that making the table of contents clickable would be a good idea. I use ShareLatex to compile my code. I imported ...
0
votes
1answer
33 views

How to add a reference?

The package \usepackage[bookmarks=true]{hyperref} Doesn't work to create a colored reference on my note. The template I am using is this one \documentclass[11pt,twoside,openany,x11names,svgnames]{...
4
votes
1answer
24 views

Is it possible to get both pdf bookmarks and hyperref for index links?

I loaded both the bookmark and hyperref package, but when I have them both the index links don't work. When I comment out the bookmark package the index links work, but the bookmarks don't. How do I ...
4
votes
1answer
1k views

Mouseover with Hyperref Internal Links

I have a PDF that is heavily internally linked. (I use terms and link them to the appendix definition with \term{termname}{displaytext}, which uses \hyperlink from the hyperref package.) I'm trying to ...
1
vote
1answer
29 views

How to use normal label within a custom command for a definition of hypertarget?

I want to make a command that defines a \hypertarget with the target label (first argument of \hypertarget) by the contained \label and the target caption (second argument of \hypertarget) by its ...
2
votes
2answers
41 views

How to achieve custom paragraph (or in general section) numbering and allow references?

I used the command getcurrentref from this question/answer to achieve a custom numbering when \paragraph is used. I wrapped it into the macro: \newcommand\mybook[1]{\paragraph{B \getcurrentref{...