Questions tagged [href]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
34 views

href creates footnote instead of clickable link

I am using the hyperref package in my document. I would like to make a link to a webpage. However, this always creates a footnote. This is probably due to a package conflict, but cannot manage to find ...
Nick Sauerwein's user avatar
1 vote
3 answers
75 views

Hyperref only one box around text with line break and not two boxes in twentysecondcv

I use the hyperref package and the corresponding \href{}{} command and would like to adjust the box which is drawn around the text. In more detail, in the picture below you can see a link for address, ...
m0byn's user avatar
  • 17
1 vote
1 answer
49 views

Access specific sections of link [closed]

I want to access this site say, https://en.wikipedia.org/wiki/Cricket#History Now I want the specific section 'History' to be shown as soon as I open the link In overleaf I did this, \href{https://en....
Manas 's user avatar
  • 11
0 votes
0 answers
65 views

How to open linked pdf file in full screen in beamer?

The following is the code \documentclass{beamer} \mode<presentation> {\usetheme{Madrid}} \begin{document} \begin{frame} \frametitle{Test} \href[pdfnewwindow]{sample.pdf}{try} \end{frame} \end{...
user61681's user avatar
  • 1,739
0 votes
0 answers
17 views

Cite a reference with the possibility of opening an internal pdf file at the right page number

I want to cite a reference in my document with the possibility of opening this reference, which is stored as a pdf file in my directory, on the right page. It should look something like this: [1, ...
ANT Learner's user avatar
0 votes
0 answers
96 views

\textcolor not changing the href text color

I have set the href color for the whole document to blue, href text color of top part of document has indeed changed but I have added two minipage in the document, and href text color is not taking ...
A. Vats's user avatar
  • 101
3 votes
1 answer
125 views

using xurl package with \href and a long \url within the longtable package

I am having trouble getting the href's to automatically wrap at the appropriate spot within my \longtable. I tried using the \ltablex package, but that made no difference. Any guidance is much ...
Steven's user avatar
  • 317
0 votes
0 answers
45 views

Wrapping long url hyperlinks that contain no spaces within a table [duplicate]

For some reason, I have been unable to wrap an href within a table using the solutions presented here: Wrapping long lines that contain no spaces And, here: Forcing linebreaks in \url Any suggestions ...
Steven's user avatar
  • 317
1 vote
0 answers
48 views

Open an external PDF at the specific section in a new tab

I want to hyperlink to an external pdf file at the specific section. I have a solution to open the file on a specific page but not at the specific section. Next problem Im facing is that every time ...
Žan's user avatar
  • 23
0 votes
0 answers
56 views

Tikz button CLICK color and CLICK shape in Adobe Reader

I would like to control the click color and click shape of the following tikz button with rounded corners that I created. When I download the PDF (generated by pdflatex) into Adobe Reader and click on ...
Steven's user avatar
  • 317
1 vote
0 answers
58 views

Matching Shape of Invisible/Ghost Hyperlink/Href to ANY Tikz Shape

I am new to LateX. I am trying to use an example found here: Making TikZ nodes hyperlinkable to create a button with a hyperlink. I am wondering if anyone could tell me how to allow for rounded ...
Steven's user avatar
  • 317
0 votes
0 answers
204 views

Modify the \url to open links in new tabs

I am in LaTeX, and I just wrote this line: \renewcommand*{\url}[1]{\href{#1}{\nolinkurl{#1}}}. But, it does not modify the behavior's of all my \url usages across the document, why? How can I make all ...
Alix Blaine's user avatar
0 votes
0 answers
62 views

Backup slides with `beammerappendixnote` and `\pause` breaks hyperlinks

I'm using \pause-steps, and beamerappendixnote to provide links to appendix slides. The appendix slide gets linked after the first \pause: \documentclass[20pt]{beamer} \usepackage{beamerappendixnote} \...
sheß's user avatar
  • 3,592
0 votes
0 answers
46 views

How to hyper link paper name, vol, issue, year in biblatex as shown in image below?

@article{PhysRevLett.13.138, title = {Evidence for the $2\ensuremath{\pi}$ Decay of the $K_{2}^{0}$ Meson}, author = {Christenson, J. H. and Cronin, J. W. and Fitch, V. L. and Turlay, R.}, ...
Debashis's user avatar
1 vote
1 answer
55 views

\href urlbordercolor not visible in pdf

I am trying to put a colored border around links but have not been successful so far. Here is a minimal example: \documentclass[ 12pt, titlepage]{article} \usepackage{xcolor} \usepackage{hyperref} % ...
EconCat's user avatar
  • 15
3 votes
2 answers
647 views

How do I insert this url in a footnote

https://www.bcb.gov.br/acessoinformacao/legado?url=https:%2F%2Fwww4.bcb.gov.br%2Fglossario.asp%3FDefinicao%3D1676%26idioma%3DP%26idpai%3DGLOSSARIO I've tried href, hyperref, URL, or none at all, just \...
Alexander's user avatar
0 votes
0 answers
70 views

pdf latex auto open url or hyperlink

This example is latex, a line code using automatic. Did not find any related answers about this \href{https://google.com} {autopen} How to open auto hyperlink via pdf latex. Like opening the pdf, the ...
martin's user avatar
  • 9
1 vote
1 answer
398 views

Hyperlink references to google scholar profiles do not work, using \href?

Hyperlink references to google scholar profiles do not work, using \href \href{https://scholar.google.com/citations?user=qc6CJjYAAAAJ&hl}{Albert Einstein} Produces: hl## Albert Einstein Not a ...
Martin David Grunnill's user avatar
1 vote
2 answers
112 views

How can I get `\texttt` in `\href` to work with Springer Nature's sn-jnl class?

Using version 2019/11/18 of Springer's sn-jnl.cls template (archived as a gist here), I get the following: \documentclass{sn-jnl} \usepackage{xparse} \NewDocumentCommand{\githublink}{m m o}{\href{}{\...
Jason Gross's user avatar
  • 2,125
0 votes
1 answer
102 views

`\nolinkurl` broken when there are accents in it's argument in recent versions of LaTeX or hyperref (+ugly display with T1 encoding)

It is common on French URLs to have accents (because French words have accents). The probably most known site that uses these possibility to not restrict URL to ASCII characters is Wikipedia, but also ...
quark67's user avatar
  • 4,146
3 votes
2 answers
135 views

Why do some links break “href{…}{…}” in Beamer documentclass?

Consider the following MWE (borrowed from this question): \documentclass{beamer} \begin{document} \begin{frame} \href{http://tex.stackexchange.com/q/20800/5701}{Link} \end{frame} \end{document} ...
EoDmnFOr3q's user avatar
  • 2,299
0 votes
0 answers
500 views

Link to local html file

I am trying to link to a local html file but nothing has worked. I have tried: \href{file:path_to_file}{File} or \href{run:path_to_file}{File}: does not open since preview/adobe does not recognize ...
cccfran's user avatar
  • 35
5 votes
1 answer
112 views

ConTeXt: Macro within URLs

Background URLs are translated from Markdown into document variables that are meant to be typeset as clickable hyperlinks. Problem ConTeXt uses url() to typeset the URL verbatim. Since the URL is a ...
Dave Jarvis's user avatar
  • 11.6k
0 votes
1 answer
163 views

define a command which does not parse the input

I would like to define a command which takes two arguments and generates a link to a webpage: \newcommand{\urltocode}[2]{...} The problem is, however, when I use \urltocode{foo}{bar}, if foo contains ...
Jason Hu's user avatar
  • 199
1 vote
0 answers
562 views

Personal knowledge base and LaTex

I have two personal knowledge bases (PKB). One is latex which I used to mainly take lecture notes such as linear algebra or algorithms. Another is logseq which I used to take notes of research papers, ...
dragon_and_dracula's user avatar
0 votes
0 answers
30 views

How can I use hyperref with particular color urls in one section?

I want to change the color of my URLs only for a particular section in my report. I assume this may need a \newcommand to modify or override \href? I found a similar question here -> How can I ...
Mad's user avatar
  • 143
3 votes
1 answer
133 views

\verb in \href with $ and | symbol

I have a pattern as follows \href{https://tex.stackexchange.com/}{\verb|stackexchange.com $1|} \verb|stackexchange.com $1| the generated pdf is: what I want is stackexchange.com $1. So what can I ...
Qingwei Li's user avatar
1 vote
1 answer
40 views

\href in printable version

I'm ultimating my thesis and I need two different version: one printable and one digital. The thesis contains some \hrefs that of course are lost when I print the document. I would like to know if ...
L.A.'s user avatar
  • 113
2 votes
0 answers
28 views

Two consecutive hash caracters in URL/href in LaTeX produce incomplete link adress [duplicate]

I'm trying to put a link to a public channel on matrix.org into my LaTeX beamer presentation. The link has the form https://matrix.org/#/#mychannel:matrix.org. However I observe a strange behavior ...
OLF's user avatar
  • 21
0 votes
1 answer
35 views

Is there a way to cleanly write urls in the argument of \href?

I have a quite long url that I want to include in-text in a document of mine and would like to avoid having it in the middle of my writing. Is there a way to make this into a simple reference to the ...
H. Pecoraro 's user avatar
0 votes
0 answers
30 views

how to make a description box on click on ay word ( pop up window or box ) and that should disappear on click it again in latex not in beamer class?

\documentclass[twoside]{article} % Note: uses twoside option \usepackage[a4paper, marginparwidth=75pt, total={10cm, 10cm}]{geometry} % To create a small page \usepackage{hyperref} % To use the \url ...
ram's user avatar
  • 1
0 votes
1 answer
158 views

\href command of package hyperref does not work as it should

I am unaware of what could make \href fail so I will place here my code together with all packages used. I've seen in the past packages intercept one another. I am trying to produce a link to a paper ...
Stamatis Tzanos's user avatar
3 votes
2 answers
115 views

Manual hyphenation in text part of \href

How can I use manual hyphenation commands (see https://de.wikibooks.org/wiki/LaTeX-W%C3%B6rterbuch:_Silbentrennung) inside the text part of \href? \documentclass[a5paper]{article} \RequirePackage[...
Jake's user avatar
  • 33
2 votes
1 answer
660 views

URL not working because of #

I cannot seem to create a hyperlink to a specific line of a file on GitHub with the \url or \href commands. The following returns a 404 page: \documentclass{article} \usepackage{url} \begin{document}...
sesodesa's user avatar
  • 753
0 votes
1 answer
94 views

href links with multiple ## are not successfully escaped using backslah escape

Using LaTeX I'm trying to create a hyperlink using href, where the url contains multiple # symbols. I am fully aware special characters have to be escaped, e.g. with % this is even rather typical in ...
LJKS's user avatar
  • 133
0 votes
1 answer
161 views

Beamer frametitle always uppercase for text but not for href or url

I have a \citebutton command that I often use in the frametitle to link to some sources. Furthermore, I want to force the frametitle to be always in uppercase. Unfortunately, I am not happy with my ...
Giuseppe's user avatar
  • 164
0 votes
1 answer
73 views

Getting a simple bibliography to work in ConTeXt

I'm trying to get a simple bibliography to work with ConTeXt. Here's what I have so far: test.tex \usebtxdataset[bibliography.bib] \starttext \startbodymatter See \cite[proofwiki] \...
user32882's user avatar
  • 1,594
0 votes
1 answer
186 views

automatic hyperref label

I want to have automatic labels when using \href{}{} in the text, instead of writing them myself. e.g.: \href{www.example.com}{example 1}, \href{www.something.com}{example 2} to \href{www.different....
robmiller505's user avatar
1 vote
0 answers
553 views

Add relative href web link to pdf document

How do I add a relative href web link to a .pdf document? I want to post sets of question/answer pairs to my web site. For example, http://foo.com/W22/Tests/Q1.pdf and http://foo.com/W22/Tests/...
Zack's user avatar
  • 111
1 vote
1 answer
59 views

href not allowing me to click on urls

I am writing a research paper. The goal of this project is to simply add a link to the project. I've added \usepackage{hyperref} The paragraph that I am working on is written like so: We developed ...
Evan Gertis's user avatar
0 votes
0 answers
41 views

Changing hyperlink styles in a footer or other document part

Is there a way to change the hyperlink styles from package hyperref in different parts of the document? I might want a different style in footers, or in the text of subsubsections, than the rest of ...
Doug Ransom's user avatar
0 votes
0 answers
68 views

Normal text formatting does not work in custom href

I created my own \href definition because it had to meet some specific style requirements in my document. Now I found that the optional display text cannot be formatted like a usual text anymore. For ...
s6hebern's user avatar
  • 287
2 votes
1 answer
290 views

Using \href is not rendering on pdf

I am attempting to use the href package in LaTex to make a link to my GitHub clickable in a resume. I believe that I am using it correctly, but the label remains unclickable. For background, I am ...
Steven DeVerteuil's user avatar
0 votes
1 answer
107 views

texmaker doesn't recognize \href

I need to put the DOI in the references but Texmaker doesn't recognize or work the "\href" command. I've already installed the "hyperref" package. I don't know what to do. Could ...
Mykaelle 's user avatar
1 vote
1 answer
136 views

How to fix hyperlink spilling in tufte footnote when word wrapping?

I am using the tufte-book class and I noticed a weird behavior of the footnotes. Here is the setting, there is a line of text with a footnote on it and the last word wraps to the next line, then: If ...
ralphS16's user avatar
5 votes
3 answers
331 views

Add hyphens to mobile number

I want to add my mobile number in a pdf line being generated using LaTeX how I want it to render: (+91) 7887-61x-xxx usage: \mobile{91}{788761xxxx} % Usage: \mobile{<countrycode><mobile ...
theSwapnilSaste's user avatar
2 votes
1 answer
141 views

How can I use section symbols '§' in urls with the url-package?

How do you create a url which includes a section symbol '§'? I'm trying to create a link to this following url using the url-package: https://lovdata.no/lov/1997-02-28-19/§20-20 Notice the section ...
Michelle's user avatar
2 votes
1 answer
193 views

\href not breaking description

I am trying to use \href to display www.site.com but (without an http://) but include http:// in the actual link the output directs to when clicked. Long descriptions are running past the end of the ...
user1476176's user avatar
  • 1,225
0 votes
1 answer
387 views

Hide symbol for external link if the link is empty

I am creating a Resume and I am using a Latex template for it.There is a specific command defined for projects which has two parameters: name of the project and url of the project. It then prints the ...
doremi's user avatar
  • 177
1 vote
1 answer
529 views

Can't get local file link in citation to work

Directory tree . ├── bibliography.bib ├── Makefile ├── reference │   └── test_reference.tex └── test.tex File Contents bibliography.bib @misc{ reference, title={Reference title}, author={...
user32882's user avatar
  • 1,594