{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
1answer
12 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
16 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
17 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
35 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
28 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
10 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
20 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
42 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 ...
2
votes
1answer
34 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
49 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
39 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
32 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
88 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
27 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
50 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
43 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
57 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
43 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
82 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
28 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
26 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
76 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*}
1
vote
1answer
40 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
48 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
18 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} ...
1
vote
0answers
39 views

Url in reference clickable but with link truncated [duplicate]

I have a problem with a references using BibTeX and IEEEbib. In my bibliography file (in the subfolder bib) there is this a reference with howpublished that produce this output: ...
1
vote
1answer
32 views

url in hyperref with local destination? [closed]

Using the hyperrefpackage in the xelatexenvironment, the external url="..." generated lead to a local address. With doi="..." it's not a problem at all. Any ideas how to solve this? ...
0
votes
1answer
22 views

What BibTeX style generates inline refs like [1] AND displays URL in the references list?

All the styles I tested either: Display [Author (Year)] inline, and with URL in the ref list; or Display [1] inline, but no URL in the ref list. Is there a style that displayes [1] inline AND ...
1
vote
0answers
53 views

Problem with URLs in bibtex file when using new Thesis class/template [closed]

I am using a thesis template for my thesis write up using Lyx interface. For my bibliography, I use JabRef manager to produce .bib file. It works fine except for the entries which have URL values, ...
0
votes
0answers
30 views

how to reduce a gap between words in a title of bibliography and a dot over the bibliography numbering

I am writing a scientific paper using IEEE journal Latex template \documentclass{IEEEtran} \usepackage{comment} \usepackage{color} \usepackage{float} \usepackage{graphicx} \usepackage{ulem} ...
3
votes
1answer
69 views

Line-breaking unformatted URLs that contain no hyphens

Minimal example: \documentclass{article} \begin{document} https://path.to.really.long/url/that/contains/no/dashes/but/instead/a/whole/lot/of/forward/slashes/which/makes/it/exceed/the/page/width ...
1
vote
1answer
28 views

What is the keyboard shortcut for inserting URLs in LyX?

I've looked through the keyboard shortcut documentation, and none of it shows an easy way to create a URL inset in LyX. I know that one can theoretically add a function in preferences, but every time ...
4
votes
1answer
58 views

Unwanted behavior of Chinese punctuation mark getting incorporated into the URL right before it

Minimal working example: % !TeX program = XeLaTeX \documentclass[12pt]{article} \usepackage{xeCJK} \setCJKmainfont{標楷體} \begin{document} 網址:http://www.google.com/。 \end{document} When I open the ...
2
votes
1answer
113 views

No bibtex style file for clickable links without displaying the url explicitly?

Having the same problem as bibtex - how to have a web link without the url (ideally to have a link on the number), I am wondering: Is there really no freely accessible bibtex style (so as I do not ...
0
votes
0answers
77 views

URL hyphenation

I need to hyphenate an URL —I'm the using \url{ } command)—. I've found that one solution is to add the hyphen option to the url package. I've added it but the compilation doesn't work. I get the ...
4
votes
1answer
50 views

Links is it possible to show alternate text when the pdf is printed?

I want to have an electronic pdf version that says: See the game Guillotine (video). But in the printed version it should just say: See the game Guillotine. Is this type of behavior ...
2
votes
1answer
68 views

Special character in \url

I am stuck with a problem of a url to some website I try to put a link to. The URL is: http://pl.wikipedia.org/wiki/Prawo_Lewisa-Mogridge’a and Latex have an issue with the ’ symbol. I put it the ...
0
votes
0answers
56 views

Bibtex entry without author starts with : when using lncs bibliography style

I have a reference without an author: @misc{abcd, title = {{The abcd Project}}, howpublished = "\url{http://abcd.org/}", note = "[Online; accessed 21-January-2015]" } In lncs format, the ...
2
votes
2answers
67 views

How to show URLs in a bibliography as (hyperlinked) stubs?

\label{References} \renewcommand{\bibname}{References} \lhead{\emph{References}} \bibliographystyle{abbrvnat} \bibliography{Bibliography} I want to have all urls in my references list to be ...
0
votes
0answers
37 views

Break a URL before dots for BibLaTeX entries

I'm using BibLaTeX to generate the bibliography. Some of the entries contain very long URLs that need to be broken into two or more lines. The output I'm receiving is something like "Amazing ...
0
votes
0answers
21 views

Long url is not wrapped [duplicate]

In my report I have a long url in my bibliography section. it is not formatted as the other references. I followed this and this articles for that. But I cannot solve my issue. I am using LyX This is ...
2
votes
1answer
87 views

How do I ensure that linebreaks in URLs occur at the right position? [closed]

I am writing my survey report using LyX. In my bibliography section, there is unusual behavior in my pdf. One reference breaks the margin. This is the issue You can see that one line is out of ...
4
votes
1answer
58 views

Is it possible to redefine \url in such a way that it works without or with http

This question is related to the question How to avoid the "http:" part in hyperref's \url? and the solutions http://tex.stackexchange.com/a/139934/39306 and ...
0
votes
0answers
28 views

XeLaTeX and MiKTeX url package problems [duplicate]

I have experienced this problem every single time I have tried to compile using XeLaTeX with MiKTeX 2.9 on my windows 7 64-bit machine. I haven't been able to find a solution to my problem anywhere so ...
0
votes
1answer
60 views

suppressing URLs in footnotes but not bibliography

I am using Biber and the verbose IBID style setting to generate my footnotes. Here is my bibliography settings \usepackage[citestyle=verbose-ibid, bibstyle=authoryear, backend=biber, ...
1
vote
1answer
120 views

LyX, classicthesis, Mendeley: Citing a web page

I use Mendeley to organize my Literature and to build the .bib file. I also use LyX and the classicthesis template to write my Master's Thesis. Now I want to reference a web page. Using apalike as ...
4
votes
0answers
52 views

How to produce bibliography hyperlinking journal title with url?

BibTeX exported from scientific journals usually have all the informations you need to cite them; one of them is the url. For saving space i would prefer to hyperlink the name of the journal rather ...
1
vote
1answer
98 views

Dollar sign (\$) dysfunctional in hyperref's \url{}

When escaping the dollar sign inside a \url{} command, as shown in my MWE, the following is displayed. (Below is what I am expecting). \documentclass[a4paper]{article} \usepackage[T1]{fontenc} ...
1
vote
0answers
99 views

Spaces are not formatted correctly in url paths when using sphinx package and reStructuredText

I have a problem similar to the one in: Obey spaces with URL package (path command). The obeyspaces option is not working within the pgfplots table column. However, my problem is slightly different ...
6
votes
1answer
81 views

Why hyperref's \url may be used in preamble within a macro but not within a box?

The following MWE, where a macro involving hyperref's \url is defined in the preamble, works like a charm: \documentclass{article} \usepackage{hyperref} % ...