{links} is specifically about dealing with hyperlinks. If your question is generally about {urls} or about the {hyperref} package, use the respective tag instead.

learn more… | top users | synonyms (1)

4
votes
1answer
28 views

Link Arrows in pgfgantt for Long Periods of Time

I am making a Gantt chart with pgfgantt. The arrowheads for dependencies between the bars do not show properly (e.g. pointing to left rather than right, for an input to another bar). My time-frame is ...
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
13 views

Wrong links for subsections in appendix

I noticed a subtle problem while writing an appendix. Here is my code: \documentclass[12pt]{article} \usepackage{hyperref} \let\chapter\section \begin{document} \section{One} ASD \subsection{One.one} ...
0
votes
0answers
17 views

Link to picture, not to the caption [duplicate]

I have a table with some condensed information, and want to have in it links to figures (a lot), that illustrate some of the observations in the table. Anyway, if the figures look like: \begin{...
56
votes
1answer
25k views

How to make clickable links and cross-references in pdfs produced by LaTeX?

How can I make things link url references, my index, table of contents, and cross references clickable links in documents produced by LaTeX? I generally use pdflatex to produce my documents.
0
votes
1answer
32 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} \usepackage{...
4
votes
3answers
110 views

Associate dynamic text to a label

I'm trying to associate some text (dynamically generated with counters) to a label, so that I can refer to that label and print the text associated(without re-generating it, that would cause problems ...
1
vote
0answers
31 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 ...
1
vote
0answers
22 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} & ...
6
votes
1answer
117 views

How to make hyperref aware of Firefox's internal protocols for extensions?

I'd like to create an hyperlink in a .pdf file that opens Firefox at the Zotero pane, the "URL" of which being chrome://zotero/content/tab.xul: instead of http or ftp, here the protocol used is chrome,...
1
vote
0answers
13 views

How to tie link formatting to text notthe bounding box in Adobe DC [closed]

Im new to Adobe DC and having a remarkably silly problem with formatting links. Ive tried to Google this but cant get anything close, so here we are! What I want is to have the formatting for links (...
2
votes
1answer
46 views

Multiple hyperlinks from single \includegraphics

I have an image like this which I have included with an \includegraphics command. I want each of the circles to be a link to a different part of the document. I.e. clicking on the blue circle ...
4
votes
2answers
116 views

Spurious `.pdf' added to the first argument of \href if inside \ExplSyntaxOn/Off

The following MWE shows that a spurious ".pdf" is added to the URL given in the first argument of \href if (and only if, AFAICS) the latter is used inside \ExplSyntaxOn/\ExplSyntaxOff (it also shows ...
1
vote
0answers
40 views

spaces in references in pdf view

I am using book document when I view my work on pdf, some of references looks like this with spaces. how to avoid them? Can I change "bibliography" to "references"?
3
votes
1answer
25 views

How to link a figure without subsection?

I have many figures in my text, and they get numbers (in the first Section) 1.1, 1.2 etc. So just the number of section and then the number of Figure. But when I try to link the figures, they get out ...
5
votes
1answer
63 views

Would it be possible to create a navigation menu at the end of each section with automatically generated links?

I want to make a navigation menu at the bottom of each section|subsection|subsubsection|paragraph. This document will be embedded in the binary of an application. It is what the user will see when ...
2
votes
1answer
482 views

Hyperlinks on moderncv not working Adobe Acrobat Pro

So, I know there's already a question about this (Hyperlink in moderncv with acrobat reader) but I have tried the solutions there (updating and security settings) and it still doesn't work and I don't ...
3
votes
2answers
47 views

Format with Hyperref but Disable Links

How can I get hyperref to format the link, but not actually link to anything. For instance, in the Legend section in the MWE below I would prefer that clicking on the links not actually attempt to ...
2
votes
1answer
39 views

How to link to sections in a LaTeX document from a picture in the table of contents

I am trying to use work from this answer and this answer to create something that looks similar to the following: However, I would like to be able to actually link to the sections in the document ...
1
vote
1answer
35 views

Autoref not properly placing links [closed]

I have the following code: \autoref{fig:vc_dimension} \begin{figure}[t] \begin{subfigure}[b]{0.5\textwidth} \centering \includegraphics[width=\textwidth]{vc_dimension_1} \caption{...} \end{subfigure}...
1
vote
0answers
14 views

glossaries package: hyperlink only on first use of acronym [duplicate]

I use the glossaries package to define and use acronyms in my text. I use \newacronym{} to define my acronyms. In the text I use \gls{} to refer to these acronyms. In order to improve readibility of ...
3
votes
1answer
23 views

Change the color of the link which is generated by \htmladdnormallink

I try to write a book, and I'm beginner with some functions in LaTeX. I already have looked for this question even I looked in hyperref manual and I have not found anything about how to change the ...
0
votes
1answer
53 views

how to let the long web-link automatically break line?

I use the \tt in the latex, however, it can not break line automatically. Then, I add \\ in the link, e.g. \tt{http://tex.stackexchange.com/ \\\\ questions/ask}. Then, in the generated pdf file, it ...
5
votes
1answer
97 views

Clickable URLs: no click possible after the line break

I use \url to make an URL clickable. When the line breaks, the part of the URL after the line break is not clickable. Why, and how to fix it? Demo: \documentclass[11pt,letterpaper]{article} \...
3
votes
1answer
62 views

Hyperref link to bibliography entry?

Is it possible to create a link to a particular bibliography item? I'm hoping for something like: This \hyperref[MyKey]{link} takes you to the same place as \cite{MyKey}. A full (non-working) MWE:...
1
vote
0answers
100 views

Hyperlink to top of the page with given hypertarget

I need to create hyperlink that points to the top of the page on which given hypertarget is located. By default, hyperlink referencing hypertarget goes to the line of text where referenced hypertarget ...
1
vote
0answers
36 views

Links to bibliography from main text in pdflatex [on hold]

In my thesis, I am loading the hyperref package. The thesis package itself loads the harvard package. Here is the snippet of the relevant packages from my main thesis.tex file: % dissertation style ...
2
votes
1answer
51 views

Open another pdf file at referenced label/page

I am having two documents, call them A and B. I want to make several cross-references from file A to file B and by clicking on the hyperlink, I want to open file B at the respective page. In my ...
1
vote
0answers
35 views

How to tag a label (figure, equation,…) or citation to a word inside the text?

I recently saw this helpful forum and really liked it. I wonder if it is possible to tag a special label and also citation to a hyperlinked word inside the context, as I click on the word it jumps ...
1
vote
1answer
55 views

beamer: click number to go to respective frame / dynamic labels

I am developing the following style: \documentclass{beamer} \let\Tiny=\tiny \title{Title} \author{Ricardo Cruz} \date{} \usepackage{tikz} %% SIDEBAR \newlength\swidth \setlength\swidth{1.2cm} ...
0
votes
1answer
101 views

link to a specific worksheet in an excel file

Can a link as in \href{run:./400.xls} {\textcolor{blue}{400}} be specific to a certain worksheet in an excel file, or to even a certain cell.
1
vote
0answers
66 views

How do I import/link values from, e.g. MATLAB or a simple txt-file?

I'm writing a rather long report where I'm discussing results from a numerical calculation done via MATLAB. I would like to import the results into a tabular environment. The results are them selves ...
0
votes
0answers
16 views

Temporarily prevent hyperref from decorating links [duplicate]

I have a picture, drawn with tikz, that contains a few slanted hyperrefs (in fact, document-internal references). For these, the colored underline that I have told hyperref to draw are not slanted, so ...
1
vote
1answer
143 views

How to add a link between two word?

I want to be able to click one word A, and then go to word B. It would be good if this was two way. If I click on word B, I go to word A too. I tried: \documentclass[a4paper]{report} \usepackage{...
5
votes
1answer
194 views

Link to arbitrary part of text?

I have a long text and I want to create a link within the document to a particular paragraph (for example write something like "as shown here" where clicking on "here" will take the reader to that ...
2
votes
3answers
2k views

Hyperref links in bibliography do not work

I added the hyperref package and got some errors. Thus I deleted the auxiliary files and compiled again. This time there were no errors, and the links work except in the cites (bibliography), where I ...
4
votes
1answer
122 views

List of figures with reference URL

I want to have a List of Figures, which also contains a reference URL (or the article which I refer to \cite{}) for each figure entry. (and if possible the URL should appear in the next line with a ...
2
votes
2answers
83 views

Linking indexed term to index entry

I am trying to create links from \index commands to corresponding index entries. When hyperref package is loaded, page numbers in index are, by default, linked to the page on which \index command for ...
2
votes
1answer
126 views

Problem with \href for hyphenated web addresses within latex minipage environment

I am trying to use \href to link to a web address that contains hyphens (e.g. http://hyphenated-webpage.com) within a minipage environment, e.g. \usepackage{hyperref} \begin{minipage}[t]{0.5\...
8
votes
2answers
540 views

Distinguish \nameref references in print version

I used the \nameref command to reference to names of captions etc. I also used the option colorlinks=true so I have colored references which can be distinguished form "normal" text. In my print ...
6
votes
4answers
684 views

Can I have hyperlinks a different color for printing?

Is it possible to print hyperlinks in the same colour as the surrounding text when printing a hard copy of a PDF? When a PDF is printed on paper I would like the links to be the same colour as the ...
2
votes
1answer
108 views

A problem with the size of hyperref boxes around links

I have trouble with the size of boxes around links when using hyperref. When I run the following minimal working example with LaTeX, \documentclass[letter,10pt]{amsart} \usepackage{hyperref} \...
18
votes
1answer
4k 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 ...
7
votes
2answers
688 views

How can I add every glossary entry to the index?

I know, there are similar questions around, but I couldn't find a solution to what I want. E.g. here, all acronyms in the document are set to the index. I think, indexing should be done manually so ...
1
vote
1answer
91 views

\paragraph inexplicably turns into clickable link

I have a weird LaTeX problem. When inserting the \ref{} link to the \subparagraph flagged as "crucial line" in the following MWE, the preceding \paragraph headline inexplicably turns into a clickable ...
2
votes
1answer
208 views

Underline long url and linebreak

I have a long url which I want to appear blue and underlined. Furthermore it must linebreak if the url is to long for a single line. \documentclass[a4paper,10pt]{article} \usepackage[colorlinks,...
3
votes
1answer
124 views

elsarticle class: how to get coloured links without boxes?

I'm using the elsearticle class. At present the links (citations, equation references, etc) are put in coloured boxes and I'd rather have the links coloured without boxes. So I tried putting \...
1
vote
1answer
148 views

knitr creating a wrong second “#” in a deep hyperlink

I would like to compile a .Rnw Document in RStudio with knitr that includes a "#" in the hyperlink (deeplink) of a float caption. See the minimum working example: (compiled with R Studio Version 0....
0
votes
1answer
251 views

Hyperref links lost when using latex --> dvips --> ps2pdf

Given a latex file using the hyperref package, I wish to convert it to pdf via: latex "foo.tex" dvips "foo.dvi" -z -P Pdf ps2pdf "foo.ps" However, all hyperlinks are lost this way! Here's a ...
1
vote
1answer
53 views

named href in tabularx with very long url

I just started to use TEX for automatic generation of eye catching pdf's. So for the moment this is on a good way. But I'am on a point now I can't resolve with by myself. So I decided to ask for help ...