# Questions tagged [urls]

{urls} is about handling URLs in (La)TeX documents, commonly by using the \url macro provided by the {url} or {xurl} and {hyperref} packages.

623 questions
Filter by
Sorted by
Tagged with
0answers
46 views

### Using Biblatex/biber, how to make each whole bibliography line-item a clickable hyperlink?

I recently asked a very similar question here using bibtex and natbib. I got in touch with the journal's typesetters, who has asked me to use the cas-sc.cls file along with biblatex/biber, and pointed ...
0answers
14 views

### Removing URLs from Nature style references

I have inserted my references into my file using Mendeley reference manager and want to use Nature style referencing. However, I can't seem to remove the URLs which appear in the references. When I ...
2answers
51 views

### When using elsarticle.cls, how to make each bibliography item a clickable hyperlink?

I intend to submit a manuscript to the Journal of Computational Physics by Elsevier. Although no bibliography formatting requirements have been explicitly specified by the publisher for the initial ...
0answers
24 views

### Why do clickable boxes in hyperref urls in footnotes which are split across multiple pages include the intermediate pages?

Consider the following code: \documentclass{article} \usepackage{lipsum} \usepackage{hyperref} \newcommand{\veryn}[1]{\ifnum\numexpr#1 > 0 very/\veryn{#1-1}% \fi } \edef\foo{\noexpand\url{this/...
0answers
51 views

### Why do hashtags in \href not work? [duplicate]

\documentclass{article} \usepackage{hyperref} \begin{document} \url{http://mirror.ctan.org/info/latex2e-help-texinfo/latex2e.html#toc-Overview-of-LaTeX-1} \end{document} This code produces a ...
0answers
17 views

### Undefined control sequence caused by citations when using hyperref [duplicate]

I am relatively new to LaTeX and most of my answers have been solved with some quick googling, but this specific problem has left me scratching my head with its specificity. I am writing a paper and ...
1answer
33 views

### Defining a customized command to break long word with some special character

I want to break a long word to the next line in a 2-columns acmart template. The word is Sample_Super.Very.Uber.Long.Word. Below is the sample on Overleaf: \documentclass[sigconf]{acmart} \usepackage[...
1answer
58 views

### change ampersand character used by \url

For normal text, I replaced the ampersand symbol with some thing different, specifically a scaled ampersand taken from a different font (because reasons). Perhaps the less lazy method would have been ...
1answer
43 views

### Despite using package hyperref, getting a “missing \$” error with web url

I am working on a chapter of my thesis, and I need to cite the webpage where I found one of my figures. The picture shows up fine, my issue is with the caption. I think I am running into an issue ...
1answer
51 views

### How to get URLs to line-break within \todo{} comments?

I am searching for a way to allow URLs to line-break at any character within a marginal comment created by the package luatodonotes. I installed the xurl package, which is one of the options for ...
1answer
41 views

### How to make biblatex URL links generated with brackets around it <url> correctly clickable?

Running the following minimal example: \RequirePackage{filecontents} \begin{filecontents*}{\jobname.bib} @mvbook{assis08, author = {Machado de Assis}, title = {Obra completa em quatro volumes}...
1answer
25 views

### Modifying plainurl bst file to add other preprint servers

I'm rather new to this and I'm trying to modify the standard plainurl bst file to add other links on top of the usual ones (arxiv/doi/pubmed/url). By mimicking exactly what appears in the file I'm ...
1answer
58 views

### Interactive rectangles when clicking or hovering

This is my bibliography: When you click the link, it makes this color: The table of contents also does this. What is this functionality? How can I change the colors?
2answers
59 views

### Hyphenate URLs in paragraphs while maintaining an underline link

Problem: I wish to break or hyphenate links in paragraphs while maintaining an underline link. Minimal Working Example (MWE): \documentclass{article} \usepackage{lipsum} \usepackage[utf8]{inputenc} ...
1answer
79 views

### How to add url access date to model5-names.bst (elsarticle.cls) for bibliography?

Header of my LaTeX file: \documentclass[review]{elsarticle} \bibliographystyle{model5-names}\biboptions{authoryear} \begin{document} My Paper \bibliography{mybibfile01} \end{document} I need ...
1answer
49 views

### Pound sign # in \href link in beamer's frame environment

While there's normally no problem with having the pound sign # in an \href link (see Hyperlink with # (number sign)), it does not work within a frame environment in beamer. \documentclass{beamer} \...
0answers
45 views

### Accepting special characters in arguments passing them further

I would like to define a macro very similar to \url, that accepts more or less arbitrary strings (including hashes/#) and passes them to other commands (i.e., \href, \url, \nolinkurl). I have tried to ...
2answers
102 views

### How to include URLs with ecta style?

I am using ecta (Econometrica) style for references. I want to include URLs with them but ecta style does not support it. I tried using note and howpublished but it appears the ecta style overrides ...
1answer
21 views

### How can I remove text outliers from the white borders in the output PDF?

For example in this accompanied image. I want to write my script in a way that cuts off the light blue text outliers.
1answer
50 views

### Url link breaks once only [duplicate]

I have a very long url to show in the references, I am using BibTex and the package url, but I still the url breaks once and not twice as it should.
1answer
38 views

### \url with # and & inside \footnote

I have trouble with \url and \footnote \documentclass[margin=5mm]{standalone} \usepackage{hyperref} \begin{document} my text \footnote{\url{https://webbook.nist.gov/cgi/cbook.cgi?ID=C69727&Type=...
1answer
29 views

### Wrapping internet address length in the references

A URL in the referencs exceeds the column width and I want to know how to wrap that? \documentclass[conference]{IEEEtran} \IEEEoverridecommandlockouts \title{my title} \maketitle \section{Section 1} ...
2answers
291 views

### Add URLs to asmems4.bst

I'm having a problem integrating asmems4.bst supplied by my department for my thesis. Several of my references are websites and asmems4.bst doesn't output URLs in my bibliography. From an answer to ...
1answer
275 views

### Line Break in \url in the footnote

There are many Posts about this Topic URL linebreak in footnote Line breaking of URLs at "-" I tried it by myself but it doesn't work oon my Tex-File. I added this in my Code for the url-...
1answer
59 views

### URL over two pages causes nested errors

I tried to generate a MWE where I can reproduce my main problem. The major error says error: (pdf backend): 'endlink' ended up in different nesting level than 'startlink' ! ==> Fatal error ...
1answer
65 views

### BibLaTeX overflowing URL

When using biblatex with a long URL without many forward slashes the URL overflows outside of the margins of the page. For example: references.bib @online{ons, author = "Office for National ...
1answer
82 views

### Including latex commands in a .bib file

In this question, the top answers suggests using the url package within a .bib file. I am using Overleaf and I am trying to include the url command in my .bib file, but it is just being printed out ...
1answer
52 views

### How to influence the default URL scheme from url or hyperref?

I am using komacv in an attempt to typeset a CV which I originally wrote with moderncv. As far as I can tell hyperref gets loaded by komacv, which in turn causes url to be loaded. But I don't know ...
0answers
54 views

### Add a special character in a latex url

I want to incorporate a link as a footnote to my latex text that contains a special character. That link is the following one: http://www.robots.ox.ac.uk/~vgg/research/cross-modal-emotions/ And ...
2answers
783 views

### Does the hyperref breaklinks option have any effect?

According to the hyperref documentation, breaklinks 'is intended for internal use' and 'automatically set according to the driver features' – which, however, doesn't tell us whether it's automatically ...
1answer
151 views

### obeyspaces option for url package leads to option clash with Beamer

I'm having some problems using the path command from the url package with my beamer slides. Providing the MWE below to pdflatex on 64-bit Ubuntu 18.10 produces the error: ! LaTeX Error: Option clash ...
2answers
335 views

### URL - linebreak

I'm using luatatex 1.0.4 and I already found some solutions for breaking urls. Nevertheless I have special cases for which I didn't find a solution. My sample code looks like: \documentclass[a4paper,...
0answers
89 views

### URL - linebreak and page break

I'm using luatatex 1.0.4 and I already found some solutions for breaking urls. Nevertheless I have special cases for which I didn't find a solution. My sample code looks like: \documentclass[a4paper,...
1answer
263 views

### \@footnotetext error for special characters

I have a link 3NT to external website I defined it in markdown like below link [3NT](http://www.xinruibridge.com/deallog/DealLog.html?bidlog=1C,P,1S,P%3B1N,P,3N,P%3BP,P&playlog=W:3D,JD,5D,7D%3BN:2S,...
1answer
140 views

### How do I horizontally compress or unstretch paragraph text?

My references section sometimes shows a lot of whitespace between words that I would like to remove. For example, in the following screenshot, I would like to remove the extra spaces within the text "...
1answer
215 views

### Error: Argument of \newcommand{…} has an extra }

I am trying to create a new command to help formatting the entries of the list of figures. Argument 1 should be optional and contain the date the source was accessed, argument 2 is simply the figure's ...
0answers
142 views

### How to break URLs in references into multiple lines [duplicate]

I am using a 2 columns IEEEtran template. I have some long URLs in the references section. One of the URLs exceeds the column's width and does not break properly. How can I force URLs to break into ...
1answer
212 views

### Reorder access date (urldate) and URL

I am trying to specify the citation of a data base. Consider the following MWE with two entrances:` \documentclass[12pt, bibliography=totocnumbered, listof=totoc]{scrartcl} \usepackage[T1]{fontenc} \...
0answers
51 views

### URLs extend past page margins, change URL font [duplicate]

I'm new to LaTeX and have a desire to learn as I'm completing a PhD and have been told LaTeX is a great platform for writing scientific documents. So, I have written a short plain English piece in ...
1answer
268 views

### URLs extend past page margins

I'm new to LaTeX and have a desire to learn as I'm completing a PhD and have been told LaTeX is a great platform for writing scientific documents. So, I have written a short plain English piece in ...
1answer
90 views

### Type uneven number of curly braces '{' '}' in URL using hyperref

My question is somewhat similar to this one: Type '{' '}' in url However, how can I write an uneven number of curly braces, e.g.: \url{http://example.org/foo/\{bar} The documentation ...
1answer
141 views

### biblatex: Hyperlink entire bib entry to DOI, URL or ISBN if available

This is kind of a combination of two questions and then I have a bibliography style problem on top of that. I would like to make each bib entry into a hyperlink with the priority: 1. DOI, 2. URL, 3. ...
1answer
664 views

### Bibtex style with url and titles of references in bold

I'm looking for a bibliography style (in bibtex) that displays the web url of the references AND also writes the names of the authors of each reference in bold, e.g. Smith, Nick and John Zeigler, "...
1answer
199 views

### hyperref with tilde

How can I make the tilde appear in the url in the following document? I know that this has been asked many times before but googling has -not- helped me in my case. The following document does not ...
1answer
240 views

### Break URL in Bibtex reference without losing the link, with hyperref package and LaTeX compiler

I am trying to properly break some of the url in my references. When using \usepackage[breaklinks]{hyperref}, the url breaks but the link disappear (not clickable) even though the blue color is still ...
1answer
298 views

### Enabling double way for bibliography with \url: Both bibtex and biblatex (biber)

I am trying to make a document to accept both bibtex and biblatex (during different compilations of course) and I have a problem because: In bibtex I have to add \url command inside every url (...
1answer
167 views

### Scandinavian letters in Biblatex URL

Hello. I am trying to cite a webpage that uses the letter "ø", but my bibliography does not display the "ø" in the URL, making it look like it's not correct. I have searched for this problem for some ...
0answers
194 views

### set tolerance within a span command only

URLs (and similar, e.g., long class names or folder names) can be annoying to typeset well. This gets even worse when the document is automatically generated, and you cannot "just" insert manual ...
0answers
61 views

### \input a .tex file from an url [duplicate]

Is it possible to use \input with an url as parameter: \input{https://mywebsite.com/mylatex.tex} If not, is there any way to achieve this? I am using the TeX Live distribution.
1answer
158 views

### How to define a custom url entry in Biber?

My university referencing style defines two distinct styles for online resources. The first one is used when the exact link is known and in the public domain. This scenario is served well by the ...