{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

3
votes
1answer
111 views

Bibliography: cleanest way (no bib encoding!) to add URLs and their related info?

I use LaTeX for writing my thesis and I'm trying to come up with a clean and elegant bibliography format for web page references. I've been searching and trying different things for hours, but none ...
1
vote
1answer
20 views

White spaces in URL

I am having a white space in URL. I am using BibTeX for references. In the beginning, I had two URLs (number 3 and 5, see image below) with white spaces. After searching, I came across the suggestion ...
1
vote
1answer
56 views

URL of web page in bibliography not output

First time trying to write my thesis in Lyx which has been great up until this point, and getting rather close to submission time I have noticed that webpage references are not outputting with the URL ...
5
votes
0answers
687 views

Changing/disabling the mouse over/hover text of a hyperlink

I am using hyperref package to create links in my tex file. To define a link, I do \href{https://www.google.com}{google} When mouse is over the text, the destination, https://www.google.com in this ...
4
votes
0answers
189 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 ...
4
votes
0answers
129 views

Make hyperlinks clickable in a DVI converted to PDF

I have a legacy system that "generates" documentation for one of our systems. The resulting DVI file is then converted to PDF using dvipdfm. The DVI contains URLs, but those aren't clickable in the ...
3
votes
0answers
42 views

\DeclareUrlCommand with optional second argument

Creating a hyperlinked DOI is possible: \documentclass{article} \usepackage{hyperref} \DeclareUrlCommand\adoi{\def\UrlLeft##1\UrlRight{\href{http://dx.doi.org/##1}{DOI:##1}}}% \begin{document} ...
3
votes
0answers
137 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, ...
3
votes
0answers
137 views

Using UTF8 inside \path from the url package

Whereas there are certain rules for how a URL is to be formed (where non ascii letters are not really allowed). How about \path? I happend to try \path{æøå}, saved in latin1 this gives the expected ...
3
votes
0answers
60 views

Space is sometimes gobbled with microtype and url

I experimented with condensing URLs slightly and thought everything worked fine, until I noted a problem in the final proofreading. The first "this" in the following minimal example seems to have no ...
2
votes
0answers
38 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?.
2
votes
0answers
166 views

\url command worked fine before using \urldef

Is there any way that \urldef can be overwritten by \url? A link with a % sign or ~ sign used to work just fine with \url before I used \urldef. After \urldef, my % signs in the cited link serves as a ...
1
vote
0answers
21 views

Citing a URL in MNRAS style (mn2e)

I am using natbib with the mn2e bibliography style (for papers submitted to MNRAS astronomical journal). They provide a Latex template and style guide but in their style guide it specifies that ...
1
vote
0answers
120 views

Apacite: Supress URL % DOI except for Web Pages

I am using apacite with natbib and have all my literature in Mendeley. I just found how to supress the URL in the bibliography when DOI is present (Linebreak in url). However, I`d like to supress ...
1
vote
0answers
65 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 ...
1
vote
0answers
136 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. ...
1
vote
0answers
33 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 ...
1
vote
0answers
185 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 ...
1
vote
0answers
125 views

How to put URL in bibtex bibliography

I'm having trouble to correctly finish my bibliography. In the website's region, I cannot place the url correctly. Can anyone help me out? I've search some questions, but I wasn't able to get the ...
1
vote
0answers
72 views

Fix URL overfull

when I break the URL in the bbl file I had to do more than one step and it takes time, but I would like to know a way or a usepackage to break the URL automatically
1
vote
0answers
529 views

Bibtex webpage citations, including journal and title?

I'm working on a LaTeX bibliography using natbib and apa-good.bst that includes a number of web sources, including both websites and newspaper articles published online. Based on other responses on ...
0
votes
0answers
26 views

Change font background color in custom url command

I want to change the background color of a custom url command. I did not find how to. For now I use : \DeclareUrlCommand\myCustomUrl{\def\UrlFont{\ttfamily\color{green}}} But this only change the ...
0
votes
0answers
19 views

Wrong URL characters in Dissertate template?

When I try to add a link in a chapter of the Dissertate template (https://github.com/suchow/Dissertate), the displayed characters in the URL are wrong in the resulting pdf. Wherever I try to make a ...
0
votes
0answers
25 views

How to make a two lines URL clickable

I am using url package, and I have a two lines URL like: \url{this_is_my.com/ website} I generated PDF file, and when I click to the URL, it will lead to this_is_my.com, but not ...
0
votes
0answers
66 views

Percent sign in URL without hyperref

Suppose you want to create a URL that has embedded % signs. One option is to just use \%, but you don't get the benefit of nice line breaks. Another option is to use the hyperref package and its ...
0
votes
0answers
96 views

Can not compile my latex file with \urldef

I have the following line in my latex file: \documentclass[runningheads,a4paper]{llncs} \usepackage{amssymb} \setcounter{tocdepth}{3} \usepackage{graphicx} \usepackage{amsmath} \usepackage{url} ...
0
votes
0answers
47 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 ...
0
votes
0answers
341 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 ...
0
votes
0answers
81 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 ...
0
votes
0answers
190 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} ...
0
votes
0answers
116 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} ...
0
votes
0answers
54 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
486 views

How to include urldate on bibliography withou using the “note” option?

I'm using the natbib package and the plainnat style. Also I'm using the url package. \usepackage[authoryear,round]{natbib} \usepackage{url} \bibliographystyle{plainnat} My problem is the ...
0
votes
0answers
2k views

How can I use natbib and make my reference list resemble apalike?

My question is related to here and here, but I could not yet find a satisfying answer. I will use the same example from this post. I like the apalike reference style but I have trouble with breaking ...