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.
806
questions
0
votes
1
answer
20
views
Overfull \hbox in bibliography URL despite hfuzz
Despite using hfuzz=… to hide warnings for (sufficiently small) overfull boxes, an overfull box happening in an URL in my bibliography still displays a warning. Why? How can I get rid of the warning?
...
0
votes
1
answer
59
views
Replacing DOI link with a specific text link like CrossRef
I want to replace DOI links made by hyperref package with any word or text link I want because it is very ugly and lengthy at the end of my references. Could anyone help me with that?
I prefer this ...
3
votes
1
answer
63
views
UrlFont and kerning
How to set the UrlFont in a way that the kerning is correct?
\documentclass[10pt,twoside]{scrbook}
\usepackage{fontspec}
\usepackage[hyphens]{xurl}
\def\UrlFont{\itshape}
\usepackage[colorlinks,...
4
votes
2
answers
277
views
Tilde sign in URL is appearing in superscipt position
The Tilde (~) sign in the URL appears in the superscript position. How can I change it so that it gets the same position (near the normal line) as in the text here?
\documentclass[12pt,twoside]{report}...
2
votes
1
answer
60
views
Overflowing URL in bibliography
I have this entry on one of the .bib files of my Bibliography:
@misc{spreadsheets2,
author = {Lima, Anderson B. E.},
title = {Statistical Analysis of Table 3 of: "Drought Monitoring and ...
-1
votes
1
answer
151
views
Bibtex: How can I set a urldate in @online?
I have some entries in my literature that are only URL, e.g.
@online{cullen,
url = {http://www.primegrid.com/download/cullen-6679881.pdf},
urldate = {2024-19-03},
}
But in the document it ...
1
vote
0
answers
75
views
Non-ASCII characters and space in link [duplicate]
We use relative links from a PDF document. Some files have non-ASCII characters like æøå and öä or spaces.
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[obeyspaces]{url}
\usepackage[...
2
votes
2
answers
100
views
How to define a command to typeset a URL without the protocol?
There is a related question, but the answer shows how manually create a link with the URL text. That's not what I want.
I want to create a command (call it \urlb) that will typeset a URL with a ...
0
votes
0
answers
18
views
Change bibliogrpahystyle to only add URL to bibliography when field "howpublished = {online}"
I am looking to find a way to only add the URL to an entry in the bibliography IF the field "howpublished = {online}" for that bibentry. I am currently using the mla-good.bst which has the ...
0
votes
0
answers
76
views
Extra Braces When \url Uses Variable
When using \url{} in the following example, it adds additional braces around the variable. So the code below renders:
{google.com} - google.com
Why is this happening, how can I avoid it?
Is there a ...
3
votes
2
answers
74
views
url with `\urlstyle(same)` seems to force `lowtilde`
When using \urlstyle{same}, the url package will substitute a low 'faked' tilde, even if the lowtilde option is not specified:
\documentclass{article}
\usepackage{url}
\urlstyle{same}
\begin{...
1
vote
1
answer
58
views
tex4ht breaks URL text leading to empty spaces between words generated in final HTML when \urldef
I use \urldef in order to make href, because the names are folder/file path which can contain many different strange characters.
This works fine in PDF with lualatex. But I noticed that the HTML ...
1
vote
1
answer
42
views
Overfull boxes in bibliography
I get overfull hboxes of urls in my bibliography, also the urls don't work even though they are correct. I can't find the problem. I am grateful for any help as it is urgent.
\documentclass[12pt]{...
0
votes
0
answers
46
views
How do you avoid running hyperlinks that include the page's footer and header?
Please consider this MWE:
\documentclass[paper=a6,fontsize=11pt]{scrbook}
\usepackage{lipsum}
\usepackage{hyperref}
\begin{document}
\chapter{My Chapter}
\lipsum[2] \url{https://example.com/}
\end{...
0
votes
1
answer
40
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 ...