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

learn more… | top users | synonyms

1
vote
0answers
21 views

Hyperref: Danish ø in `\url` or `\href` doesn't work (appears as \T1\)

Refer to this question and answer. When I compile the file below (encoded in utf-8) with pdflatex, only the middle option produces a working link as opposed to all three in the linked question. In ...
2
votes
0answers
25 views

How to turn on url boxes for links in latex?

I have several links in some document. However, I would like to highlight with boxes this links in order to do not pass unoticed. Any idea of how to do this?.
4
votes
2answers
109 views

How can I turn off URL links within the table of contents?

I'm using the hyperref package to write an unusual document. It has clickable URL links in the section titles. Unfortunately, when clicking on the section title in the table of contents, one is not ...
4
votes
1answer
19 views

Can't get oldstyle figures in url with lualatex

The following works with xelatex: \documentclass{article} \usepackage{url} \urlstyle{same} \usepackage{fontspec} \setmainfont{Libertine Serif}[Numbers = {OldStyle, Proportional}] ...
4
votes
1answer
99 views

Breakings URLs with biblatex

I know that biblatex offers various options to tune the breaking of URLs in the bibliography, but in the following example nothing seems to work: \begin{filecontents}{\jobname.bib} ...
3
votes
1answer
20 views

Remove “URL:” from bibliography, but not the actual url

I want to include URLs in the bibliography, but I don't want the text URL: to be in the bibliography. I understand I can use note = {\url{...}} but is there a way to achieve this without modifying ...
2
votes
1answer
15 views

How do I shrink my URL font size in bibliography's or references sections?

I have a document (an article) which I am writing and it includes a references section at the end in the form of a bibliography. I am using the hyperref package and setting the bibliography manually ...
4
votes
1answer
27 views

How to avoid overfull error with url package?

Here is sample code: \documentclass[a4paper,11pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{classicthesis} \usepackage{url} \usepackage{enumitem} \begin{document} ...
2
votes
1answer
28 views

Changing \url{…} font [duplicate]

\url{...} produces a rather wide monospace font. It often does not fit into text width. If I wish to make \url{...} another font (such as maybe the same font as the text font), how to do it?
1
vote
0answers
41 views

Dollar sign in URL in Texmaker

I am trying to format a URL using the url package. My URL has a dollar sign ($) in it. This line \url{\\000.000.000.00\ Redirected$ \DBLocker} compiles correctly and the result is what I want. ...
0
votes
0answers
17 views

URL rendering incorrectly in PDF [duplicate]

So this text, in my LaTeX file In a report for the Jesuit Centre for Faith and Justice earlier this year ...
2
votes
2answers
37 views

ConTeXt: How to style interactive elements individually rather than globally

I want two have two links, one bold and one normal. As a MWE: \setupinteraction[state=start,style=normal] \starttext {\bf\goto{Link 1}[url(http://www.example.com)]} \goto{Link ...
0
votes
1answer
41 views

Footnote in input file - missing number treated as zero

Let's say I have a document Foo.tex: \documentclass[a4paper,11pt,titlepage]{article} %... %%Packages \usepackage[utf8]{inputenc} \usepackage[usenames,dvipsnames]{xcolor} \usepackage{hyperref} ...
3
votes
1answer
38 views

How to fill horizontal space properly in underfull multilined url (in footnote)?

Footnote code: \footnote{\url{http://blog.draw.io/creating-custom-stylizable-shapes-with-specific-connection-points} (besucht am 16.06.2015)}. The footnote produces a multiline output (2 lines) due ...
4
votes
1answer
78 views

natbib + BibTeX: suppress url if doi is available

I am using natbib (+ BibTeX). Some entries in my bibliography file (.bib) have the field doi, some have url and some have both. I would like to edit the bibliography style file (.bst) so that, if doi ...
1
vote
0answers
28 views

Linebreak of URL in bib in own bibstyle

I have to use my own bibstyle for my thesis, but I have some trouble with longer URLs, which do not break correctly at the end of a line. Here's my MWE: \documentclass{scrreprt} \usepackage[ ...
4
votes
1answer
41 views

Minimize effort separate pdf and single pdf versions; ref and url issues

I want to create LaTeX content which consists of many sections. I will either typeset all of the sections together to get one PDF or typeset each one separately. If they are typeset together, then I ...
1
vote
1answer
81 views

How to add a url access date of a website in BiblaTex using Jabref reference Manager?

I want to add a url access date of the website I accessed to my bibliography but only at the end (after the url). The MWE is as follows \documentclass[a4paper,12pt,numbers=noenddot]{scrartcl} ...
1
vote
0answers
19 views

Underline Hyperlinks Omitting the Descenders

I want to underline links (\url and \vref, \href, ...) omitting descenders in the manner shown in this answer while still supporting wrapping of long URIs (via \UrlBreaks or otherwise). Ideally, I can ...
3
votes
2answers
82 views

URL not getting published in bibliography

\documentclass[a4paper,12pt,numbers=noenddot]{scrartcl} \usepackage[style=numeric, natbib=true, maxitems=1, backend=biber]{biblatex} \usepackage[breaklinks=true, linktocpage=true, ...
7
votes
1answer
124 views

How to make the `url` package respect fontspec font options (stylisticset) with LuaLaTeX

I use the inconsolata zi4 font as the monospace font in my document but use the curved l as well as the straight quote thought the stylisticset option in fontspec. however, when using the url package ...
0
votes
2answers
29 views

Making url package customized break settings apply only to specific urls

I have an huge url consisting mostly of letters. I found Marco's answer to a url breaking question, and using \g@addto@macro{\UrlBreaks}{\UrlOrds} and \g@addto@macro{\UrlBreaks}{% ...
1
vote
1answer
46 views

Insert Special Symbols in \url

I have the following URL http://www.wolframalpha.com/input/?i=density+destilled+water+23°C Trying to insert this as a \footnote with \url I got an error. The same with \footnote{\url{http:// ...
0
votes
2answers
46 views

Define bibstyle output hierarchy for doi, url, isbn and issn in BiBTeX

I want to make a hierarchy for printing doi, url, isbn and issn in BiBTeX. Something like this (here "real" means that the bib-field is availably/valid): if "doi" real print doi else if "url" ...
0
votes
0answers
27 views

How to make url have same style as reference?

I use the APA citation to cite the references in the bib file. To show the url in the apa in the reference section, I use \usepackage{apacite} \usepackage{html} \usepackage{url} But when I check ...
1
vote
1answer
43 views

Selective breaking of biblatex urls?

Based on Avoiding inelegant splits on URLs, I have this MWE: \documentclass{article} \usepackage[backend=biber]{biblatex} \usepackage{filecontents} \usepackage{trace} \usepackage{hyperref} ...
1
vote
1answer
46 views

References linked to website by click

I am new to LaTeX and I have the problem about linking the references to the available papers in the internet. I have loaded these packages \usepackage[bibstyle=authoryear-ibid,citestyle=authoryear, ...
1
vote
1answer
52 views

tex4ht: configure href to open in new tab

I'm working with tex4ht (htlatex) and I'm trying to put links into the page it generates. I'm trying to find a way to make it so that when I place a link in the page the link is generated to have the ...
1
vote
0answers
67 views

Use \url with pipe argument delimiter - in hyperref?

Basically, I have a bibtex field like this, where bibtex concatenation with # is used with a bibtex string variable: @String {mylink = "http://tex.stackexchange.com"} ... note = "At link " # mylink, ...
1
vote
0answers
29 views

URL in Footnote [duplicate]

I have a problem with long URLs in a Footnote Here is an example: \documentclass{scrreprt} \usepackage[utf8]{inputenc} \usepackage{url} \begin{document} Lorem Ipsum\footnote{Vgl. ...
0
votes
1answer
24 views

Keep URLs using plainnat but also sort citations by appearance

I wish to have URLS in my citations; however, using Plainnat, the citations get sorted alphabetically while I want them to sort in order of appearance. I thought of switching to unsrtnat but the issue ...
0
votes
0answers
45 views

Configure link color in url package

This question discusses configuring link color in Lyx, however the accepted answer (or the question) doesn't address or solve my problem. If I use this setting, as suggested: % Enable links ...
3
votes
1answer
95 views

URL with dotted/customized underline AND line breaking

How can I get a dotted URL underline with line breaking? I found this solution: Having all links underlined with dotted line but this TIKZ one does not work with line breaking. I also tried a ...
3
votes
1answer
41 views

Biblatex macros for url printing

I'd like to change the "URL:", which appears when quoting an online document, by the urlfrom string corresponding to the language I use. The options I use for biblatex are: ...
2
votes
1answer
118 views

How to put a url citation on the bottom of beamer slide?

I need to insert a citation at the bottom of the slide. However, the website address includes underline. Therefore, it treats the underline as subscript. How can I work this out? ...
1
vote
1answer
52 views

LaTeX/BibTeX do not like a certain URL

I have a Bibtex entry that contains a URL that latex does not like: http://www-nlpir.nist.gov/projects/duc/duc2007/assessor.update_summarization.instructions.pdf I get this error: Missing $ ...
4
votes
1answer
66 views

Passing escaped special characters for use as a URL through macros

From an earlier question on Escaping special characters for use as a URL, using \string to escape the special URL characters in the second example works great: \DefineMyFormatLinkParameters{% ...
4
votes
1answer
117 views

Escaping special characters for use as a URL

If a url contain special characters (~ and #) using it as \href{http://people.brunel.ac.uk/~mastmmg/ssguide/set_work.html#4_32}{people.brunel.ac.uk} works just fine. But, I would like to have macro ...
0
votes
0answers
36 views

How can I have URLs wrapped in angle brackets in bibliographies

How can I create a BibTeX entry for a URL that generates, e.g., some author, 2015, URL:<http://foo.com> My problem is that using "Misc" or "Other" do not generate the angle brackets (around ...
2
votes
1answer
71 views

Break URL in figure caption [duplicate]

I'm trying to break a url that is part of the figure's caption. I used \burl but didn't work. What can I do? This is my main code: \documentclass[11 pt, letterpaper, oneside, openright]{book} ...
1
vote
1answer
149 views

Seeking bibliography style similar to abbrv which supports URLs

Which \bibliographystyle can I use which will produce output similar to abbrv but recognize newer fields such as editor in an @ONLINE entry and url in any type of entry? I am making use the url ...
0
votes
1answer
106 views

Forcing linebreaks in \url does not work with biblatex and menukeys

This question is related to “Forcing linebreaks in \url”. One of its answer is to pass the hyphens option to the url package: \PassOptionsToPackage{hyphens}{url} \usepackage{hyperref} As I have my ...
0
votes
0answers
51 views

My URL underlining is ugly

I'm trying to put some underlined hyperlinks in my CV. And I can put them and they look nice: But there's this one word that I need to use and that looks ugly: And when I use this word it makes ...
3
votes
1answer
173 views

How to label url in latex?

I am trying to include an url with a label so something like that: GOOGLE I am writing this \hypperef[mylabel]{myurl} or this \url[mylabel]{myurl} and compiler gives me an error what am I doing ...
0
votes
1answer
36 views

URL ist to long change /href sytle

my url's are to long. I want to trim them. I used /url{long url}. I found the /href{long url}{Description}, but the href looks different (no monospace font). How can i adapt the /url style to the ...
1
vote
1answer
37 views

Showing url on footnote

Sometimes, I want to display all \href content on my document, so I defined: \ifdefined\isprintable \usepackage{manyfoot} \DeclareNewFootnote{URL}[roman] ...
0
votes
2answers
98 views

Making a list of websites

How do you add a website without giving an error? \begin{align*} 1 &=\text{Google http://www.google.com}\\ 2 &= \text{MSN http://www.bing.com}\\ \end{align*}
2
votes
1answer
90 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} ...
4
votes
1answer
87 views

Hack of .bst to add urldate in @misc in BibTex with natbib

Trying to add urldate to my bst-file. I have the entry as: ENTRY { address ... url urldate ... year } With the two functions defining url and urldate: FUNCTION ...
0
votes
0answers
40 views

Underfull \hbox in the bibliography (badness 1824) in lines 114--114

I'm using Sharelatex and got the overfull \hbox command referring to my bibliography. The line referred to is: "\bibstyle{numeric}" \sloppy \nocite{*} \printbibliography \bibstyle{numeric} ...